Hide Forgot
Description of problem: The cinder's CLI is trying to talk with the cinder client in API version 1, but the client is set as default on version two, thus when running a command (any command) without the specification of '--os-volume-api-version 2' an error will say: ERROR: Volume API version is set to 1 but you are accessing a 2 endpoint. Change its value via either --os-volume-api-version or env[OS_VOLUME_API_VERSION] Version-Release number of selected component (if applicable): python-cinder-2013.2-9.el6ost.noarch python-cinderclient-1.0.7-1.el6ost.noarch openstack-cinder-2013.2-9.el6ost.noarch the topology is: Server 1: Nova, Neutron, Ceilometer, keystone & swift. server 2: glance. server 3: cinder. How reproducible: not on every topology. Steps to Reproduce: 1. run any command with cinder CLI Actual results: An error that says that the user need to specify the API version. Expected results: The command to work with one API or the other. Additional info:
After some triaging, it seems that packstack is the culprit, and it's related to this new commit: https://github.com/stackforge/packstack/commit/013a2f1ce70e28189f244039b91df175a54b456f The endpoints are created this way: | af05de1abba245ecbba70d688cf144e1 | cinder | volume | Cinder Service | | 277057a4673f4403afeab04a88c16946 | cinder_v2 | volume | Cinder Service v2 | Instead of this, we should specify the v2 endpoints as "cinder" and "volumev2". Let's revert that commit or fix the naming ASAP. Thanks, A.
verified on: python-cinder-2013.2-9.el6ost.noarch python-cinderclient-1.0.7-1.el6ost.noarch openstack-cinder-2013.2-9.el6ost.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. http://rhn.redhat.com/errata/RHEA-2013-1859.html