No Cinder consistency group CLI commands in RDO Kilo

asked 2015-06-17 08:22:20 -0500

simondodsley gravatar image

Consistency groups were introduced in Juno and enhanced in Kilo, but these CLI options do not appears to be available in the RDO Kilo release (rdo-release-kilo-1.noarch.rpm)

When trying to create using the standard CLI as defined in the Kilo docs I get the following error:

[root@kilo-controller cinder(keystone_admin)]# cinder consisgroup-create --name test
usage: cinder [--version] [--debug] [--os-auth-system <auth-system>]
              [--service-type <service-type>] [--service-name <service-name>]
              [--volume-service-name <volume-service-name>]
              [--endpoint-type <endpoint-type>]
              [--os-volume-api-version <volume-api-ver>] [--retries <retries>]
              [--os-auth-strategy <auth-strategy>]
              [--os-username <auth-user-name>] [--os-password <auth-password>]
              [--os-tenant-name <auth-tenant-name>]
              [--os-tenant-id <auth-tenant-id>] [--os-auth-url <auth-url>]
              [--os-user-id <auth-user-id>]
              [--os-user-domain-id <auth-user-domain-id>]
              [--os-user-domain-name <auth-user-domain-name>]
              [--os-project-id <auth-project-id>]
              [--os-project-name <auth-project-name>]
              [--os-project-domain-id <auth-project-domain-id>]
              [--os-project-domain-name <auth-project-domain-name>]
              [--os-cert <certificate>] [--os-key <key>]
              [--os-region-name <region-name>] [--os-token <token>]
              [--os-url <url>] [--os-cacert <ca-certificate>]
              <subcommand> ...
error: argument <subcommand>: invalid choice: u'consisgroup-create'
Try 'cinder help ' for more information.

Is this a deliberate omission or did something get missed in the build?

Can we get these commands added please?

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted

answered 2015-06-17 18:59:21 -0500

hguemar gravatar image

updated 2015-06-18 12:58:25 -0500

sgordon gravatar image

According to the ChangeLog, it has been introduced in python-cinderclient 1.1.0 and RDO ships 1.1.1 "Add support for ConsistencyGroups" - python-cinderclient-1.1.1-1.el7.noarch is the latest supported version by kilo. The problem is that consisgroup-create is a v2 API and by default, the client is still using v1.

A workaround would be forcing cinderclient to use v2



cinder --os-volume-api-version=2 consisgroup-create
edit flag offensive delete link more

answered 2015-06-17 16:54:37 -0500

simondodsley gravatar image

Package version is python-cinderclient-1.1.1-1.el7.noarch and distro is Red Hat Enterprise Linux Server release 7.1 (Maipo)

edit flag offensive delete link more

answered 2015-06-17 21:20:05 -0500

simondodsley gravatar image

Perfect. That fixed it.

Thank you

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-06-17 08:22:20 -0500

Seen: 235 times

Last updated: Jun 18 '15