Comment 2 for bug 1710713

Revision history for this message
cripps (cripps) wrote :

I'm using version is 3.1.0 from Pike, I believe generic groups were introduced in Newton though.
To get the option you need to run "export OS_VOLUME_API_VERSION=3.10" or --os-volume-api-version=3.10.

This appears to be the commit that introduced it.
https://github.com/openstack/python-cinderclient/commit/aaffe41e3161ff5684eb87202780680f2a006fbe

Looking at the code this option might be deprecated already in favor of --filters?

https://github.com/openstack/python-cinderclient/blob/b7d34684607bbc0d8c507970661d0b1d3bed7843/cinderclient/v3/shell.py#L1289

@utils.arg('--group-id',
           metavar='<group_id>',
           default=None,
           help="Filters results by a group ID. Default=None. "
"%s" % FILTER_DEPRECATED)

FILTER_DEPRECATED = ("This option is deprecated and will be removed in "
                     "newer release. Please use '--filters' option which "
                     "is introduced since 3.33 instead.")

https://github.com/openstack/python-cinderclient/commit/a6affea92157a5656ba4beae6ffd059d12e23bdc