diff options
author | Kaifeng Wang <kaifeng.w@gmail.com> | 2019-03-13 09:44:21 +0800 |
---|---|---|
committer | Kaifeng Wang <kaifeng.w@gmail.com> | 2019-03-13 09:44:21 +0800 |
commit | 7e9ff1d6bf1ec992b82f8d79fc8d4e251af5cfac (patch) | |
tree | 7489cceb149da48deec919b36da3f524012dd67b /ironic | |
parent | edb5a6033155ad2293504ba18ae0018b296b0349 (diff) | |
download | ironic-7e9ff1d6bf1ec992b82f8d79fc8d4e251af5cfac.tar.gz |
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
Diffstat (limited to 'ironic')
-rw-r--r-- | ironic/conf/conductor.py | 1 | ||||
-rw-r--r-- | ironic/releasenotes/notes/add-protection-for-available-nodes-25f163d69782ef63.yaml | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/ironic/conf/conductor.py b/ironic/conf/conductor.py index b15a00086..ae7ed983c 100644 --- a/ironic/conf/conductor.py +++ b/ironic/conf/conductor.py @@ -201,6 +201,7 @@ opts = [ '"conductor_group" field set on the node.')), cfg.BoolOpt('allow_deleting_available_nodes', default=True, + mutable=True, help=_('Allow deleting nodes which are in state ' '\'available\'. Defaults to True.')), ] diff --git a/ironic/releasenotes/notes/add-protection-for-available-nodes-25f163d69782ef63.yaml b/ironic/releasenotes/notes/add-protection-for-available-nodes-25f163d69782ef63.yaml index 7b38229ac..23ff1da95 100644 --- a/ironic/releasenotes/notes/add-protection-for-available-nodes-25f163d69782ef63.yaml +++ b/ironic/releasenotes/notes/add-protection-for-available-nodes-25f163d69782ef63.yaml @@ -9,4 +9,4 @@ features: bring nodes into this state). For backwards compatibility reasons, the default value for this option is True. The other states in which nodes can be deleted from ironic ('manageable', 'enroll', and 'adoptfail') - remain unchanged. + remain unchanged. This option can be changed without service restart. |