openstack api has problem to work with certain project
Bug #790481 reported by
Max Lvov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Wishlist
|
Max Lvov |
Bug Description
If user is admin or just has several project in database and uses openstack api, there is no way to use certain project you want, because project id coded like that:
accounts = self.auth.
...
account = accounts[0]
UPD:
Changed related branch.
I leave support for old style working without project id header, bun I'm not sure it will be needed.
Related branches
lp:~mirantis/nova/api-project-id
- Devin Carlen (community): Approve
- Rick Harris (community): Needs Fixing
- Brian Lamar (community): Approve
- Ed Leafe (community): Approve
-
Diff: 142 lines (+81/-7)4 files modifiednova/api/openstack/auth.py (+10/-7)
nova/auth/novarc.template (+1/-0)
nova/tests/api/openstack/fakes.py (+5/-0)
nova/tests/api/openstack/test_auth.py (+65/-0)
description: | updated |
Changed in nova: | |
assignee: | nobody → Max Lvov (usrleon) |
importance: | Undecided → Wishlist |
status: | New → In Progress |
description: | updated |
Changed in nova: | |
status: | In Progress → Fix Released |
status: | Fix Released → In Progress |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → diablo-2 |
Changed in nova: | |
milestone: | diablo-2 → 2011.3 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.