openstack client doesn't work correctly with cinder v2 api

Bug #1500938 reported by Ramy Asselin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
os-client-config
New
Undecided
Unassigned
python-openstackclient
Invalid
Undecided
Ivan Kolodyazhny

Bug Description

OpensStack client should work with cinder v2 client by default.
Instead the it's requiring " --os-volume-api-version 2" to be passed in. This should not be needed.

2015-09-28 21:47:33.131 | + [[ -n lvm:lvmdriver-1 ]]
2015-09-28 21:47:33.131 | + local be be_name
2015-09-28 21:47:33.131 | + for be in '${CINDER_ENABLED_BACKENDS//,/ }'
2015-09-28 21:47:33.131 | + be_name=lvmdriver-1
2015-09-28 21:47:33.131 | + openstack volume type create --os-volume-api-version 2 --property volume_backend_name=lvmdriver-1 lvmdriver-1
2015-09-28 21:47:34.777 | +---------------------------------+--------------------------------------+
2015-09-28 21:47:34.777 | | Field | Value |
2015-09-28 21:47:34.778 | +---------------------------------+--------------------------------------+
2015-09-28 21:47:34.778 | | description | None |
2015-09-28 21:47:34.778 | | id | a1fed0ff-0c9c-4242-8e0a-ac344580a312 |
2015-09-28 21:47:34.778 | | is_public | True |
2015-09-28 21:47:34.778 | | name | lvmdriver-1 |
2015-09-28 21:47:34.778 | | os-volume-type-access:is_public | True |
2015-09-28 21:47:34.778 | | properties | volume_backend_name='lvmdriver-1' |
2015-09-28 21:47:34.778 | +---------------------------------+--------------------------------------+

http://logs.openstack.org/03/221303/5/check/gate-tempest-dsvm-full/775e4cf/logs/devstacklog.txt.gz#_2015-09-28_21_47_33_131

Revision history for this message
Ramy Asselin (ramy-asselin) wrote :

related bug: 1500714

Revision history for this message
Ramy Asselin (ramy-asselin) wrote :

related bug 1500714

Revision history for this message
Ivan Kolodyazhny (e0ne) wrote :
Changed in python-openstackclient:
status: New → Confirmed
assignee: nobody → Ivan Kolodyazhny (e0ne)
Revision history for this message
Steve Martinelli (stevemar) wrote :

this is an OCC bug, not OSC

Changed in python-openstackclient:
status: Confirmed → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on os-client-config (master)

Change abandoned by Monty Taylor (<email address hidden>) on branch: master
Review: https://review.openstack.org/229039

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.