[Pulp-list] InvalidType: Invalid manager type requested [user-manager]

Pradeep Kilambi pkilambi at redhat.com
Thu Jul 5 14:43:58 UTC 2012


On 07/05/2012 10:36 AM, John Matthews wrote:
> Master appears broken, can't run "pulp-admin login"
> Any ideas on the fix?
>
> Server side:
> [Thu Jul 05 10:08:55 2012] [error] mod_wsgi (pid=14875): Exception occurred processing WSGI script '/srv/pulp/webservices.wsgi'.
> [Thu Jul 05 10:08:55 2012] [error] Traceback (most recent call last):
> [Thu Jul 05 10:08:55 2012] [error]   File "/srv/pulp/webservices.wsgi", line 16, in<module>
> [Thu Jul 05 10:08:55 2012] [error]     from pulp.server.webservices.application import wsgi_application
> [Thu Jul 05 10:08:55 2012] [error]   File "/git/pulp/platform/src/pulp/server/webservices/application.py", line 46, in<module>
> [Thu Jul 05 10:08:55 2012] [error]     from pulp.server.auth.admin import ensure_admin
> [Thu Jul 05 10:08:55 2012] [error]   File "/git/pulp/platform/src/pulp/server/auth/admin.py", line 15, in<module>
> [Thu Jul 05 10:08:55 2012] [error]     from pulp.server.auth import authorization
> [Thu Jul 05 10:08:55 2012] [error]   File "/git/pulp/platform/src/pulp/server/auth/authorization.py", line 30, in<module>
> [Thu Jul 05 10:08:55 2012] [error]     _user_manager = managers.user_manager()
> [Thu Jul 05 10:08:55 2012] [error]   File "/git/pulp/platform/src/pulp/server/managers/factory.py", line 228, in user_manager
> [Thu Jul 05 10:08:55 2012] [error]     return get_manager(TYPE_USER)
> [Thu Jul 05 10:08:55 2012] [error]   File "/git/pulp/platform/src/pulp/server/managers/factory.py", line 314, in get_manager
> [Thu Jul 05 10:08:55 2012] [error]     raise InvalidType(type_key)
> [Thu Jul 05 10:08:55 2012] [error] InvalidType: Invalid manager type requested [user-manager]
>
>
>
> Additionally, seeing this from client:
>    File "/git/pulp/platform/src/pulp/bindings/server.py", line 127, in _handle_exceptions
>      raise exceptions.PulpServerException(response_body)
>    File "/git/pulp/platform/src/pulp/bindings/exceptions.py", line 28, in __init__
>      self.href = response_body.pop('_href', None)
> AttributeError: 'str' object has no attribute 'pop'

The issue seems to be due to this commit  
27c54dd791589e2345c4f23f177c226e59b0e655

If i checkout previous commit, i'm able to login. For now we could just

$ git co  5ff9c937240b0a00178ed9738a1b54aa4cca9c32

as a workaround.

~ Prad


>
> _______________________________________________
> Pulp-list mailing list
> Pulp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-list




More information about the Pulp-list mailing list