nova-manage project zipfile throws AttributeError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Vish Ishaya |
Bug Description
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.
File "/home/
rc = self.__
AttributeError: 'NoneType' object has no attribute 'access'
auth/manager.py excepts:
def get_credentials
but bin/nova-manage calls get_credentials with wrong parameter order (swapped project_id and user_id):
zip_file = self.manager.
Related branches
- Jesse Andrews (community): Approve
- Devin Carlen (community): Approve
-
Diff: 11 lines (+1/-1)1 file modifiedbin/nova-manage (+1/-1)
Changed in nova: | |
status: | New → Fix Committed |
Changed in nova: | |
status: | Fix Committed → Fix Released |
see the attached patch.