openstack api has problem to work with certain project

Bug #790481 reported by Max Lvov
6
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.get_projects(user=user)
...
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

Max Lvov (usrleon)
description: updated
Thierry Carrez (ttx)
Changed in nova:
assignee: nobody → Max Lvov (usrleon)
importance: Undecided → Wishlist
status: New → In Progress
Max Lvov (usrleon)
description: updated
Max Lvov (usrleon)
Changed in nova:
status: In Progress → Fix Released
status: Fix Released → In Progress
Thierry Carrez (ttx)
Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → diablo-2
Thierry Carrez (ttx)
Changed in nova:
milestone: diablo-2 → 2011.3
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.