Bug 1434929
Summary: | Cinder and Glance API versions | |||
---|---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Rajini Karthik <rajini.karthik> | |
Component: | openstack-tripleo-common | Assignee: | Alan Bishop <abishop> | |
Status: | CLOSED ERRATA | QA Contact: | Tzach Shefi <tshefi> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 10.0 (Newton) | CC: | abishop, arkady_kanevsky, aschultz, athomas, augol, cdevine, christopher_dearborn, cschwede, dbecker, dcain, eharney, John_walsh, kurt_hey, mabrams, mariel, mburns, morazi, pgrist, rajini.karthik, randy_perryman, rhel-osp-director-maint, sclewis, slinaber, smerrow, sreichar, srevivo, tshefi | |
Target Milestone: | Upstream M2 | Keywords: | Triaged | |
Target Release: | 12.0 (Pike) | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | openstack-tripleo-common-7.1.1-0.20170616124957.93d87e0.el7ost | Doc Type: | Enhancement | |
Doc Text: |
Previously, the OS_IMAGE_API_VERSION and the OS_VOLUME_API_VERSION environment variables were not set, which forced Glance and Cinder to fall back to the default API versions. For Cinder, this was the older v2 API.
With this update, the overcloudrc file now sets the environment variables to specify the API versions for Glance and Cinder.
|
Story Points: | --- | |
Clone Of: | 1434923 | |||
: | 1434931 (view as bug list) | Environment: | ||
Last Closed: | 2017-12-13 21:20:39 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: | 1425533, 1434923 | |||
Bug Blocks: | 1335596, 1356451, 1426284, 1434928, 1434931 |
Description
Rajini Karthik
2017-03-22 15:52:11 UTC
I want to clarify that we're talking about the API used by the CLI (both the cinder and osc versions). The cinder v3 endpoint was added in OSP-10 (see bug #1351271), but I confirmed both CLIs still default to v2. BTW, osc client support for cinder v3 was just added in Pike. Rajini, please confirm it's just the CLI versions that need to be bumped to v3. It seems upstream support for cinder v3 in python-openstackclient (osc) is only a stub, and content is just being added [1]. I think the best we can hope for in the short term is to get python-cinderclient bumped to v3. [1] https://review.openstack.org/#/c/421585/ 1. We should also authenticate using identity server API V3 This requires the overcloudrc to be changed Since Block Storage API V2 is officially deprecated, we should to set OS_VOLUME_API_VERSION=3. Also set the OS_AUTH_URL to the keystone endpoint: export OS_AUTH_URL=http://controller:5000/v3 export OS_VOLUME_API_VERSION=3 2.If a user makes a request without specifying a version, they will get the DEFAULT_API_VERSION as defined in cinder/api/openstack/api_version_request.py. Althought I'm not sure if this needs to be updated 3. Cinder V3 endpoint should be created in keystone openstack endpoint show cinderv3 Patch has been merged upstream, will update the BZ status once it's include in a build. Clearing needsinfo (info provided in comment #11). 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://access.redhat.com/errata/RHEA-2017:3462 |