Follow up to available node protection
Turns [deploy]allow_deleting_available_nodes to a mutable option, so that it can be changed without service restart. Change-Id: Ia6d51994441ec7367bc2eba76c47d5f3c425a837 Story: 2005060 Task: 29604
This commit is contained in:
parent
edb5a60331
commit
7e9ff1d6bf
@ -201,6 +201,7 @@ opts = [
|
|||||||
'"conductor_group" field set on the node.')),
|
'"conductor_group" field set on the node.')),
|
||||||
cfg.BoolOpt('allow_deleting_available_nodes',
|
cfg.BoolOpt('allow_deleting_available_nodes',
|
||||||
default=True,
|
default=True,
|
||||||
|
mutable=True,
|
||||||
help=_('Allow deleting nodes which are in state '
|
help=_('Allow deleting nodes which are in state '
|
||||||
'\'available\'. Defaults to True.')),
|
'\'available\'. Defaults to True.')),
|
||||||
]
|
]
|
||||||
|
@ -9,4 +9,4 @@ features:
|
|||||||
bring nodes into this state). For backwards compatibility reasons, the
|
bring nodes into this state). For backwards compatibility reasons, the
|
||||||
default value for this option is True. The other states in which nodes
|
default value for this option is True. The other states in which nodes
|
||||||
can be deleted from ironic ('manageable', 'enroll', and 'adoptfail')
|
can be deleted from ironic ('manageable', 'enroll', and 'adoptfail')
|
||||||
remain unchanged.
|
remain unchanged. This option can be changed without service restart.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user