OSAPI: Tenants are not included in req URIs
Bug #829512 reported by
Alex Meade
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Titan |
Bug Description
The current 1.1 spec specifies that requests should include the tenant id in the uri. This is to allow users to choose what project to interact with. Currently this is done with use of the undocumented 'X-Auth-Project-Id' header or , if not specified, the API chooses the users first project.
for example:
This uri
http://
should be something like:
http://
Related branches
lp:~rackspace-titan/nova/tenant-id-in-uri
- Vish Ishaya (community): Approve
- Rick Harris (community): Approve
- Brian Waldon (community): Approve
-
Diff: 3425 lines (+555/-397)32 files modifiednova/api/openstack/__init__.py (+26/-3)
nova/api/openstack/auth.py (+52/-14)
nova/api/openstack/extensions.py (+12/-6)
nova/api/openstack/flavors.py (+2/-1)
nova/api/openstack/images.py (+4/-3)
nova/api/openstack/servers.py (+5/-3)
nova/api/openstack/views/flavors.py (+9/-6)
nova/api/openstack/views/images.py (+11/-5)
nova/api/openstack/views/servers.py (+5/-3)
nova/api/openstack/wsgi.py (+4/-0)
nova/tests/api/openstack/__init__.py (+15/-14)
nova/tests/api/openstack/contrib/test_floating_ips.py (+10/-10)
nova/tests/api/openstack/contrib/test_keypairs.py (+4/-4)
nova/tests/api/openstack/contrib/test_multinic_xs.py (+4/-4)
nova/tests/api/openstack/contrib/test_quotas.py (+6/-5)
nova/tests/api/openstack/contrib/test_rescue.py (+2/-2)
nova/tests/api/openstack/contrib/test_security_groups.py (+34/-35)
nova/tests/api/openstack/contrib/test_virtual_interfaces.py (+1/-1)
nova/tests/api/openstack/extensions/foxinsocks.py (+6/-4)
nova/tests/api/openstack/test_auth.py (+5/-3)
nova/tests/api/openstack/test_extensions.py (+17/-14)
nova/tests/api/openstack/test_flavors.py (+50/-38)
nova/tests/api/openstack/test_flavors_extra_specs.py (+11/-11)
nova/tests/api/openstack/test_image_metadata.py (+14/-14)
nova/tests/api/openstack/test_images.py (+53/-47)
nova/tests/api/openstack/test_server_actions.py (+31/-31)
nova/tests/api/openstack/test_server_metadata.py (+28/-28)
nova/tests/api/openstack/test_servers.py (+106/-81)
nova/tests/integrated/api/client.py (+18/-3)
nova/tests/integrated/test_login.py (+6/-0)
nova/tests/test_compute.py (+3/-3)
nova/utils.py (+1/-1)
Changed in nova: | |
assignee: | nobody → Titan (rackspace-titan) |
status: | New → In Progress |
Changed in nova: | |
milestone: | none → diablo-4 |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | diablo-4 → 2011.3 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.