cinder-manage cluster remove does not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Jon Cui |
Bug Description
After executing cinder-manage command to remove a cluster, the cluster still exists.
I debugged cinder-manage script with pdb, and found an oslo_config error raised as follow,
oslo_config.
The problem is that option name registed in CONF is cluster-name, but arg in action_func is cluster_name,
they are unable to work in concert.
# debug info
[root@host-
Deprecated: Option "logdir" from group "DEFAULT" is deprecated. Use option "log-dir" from group "DEFAULT".
> /usr/lib/
-> fn_kwargs = fetch_func_args(fn)
(Pdb) c
> /usr/lib/
-> fn_kwargs[arg] = getattr(
(Pdb) arg
'cluster_name'
(Pdb) n
oslo_config.
> /usr/lib/
-> fn_kwargs[arg] = getattr(
(Pdb) c
[root@host-
Changed in cinder: | |
assignee: | nobody → Jon Cui (czl389) |
status: | New → In Progress |
information type: | Public → Public Security |
information type: | Public Security → Public |
Fix proposed to branch: master /review. opendev. org/750077
Review: https:/