yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #48171
[Bug 1555826] Re: Functional API client has incorrect URL for volumes
Reviewed: https://review.openstack.org/291464
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=50f4f95ae42fd85d98e4a4426a7ecb1096664d6d
Submitter: Jenkins
Branch: master
commit 50f4f95ae42fd85d98e4a4426a7ecb1096664d6d
Author: Ryan Rossiter <rlrossit@xxxxxxxxxx>
Date: Thu Mar 10 22:07:09 2016 +0000
Add regression test for Cinder 403 forwarding
The Nova API should be returning a 403 whenever it gets a Forbidden from
Cinder. Nova currently only returns a 403 when it runs into a policy
exception from its own policy (which is a subclass of Forbidden). This
changes the handler over to return a 403 when any Forbidden comes in.
Also, the volume helper methods in the function API client had incorrect
URLs, so those were also fixed (/volumes --> /os-volumes)
Change-Id: If9dd002454338d07fcea0c2092c12f3961c3dcdf
Partial-Bug: #1554631
Closes-Bug: #1555826
** Changed in: nova
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1555826
Title:
Functional API client has incorrect URL for volumes
Status in OpenStack Compute (nova):
Fix Released
Bug description:
All of the volume operations in the functional api client helper
methods has 'volumes' for the URL instead of 'os-volumes'
(https://github.com/openstack/nova/blob/master/nova/tests/functional/api/client.py#L307).
[Link to API guide: http://developer.openstack.org/api-ref-
compute-v2.1.html#os-volumes].
This will cause any tests that want to use that helper method to get a
404 instead of their desired function.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1555826/+subscriptions
References