Add states.SERVICING and SERVICEWAIT to need_prepare_ramdisk
Currently, service steps do not work with virtual media deployments
because states.SERVICING and states.SERVICEWAIT are missing from the whitelist
of valid provision_states. This change resolves this issue.
Change-Id: I5e3ec08d128b35385f2d90c9c852140b757b8dbf
(cherry picked from commit 70ccb6af11
)
This commit is contained in:
parent
ac2c86861f
commit
fab3772cbd
@ -501,4 +501,6 @@ def need_prepare_ramdisk(node):
|
|||||||
states.RESCUING,
|
states.RESCUING,
|
||||||
states.RESCUEWAIT,
|
states.RESCUEWAIT,
|
||||||
states.INSPECTING,
|
states.INSPECTING,
|
||||||
states.INSPECTWAIT)
|
states.INSPECTWAIT,
|
||||||
|
states.SERVICING,
|
||||||
|
states.SERVICEWAIT)
|
||||||
|
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Fixes issue with configuring virtual media boot for executing service
|
||||||
|
steps by adding missing entries for states.SERVICING and states.SERVICEWAIT
|
||||||
|
in the whitelist of the states allowed by this method.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user