Cleaning process with maintenance mode should be prevented
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
High
|
Unassigned |
Bug Description
Currently, manual cleaning for an ironic node which is maintenance mode has prevented.
$ ironic node-set-
However, following steps hasn't prevented yet. Therefore, I think it should be prevented too.
[Condition]
(A) and (B) or
(A) and (C) or
(A) and (B) and (C)
(A):The ironic node: maintenance = True
(B):/ironic.conf: automated_clean = True
(C):The ironic node: clean_step is not None
[Not prevented action]
(1) Change provision state to "manage"
$ ironic node-set-
(2) Change provision state from "manage" to "provide"
$ ironic node-set-
If ironic.conf has 'automated_clean = True' or manually configured
clean_step exists, cleaning process should be executed.
[What happens?]
After executing (2) with above condition, cleaning process runs but nothing
to do while cleaning with following debug message.
LOG.
'not taking any action.', {'node': node.uuid})
I think it is difficult for operator to realize this situation.
tags: |
added: conductor removed: ironic |
Changed in ironic: | |
importance: | Undecided → High |
Changed in ironic: | |
assignee: | Yushiro FURUKAWA (y-furukawa-2) → Dmitry Tantsur (divius) |
Changed in ironic: | |
assignee: | Dmitry Tantsur (divius) → nobody |
status: | In Progress → Triaged |
Changed in ironic: | |
status: | Triaged → Fix Released |
Fix proposed to branch: master /review. openstack. org/299097
Review: https:/