Bug 1351271
| Summary: | RFE: Cinder: v3 api option default | |||
|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Rajini Karthik <rajini.karthik> | |
| Component: | openstack-tripleo-heat-templates | Assignee: | Jiri Stransky <jstransk> | |
| Status: | CLOSED ERRATA | QA Contact: | lkuchlan <lkuchlan> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 9.0 (Mitaka) | CC: | arkady_kanevsky, athomas, cdevine, christopher_dearborn, dbecker, dmacpher, egafford, eharney, jason.dobies, John_walsh, josorior, jschluet, kurt_hey, mburns, morazi, nlevinki, pgrist, rajini.karthik, randy_perryman, rhel-osp-director-maint, scohen, sreichar, tvignaud | |
| Target Milestone: | rc | Keywords: | FutureFeature, Triaged | |
| Target Release: | 10.0 (Newton) | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | openstack-tripleo-heat-templates-5.0.0-0.20160907212643.90c852e.1.el7ost | Doc Type: | Enhancement | |
| Doc Text: |
The Red Hat OpenStack Platform director creates OpenStack Block Storage (cinder) v3 API endpoint in OpenStack Identity (keystone) to support the newer Cinder API version.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1351275 (view as bug list) | Environment: | ||
| Last Closed: | 2016-12-14 15:41:20 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1305654, 1351275, 1358512, 1358513, 1358520 | |||
|
Description
Rajini Karthik
2016-06-29 15:00:47 UTC
Hi Rajini, Is there any dependencies for v3 API in JS6.0? Sean That is the recommended API now (although the base v3 is exactly the same as v2 if you’re not using microversions), but there is no impact on our drivers. Its really optional That is the recommended API now (although the base v3 is exactly the same as v2 if you’re not using microversions), but there is no impact on our drivers. Its really optional Eric - can you confirm v3 is the default for OSP-10? once we confirm v3 is already the default for OSP10, I think we can close this one out. Rajini - I would like remove the JS6 dependency. Is there any other reason this bug was marked as a blocker for the others 3 in addition to the JS6 tracker? (In reply to Paul Grist from comment #5) > Eric - can you confirm v3 is the default for OSP-10? once we confirm v3 is > already the default for OSP10, I think we can close this one out. Yes, Cinder ships with v3 enabled for OSP10. Director will need to create an endpoint for it. Hi Juan, Your merged patch at https://github.com/openstack/tripleo-heat-templates/commit/1e7bab9653afe37c1e87242c227b45530d013814 appears to address this issue. Can you verify that this patch successfully creates the endpoints for Cinder's v3 API in Keystone? Thanks for your work! - Elise that patch only partly addresses the issue. However, the issue should be addressed by this commit which has merged already https://github.com/openstack/tripleo-heat-templates/commit/f34c6a601317b7783885eed6ce16927d7e9337d8 this enabled the creation of the keystone endpoints via puppet, and thus will create the cinder_v3 endpoint with the info provided by the commit you mentioned Per josorior, this bug is addressed in the current build of TripleO. Marking as MODIFIED in the current build. Hi Eric, Is api v3 should already be as the default option? As you can see from api.log the default is still v2 From cinder/api.log: 2016-10-26 16:20:18.501 31610 INFO eventlet.wsgi.server [req-20f185dc-31a9-455f-86f7-1999f22c7c4c 47360029279740eebb60219fab042b52 2783390679524d3d97a70e10c8f7656b - default default] 172.17.1.18 "GET /v2/2783390679524d3d97a70e10c8f7656b/volumes/detail HTTP/1.1" status: 200 len: 253 time: 0.7082100 (In reply to lkuchlan from comment #13) > Is api v3 should already be as the default option? > As you can see from api.log the default is still v2 > > From cinder/api.log: > 2016-10-26 16:20:18.501 31610 INFO eventlet.wsgi.server > [req-20f185dc-31a9-455f-86f7-1999f22c7c4c 47360029279740eebb60219fab042b52 > 2783390679524d3d97a70e10c8f7656b - default default] 172.17.1.18 "GET > /v2/2783390679524d3d97a70e10c8f7656b/volumes/detail HTTP/1.1" status: 200 > len: 253 time: 0.7082100 You will have to opt in to the v3 API by adding "--os-volume-api-version 3" to the cinder CLI command. The client uses still v2 by default. Tested using: openstack-tripleo-heat-templates-5.0.0-1.2.el7ost.noarch Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2016-2948.html |