Bug 1104052

Summary: Cinder's CLI should include cinder API v2
Product: Red Hat OpenStack Reporter: Yogev Rabl <yrabl>
Component: python-cinderclientAssignee: Eric Harney <eharney>
Status: CLOSED NOTABUG QA Contact: Dafna Ron <dron>
Severity: low Docs Contact:
Priority: low    
Version: 5.0 (RHEL 7)CC: eharney, jruzicka, scohen, yeylon
Target Milestone: ---Keywords: ZStream
Target Release: 6.0 (Juno)   
Hardware: All   
OS: All   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-16 13:23:09 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 Yogev Rabl 2014-06-03 07:34:29 UTC
Description of problem:
While testing the feature of changing the type of an existing volume, the default Cinder CLI options (using help) didn't show the new command "cinder retype". 
The command is available, though, on Cinder's API v.2, with the addition of the flag "--os-volume-api-version".  
The two available Cinder API versions should be available to the user as a default. The user doesn't know, and should not be bothered with the version of the API that he uses. 

Version-Release number of selected component (if applicable):
openstack-cinder-2014.1-3.1.el7ost.noarch
python-cinder-2014.1-3.1.el7ost.noarch
python-cinderclient-1.0.8-1.el7ost.noarch

How reproducible:


Steps to Reproduce:
1. 
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Eric Harney 2014-10-20 13:53:21 UTC
v2 options are shown if env var OS_VOLUME_API_VERSION=2 is set.