czl389 50a4592efb Fix cinder-manage cluster remove raising NoSuchOptError
When executing 'cinder-manage cluster remove' script, an error occurs in
the call 'fetch_func_args(fn)':
oslo_config.cfg.NoSuchOptError:no such option cluster_name in group
[DEFAULT].

The cause is that the call 'fetch_func_args(fn)' is trying to fetch
value of argument 'cluster_name' of fn from CONF.cluster_name, but
corresponding argument registered in CONF is 'cluster-name' actually.

We fix this bug by changing argument name registered in CONF, if
positional argument contains '-':
1.put it into automatic conversion from '- to '_', so that keep it the
 same name as handler function argument.
2.add metavar if it doesn't already exist, and it will maintain the help
 output.

Change-Id: I3f2a04b4c8e7bafe6e38fc86a69192dd3a94c0c5
Closes-Bug: #1894381
2020-10-15 16:30:32 +00:00
2020-02-15 14:15:18 -06:00
2019-04-19 19:26:48 +00:00
2017-10-10 00:46:42 +00:00
2020-07-27 12:42:36 -05:00
2012-05-03 10:48:26 -07:00
2020-01-22 11:44:36 +00:00
2020-02-15 14:15:18 -06:00
2020-04-17 14:47:10 +02:00

OpenStack Cinder

image

OpenStack Cinder is a storage service for an open cloud computing service.

You can learn more about Cinder at:

Getting Started

If you'd like to run from the master branch, you can clone the git repo:

git clone https://opendev.org/openstack/cinder

If you'd like to contribute, please see the information in CONTRIBUTING.rst

You can raise bugs on Launchpad

Python client

Python Cinderclient

Description
OpenStack Block Storage (Cinder)
Readme 908 MiB
Languages
Python 99.7%
Smarty 0.3%