Project

Profile

Help

Issue #2023

closed

Error while login in pulp-admin

Added by prakash.khadka over 8 years ago. Updated over 5 years ago.

Status:
CLOSED - NOTABUG
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
1. Low
Version:
2.8.4
Platform Release:
OS:
CentOS 7
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
June 2015
Quarter:

Description

I do not know what went wrong exactly but as far as I remember I was working with pulp and juicer. If I install pymongo 2.7.0 then juicer works but pulp-admin didnt, and if I install pymongo to latest then pulp-admin works but juicer stops working. I think I messed something up, now when I try to login as user it gives me error::

  1. pulp-admin -v login -u admin
    Enter password:
    2016-06-20 07:22:03,165 - ERROR - Client-side exception occurred
    Traceback (most recent call last):
    File "/usr/lib/python2.7/site-packages/pulp/client/extensions/core.py", line 474, in run
    exit_code = Cli.run(self, args)
    File "/usr/lib/python2.7/site-packages/okaara/cli.py", line 974, in run
    exit_code = command_or_section.execute(self.prompt, remaining_args)
    File "/usr/lib/python2.7/site-packages/pulp/client/extensions/extensions.py", line 210, in execute
    return self.method(*arg_list, **clean_kwargs)
    File "/usr/lib/python2.7/site-packages/pulp/client/admin/admin_auth.py", line 49, in login
    result = self.context.server.actions.login(username, password).response_body
    File "/usr/lib/python2.7/site-packages/pulp/bindings/actions.py", line 20, in login
    return self.server.POST (path)
    File "/usr/lib/python2.7/site-packages/pulp/bindings/server.py", line 100, in POST
    log_request_body=log_request_body, ignore_prefix=ignore_prefix)
    File "/usr/lib/python2.7/site-packages/pulp/bindings/server.py", line 166, in _request
    self._handle_exceptions(response_code, response_body)
    File "/usr/lib/python2.7/site-packages/pulp/bindings/server.py", line 207, in _handle_exceptions
    raise code_class_mappings[response_code](response_body)
    File "/usr/lib/python2.7/site-packages/pulp/bindings/exceptions.py", line 16, in init
    self.href = response_body.pop('_href', None)
    AttributeError: 'str' object has no attribute 'pop'
    An unexpected error has occurred. More information may be found using the -v
    flag.

Also available in: Atom PDF