registry team mailing list archive
-
registry team
-
Mailing list archive
-
Message #10955
[Bug 616312] [NEW] nova-manage project zipfile throws AttributeError
Public bug reported:
Exporting credential with nova-manage project zipfile <project-id>
<user-id> throws an AttributeError.
Traceback (most recent call last):
File "bin/nova-manage", line 290, in <module>
main()
File "bin/nova-manage", line 282, in main
fn(*argv)
File "bin/nova-manage", line 210, in zipfile
zip_file = self.manager.get_credentials(project_id, user_id)
File "/home/martin/openstack/nova/nova/auth/manager.py", line 691, in get_credentials
rc = self.__generate_rc(user.access, user.secret, pid)
AttributeError: 'NoneType' object has no attribute 'access'
auth/manager.py excepts:
def get_credentials(self, user, project=None):
but bin/nova-manage calls get_credentials with wrong parameter order (swapped project_id and user_id):
zip_file = self.manager.get_credentials(project_id, user_id)
** Affects: nova
Importance: Undecided
Status: New
--
nova-manage project zipfile throws AttributeError
https://bugs.launchpad.net/bugs/616312
You received this bug notification because you are a member of Registry
Administrators, which is subscribed to OpenStack.
Follow ups
References