Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1504190

Summary: Cinder v1 is deprecated but still seen in the api endpoint call
Product: Red Hat OpenStack Reporter: Archit Modi <amodi>
Component: openstack-tripleo-heat-templatesAssignee: Emilien Macchi <emacchi>
Status: CLOSED DUPLICATE QA Contact: Gurenko Alex <agurenko>
Severity: low Docs Contact:
Priority: low    
Version: 13.0 (Queens)CC: aschultz, mburns, pgrist, rhel-osp-director-maint, scohen, thiago
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-07 14:33:43 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:

Description Archit Modi 2017-10-19 16:01:45 UTC
Description of problem: Cinder v1 is deprecated but still seen in the api endpoint call


Version-Release number of selected component (if applicable): v1


How reproducible: Always


Steps to Reproduce:
1. Get the cinder api versions
2. List all volumes of cinder v1

Actual results:

1. Get the cinder api versions

(overcloud) [stack@undercloud-0 ~]$ openstack endpoint list --long
+----------------------------------+-----------+--------------+----------------+----------------------------------------------+------------------------------------------+-----------------------------------------------+
| ID                               | Region    | Service Name | Service Type   | PublicURL                                    | AdminURL                                 | InternalURL                                   |
+----------------------------------+-----------+--------------+----------------+----------------------------------------------+------------------------------------------+-----------------------------------------------+
| 42ccb4bdfff74eb5aad5bed32fadd20d | regionOne | heat-cfn     | cloudformation | http://10.0.0.105:8000/v1                    | http://172.17.1.10:8000/v1               | http://172.17.1.10:8000/v1                    |
| 7e8ba1afa8f04fc7b1e2f003325baa08 | regionOne | panko        | event          | http://10.0.0.105:8977                       | http://172.17.1.10:8977                  | http://172.17.1.10:8977                       |
| 42e4d316a3e84c6584a38e30616f7429 | regionOne | cinderv2     | volumev2       | http://10.0.0.105:8776/v2/%(tenant_id)s      | http://172.17.1.10:8776/v2/%(tenant_id)s | http://172.17.1.10:8776/v2/%(tenant_id)s      |
| 71cf1442493b4557aef59970fb2f3022 | regionOne | cinderv3     | volumev3       | http://10.0.0.105:8776/v3/%(tenant_id)s      | http://172.17.1.10:8776/v3/%(tenant_id)s | http://172.17.1.10:8776/v3/%(tenant_id)s      |
| 9edd2866274a4504a847585a0533790c | regionOne | aodh         | alarming       | http://10.0.0.105:8042                       | http://172.17.1.10:8042                  | http://172.17.1.10:8042                       |
| e60b0128198a4affbd6f64d8e52dbf53 | regionOne | cinder       | volume         | http://10.0.0.105:8776/v1/%(tenant_id)s      | http://172.17.1.10:8776/v1/%(tenant_id)s | http://172.17.1.10:8776/v1/%(tenant_id)s      |
| ae4974dc3fef42d18159c95947b25986 | regionOne | heat         | orchestration  | http://10.0.0.105:8004/v1/%(tenant_id)s      | http://172.17.1.10:8004/v1/%(tenant_id)s | http://172.17.1.10:8004/v1/%(tenant_id)s      |
| c5dce0b49eb2407aa63b3497c3aacb07 | regionOne | glance       | image          | http://10.0.0.105:9292                       | http://172.17.1.10:9292                  | http://172.17.1.10:9292                       |
| cbb8b3b7062c44268157a84a8f36e050 | regionOne | gnocchi      | metric         | http://10.0.0.105:8041                       | http://172.17.1.10:8041                  | http://172.17.1.10:8041                       |
| ee7801546a8d4074b70d6206ccd625b7 | regionOne | nova         | compute        | http://10.0.0.105:8774/v2.1                  | http://172.17.1.10:8774/v2.1             | http://172.17.1.10:8774/v2.1                  |
| 32429d9f49ef4c40b7cc784be0336fa2 | regionOne | neutron      | network        | http://10.0.0.105:9696                       | http://172.17.1.10:9696                  | http://172.17.1.10:9696                       |
| 5c1d8d235dfd497581c8203ed848a985 | regionOne | swift        | object-store   | http://10.0.0.105:8080/v1/AUTH_%(tenant_id)s | http://172.17.3.12:8080                  | http://172.17.3.12:8080/v1/AUTH_%(tenant_id)s |
| f7655105daec449d9964a9199471b072 | regionOne | keystone     | identity       | http://10.0.0.105:5000                       | http://192.168.24.12:35357               | http://172.17.1.10:5000                       |
| 6eaee91d9e874b35b538a04dfcfac5fe | regionOne | placement    | placement      | http://10.0.0.105:8778/placement             | http://172.17.1.10:8778/placement        | http://172.17.1.10:8778/placement             |
+----------------------------------+-----------+--------------+----------------+----------------------------------------------+------------------------------------------+-----------------------------------------------+

2. List all volumes of cinder v1

(overcloud) [stack@undercloud-0 ~]$ cinder --os-volume-api-version 1 list
WARNING:cinderclient.api_versions:Version 1 is deprecated, use alternative version 2 instead.
ERROR: The resource could not be found.<br /><br />


 (HTTP 404)



Expected results: Cinder should only show v2/v3 versions


Additional info:

Comment 1 Alex Schultz 2017-10-19 17:34:29 UTC
Moving to DFG:Storage as this is configurable in puppet-cinder[0] but we don't appear to be properly enabling/disabling this configuration in the heat templates[1].

[0] https://github.com/openstack/puppet-cinder/blob/master/manifests/keystone/auth.pp#L34
[1] https://github.com/openstack/tripleo-heat-templates/blob/master/puppet/services/cinder-api.yaml#L164

Comment 4 Sean Cohen 2018-02-07 14:33:43 UTC

*** This bug has been marked as a duplicate of bug 1472859 ***