I'm running openstack client on a stable/kilo version of devstack. Here's some debug info.
$ openstack server create --image a5604931-af06-4512-8046-d43aabf272d3 --flavor 2 my_instance
ERROR: openstack Invalid volume client version '2'. must be one of: 1
stack@devstack:~/devstack$ openstack server create --image a5604931-af06-4512-8046-d43aabf272d3 --flavor 1 my_instance
ERROR: openstack Invalid volume client version '2'. must be one of: 1
stack@devstack:~/devstack$ openstack --debug server create --image a5604931-af06-4512-8046-d43aabf272d3 --flavor 1 my_instance
DEBUG: cliff.commandmanager found command 'hypervisor_stats_show'
DEBUG: cliff.commandmanager found command 'security_group_create'
DEBUG: cliff.commandmanager found command 'security_group_rule_list'
DEBUG: cliff.commandmanager found command 'keypair_list'
DEBUG: cliff.commandmanager found command 'keypair_delete'
DEBUG: cliff.commandmanager found command 'host_list'
DEBUG: cliff.commandmanager found command 'keypair_create'
DEBUG: cliff.commandmanager found command 'server_pause'
DEBUG: cliff.commandmanager found command 'server_reboot'
DEBUG: cliff.commandmanager found command 'server_migrate'
DEBUG: cliff.commandmanager found command 'server_set'
DEBUG: cliff.commandmanager found command 'host_show'
DEBUG: cliff.commandmanager found command 'server_unrescue'
DEBUG: cliff.commandmanager found command 'usage_list'
DEBUG: cliff.commandmanager found command 'server_add_volume'
DEBUG: cliff.commandmanager found command 'server_unlock'
DEBUG: cliff.commandmanager found command 'security_group_set'
DEBUG: cliff.commandmanager found command 'compute_agent_create'
DEBUG: cliff.commandmanager found command 'server_rescue'
DEBUG: cliff.commandmanager found command 'server_add_security_group'
DEBUG: cliff.commandmanager found command 'console_log_show'
DEBUG: cliff.commandmanager found command 'compute_agent_delete'
DEBUG: cliff.commandmanager found command 'server_ssh'
DEBUG: cliff.commandmanager found command 'server_lock'
DEBUG: cliff.commandmanager found command 'server_unset'
DEBUG: cliff.commandmanager found command 'server_show'
DEBUG: cliff.commandmanager found command 'server_suspend'
DEBUG: cliff.commandmanager found command 'keypair_show'
DEBUG: cliff.commandmanager found command 'server_image_create'
DEBUG: cliff.commandmanager found command 'flavor_list'
DEBUG: cliff.commandmanager found command 'server_remove_volume'
DEBUG: cliff.commandmanager found command 'security_group_delete'
DEBUG: cliff.commandmanager found command 'aggregate_add_host'
DEBUG: cliff.commandmanager found command 'aggregate_remove_host'
DEBUG: cliff.commandmanager found command 'server_remove_security_group'
DEBUG: cliff.commandmanager found command 'ip_floating_remove'
DEBUG: cliff.commandmanager found command 'aggregate_create'
DEBUG: cliff.commandmanager found command 'hypervisor_show'
DEBUG: cliff.commandmanager found command 'ip_floating_list'
DEBUG: cliff.commandmanager found command 'aggregate_delete'
DEBUG: cliff.commandmanager found command 'usage_show'
DEBUG: cliff.commandmanager found command 'security_group_rule_create'
DEBUG: cliff.commandmanager found command 'compute_agent_set'
DEBUG: cliff.commandmanager found command 'server_rebuild'
DEBUG: cliff.commandmanager found command 'flavor_delete'
DEBUG: cliff.commandmanager found command 'server_delete'
DEBUG: cliff.commandmanager found command 'server_resume'
DEBUG: cliff.commandmanager found command 'availability_zone_list'
DEBUG: cliff.commandmanager found command 'hypervisor_list'
DEBUG: cliff.commandmanager found command 'flavor_create'
DEBUG: cliff.commandmanager found command 'console_url_show'
DEBUG: cliff.commandmanager found command 'ip_fixed_add'
DEBUG: cliff.commandmanager found command 'server_create'
DEBUG: cliff.commandmanager found command 'aggregate_show'
DEBUG: cliff.commandmanager found command 'compute_agent_list'
DEBUG: cliff.commandmanager found command 'flavor_show'
DEBUG: cliff.commandmanager found command 'ip_fixed_remove'
DEBUG: cliff.commandmanager found command 'ip_floating_create'
DEBUG: cliff.commandmanager found command 'server_list'
DEBUG: cliff.commandmanager found command 'ip_floating_pool_list'
DEBUG: cliff.commandmanager found command 'ip_floating_add'
DEBUG: cliff.commandmanager found command 'security_group_show'
DEBUG: cliff.commandmanager found command 'server_resize'
DEBUG: cliff.commandmanager found command 'ip_floating_delete'
DEBUG: cliff.commandmanager found command 'compute_service_set'
DEBUG: cliff.commandmanager found command 'security_group_list'
DEBUG: cliff.commandmanager found command 'project_usage_list'
DEBUG: cliff.commandmanager found command 'aggregate_set'
DEBUG: cliff.commandmanager found command 'aggregate_list'
DEBUG: cliff.commandmanager found command 'server_unpause'
DEBUG: cliff.commandmanager found command 'compute_service_list'
DEBUG: cliff.commandmanager found command 'security_group_rule_delete'
DEBUG: openstackclient.shell compute API version 2, cmd group openstack.compute.v2
DEBUG: cliff.commandmanager found command 'network_set'
DEBUG: cliff.commandmanager found command 'network_show'
DEBUG: cliff.commandmanager found command 'network_list'
DEBUG: cliff.commandmanager found command 'network_delete'
DEBUG: cliff.commandmanager found command 'network_create'
DEBUG: openstackclient.shell network API version 2, cmd group openstack.network.v2
DEBUG: cliff.commandmanager found command 'image_set'
DEBUG: cliff.commandmanager found command 'image_delete'
DEBUG: cliff.commandmanager found command 'image_create'
DEBUG: cliff.commandmanager found command 'image_list'
DEBUG: cliff.commandmanager found command 'image_show'
DEBUG: cliff.commandmanager found command 'image_save'
DEBUG: openstackclient.shell image API version 1, cmd group openstack.image.v1
DEBUG: openstackclient.shell volume API version 2, cmd group openstack.volume.v2
DEBUG: cliff.commandmanager found command 'project_create'
DEBUG: cliff.commandmanager found command 'project_list'
DEBUG: cliff.commandmanager found command 'ec2_credentials_list'
DEBUG: cliff.commandmanager found command 'service_list'
DEBUG: cliff.commandmanager found command 'role_remove'
DEBUG: cliff.commandmanager found command 'project_show'
DEBUG: cliff.commandmanager found command 'role_show'
DEBUG: cliff.commandmanager found command 'endpoint_delete'
DEBUG: cliff.commandmanager found command 'project_set'
DEBUG: cliff.commandmanager found command 'service_create'
DEBUG: cliff.commandmanager found command 'service_show'
DEBUG: cliff.commandmanager found command 'endpoint_show'
DEBUG: cliff.commandmanager found command 'ec2_credentials_create'
DEBUG: cliff.commandmanager found command 'catalog_list'
DEBUG: cliff.commandmanager found command 'ec2_credentials_delete'
DEBUG: cliff.commandmanager found command 'service_delete'
DEBUG: cliff.commandmanager found command 'token_issue'
DEBUG: cliff.commandmanager found command 'project_delete'
DEBUG: cliff.commandmanager found command 'endpoint_list'
DEBUG: cliff.commandmanager found command 'role_list'
DEBUG: cliff.commandmanager found command 'user_create'
DEBUG: cliff.commandmanager found command 'user_delete'
DEBUG: cliff.commandmanager found command 'user_show'
DEBUG: cliff.commandmanager found command 'user_set'
DEBUG: cliff.commandmanager found command 'role_add'
DEBUG: cliff.commandmanager found command 'role_delete'
DEBUG: cliff.commandmanager found command 'catalog_show'
DEBUG: cliff.commandmanager found command 'token_revoke'
DEBUG: cliff.commandmanager found command 'endpoint_create'
DEBUG: cliff.commandmanager found command 'user_role_list'
DEBUG: cliff.commandmanager found command 'role_create'
DEBUG: cliff.commandmanager found command 'user_list'
DEBUG: cliff.commandmanager found command 'ec2_credentials_show'
DEBUG: openstackclient.shell identity API version 2.0, cmd group openstack.identity.v2
DEBUG: cliff.commandmanager found command 'object_create'
DEBUG: cliff.commandmanager found command 'object_list'
DEBUG: cliff.commandmanager found command 'object_delete'
DEBUG: cliff.commandmanager found command 'container_list'
DEBUG: cliff.commandmanager found command 'object_show'
DEBUG: cliff.commandmanager found command 'container_delete'
DEBUG: cliff.commandmanager found command 'container_create'
DEBUG: cliff.commandmanager found command 'container_show'
DEBUG: cliff.commandmanager found command 'container_save'
DEBUG: cliff.commandmanager found command 'object_save'
DEBUG: openstackclient.shell object_store API version 1, cmd group openstack.object_store.v1
DEBUG: cliff.commandmanager found command 'extension_list'
DEBUG: cliff.commandmanager found command 'quota_set'
DEBUG: cliff.commandmanager found command 'quota_show'
DEBUG: cliff.commandmanager found command 'limits_show'
INFO: openstackclient.shell command: <none> -> openstackclient.compute.v2.server.CreateServer
DEBUG: openstackclient.api.auth Auth plugin v2password selected
DEBUG: openstackclient.api.auth auth_type: v2password
DEBUG: openstackclient.api.auth fetching option os_auth_url
DEBUG: openstackclient.api.auth fetching option os_tenant_id
DEBUG: openstackclient.api.auth fetching option os_tenant_name
DEBUG: openstackclient.api.auth fetching option os_trust_id
DEBUG: openstackclient.api.auth fetching option os_username
DEBUG: openstackclient.api.auth fetching option os_user_id
DEBUG: openstackclient.api.auth fetching option os_password
INFO: openstackclient.common.clientmanager Using auth plugin: v2password
DEBUG: openstackclient.common.clientmanager Get auth_ref
DEBUG: keystoneclient.auth.identity.v2 Making authentication request to http://104.130.141.231:5000/v2.0/tokens
DEBUG: urllib3.util.retry Converted retries value: 0 -> Retry(total=0, connect=None, read=None, redirect=0)
INFO: urllib3.connectionpool Starting new HTTP connection (1): 104.130.141.231
DEBUG: urllib3.connectionpool "POST /v2.0/tokens HTTP/1.1" 200 3946
DEBUG: openstackclient.compute.v2.server.CreateServer take_action(Namespace(availability_zone=None, block_device_mapping=[], columns=[], config_drive=False, file=[], flavor='1', formatter='table', hint=[], image='a5604931-af06-4512-8046-d43aabf272d3', key_name=None, max=1, max_width=0, min=1, nic=[], prefix='', property=None, security_group=[], server_name='my_instance', user_data=None, variables=[], volume=None, wait=False))
DEBUG: openstackclient.compute.client Instantiating compute client: <class 'novaclient.v2.client.Client'>
ERROR: openstack Invalid volume client version '2'. must be one of: 1
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/cliff/app.py", line 303, in run_subcommand
result = cmd.run(parsed_args)
File "/usr/local/lib/python2.7/dist-packages/cliff/display.py", line 91, in run
column_names, data = self.take_action(parsed_args)
File "/usr/local/lib/python2.7/dist-packages/openstackclient/compute/v2/server.py", line 321, in take_action
volume_client = self.app.client_manager.volume
File "/usr/local/lib/python2.7/dist-packages/openstackclient/common/clientmanager.py", line 43, in __get__
self._handle = self.factory(instance)
File "/usr/local/lib/python2.7/dist-packages/openstackclient/volume/client.py", line 44, in make_client
API_VERSIONS
File "/usr/local/lib/python2.7/dist-packages/openstackclient/common/utils.py", line 249, in get_client_class
raise exceptions.UnsupportedVersion(msg)
UnsupportedVersion: Invalid volume client version '2'. must be one of: 1
DEBUG: openstackclient.shell clean_up CreateServer
DEBUG: openstackclient.shell got an error: Invalid volume client version '2'. must be one of: 1
ERROR: openstackclient.shell Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/openstackclient/shell.py", line 176, in run
return super(OpenStackShell, self).run(argv)
File "/usr/local/lib/python2.7/dist-packages/cliff/app.py", line 238, in run
result = self.run_subcommand(remainder)
File "/usr/local/lib/python2.7/dist-packages/cliff/app.py", line 303, in run_subcommand
result = cmd.run(parsed_args)
File "/usr/local/lib/python2.7/dist-packages/cliff/display.py", line 91, in run
column_names, data = self.take_action(parsed_args)
File "/usr/local/lib/python2.7/dist-packages/openstackclient/compute/v2/server.py", line 321, in take_action
volume_client = self.app.client_manager.volume
File "/usr/local/lib/python2.7/dist-packages/openstackclient/common/clientmanager.py", line 43, in __get__
self._handle = self.factory(instance)
File "/usr/local/lib/python2.7/dist-packages/openstackclient/volume/client.py", line 44, in make_client
API_VERSIONS
File "/usr/local/lib/python2.7/dist-packages/openstackclient/common/utils.py", line 249, in get_client_class
raise exceptions.UnsupportedVersion(msg)
UnsupportedVersion: Invalid volume client version '2'. must be one of: 1
stack@devstack:~/devstack$ pip freeze | grep "openstack"
-e git://git.openstack.org/openstack/cinder.git@f303c9bd42e4422494161a854edbc4167795cfe6#egg=cinder-origin_stable_kilo
django-openstack-auth==1.2.0
-e git://git.openstack.org/openstack/glance.git@53fc470eb3713fc4455e53fd9de136940318a707#egg=glance-origin_stable_kilo
-e git://git.openstack.org/openstack/heat.git@7454b7bac82e0fbf1ed39d0e70b09a253b88cec5#egg=heat-origin_stable_kilo
-e git://git.openstack.org/openstack/horizon.git@412bda2af8e2a22572ae410b3ecfd12503d08f1c#egg=horizon-origin_stable_kilo
-e git://git.openstack.org/openstack/keystone.git@ec59d49e5f4941fe1d5f08f3b4870ea601910128#egg=keystone-origin_stable_kilo
-e git://git.openstack.org/openstack/neutron.git@33f6620737311ed128949f8d422f6f35a3537e29#egg=neutron-origin_stable_kilo
-e git://git.openstack.org/openstack/nova.git@3828368ca7be35a6d14b60c9b723f2bf67e3c97c#egg=nova-origin_stable_kilo
python-openstackclient==1.0.4
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
stack@devstack:~/devstack$ nova volume-list
+----+--------+--------------+------+-------------+-------------+
| ID | Status | Display Name | Size | Volume Type | Attached to |
+----+--------+--------------+------+-------------+-------------+
+----+--------+--------------+------+-------------+-------------+
This is fixed in 1.6.0 for me.