Merge "Fix bypassed reference to node state values"
This commit is contained in:
commit
fe13f3c13f
@ -376,7 +376,8 @@ class IronicDriver(virt_driver.ComputeDriver):
|
|||||||
|
|
||||||
# trigger the node deploy
|
# trigger the node deploy
|
||||||
try:
|
try:
|
||||||
icli.call("node.set_provision_state", node_uuid, 'active')
|
icli.call("node.set_provision_state", node_uuid,
|
||||||
|
ironic_states.ACTIVE)
|
||||||
except (exception.NovaException, # Retry failed
|
except (exception.NovaException, # Retry failed
|
||||||
ironic_exception.HTTPInternalServerError, # Validations
|
ironic_exception.HTTPInternalServerError, # Validations
|
||||||
ironic_exception.HTTPBadRequest) as e: # Maintenance
|
ironic_exception.HTTPBadRequest) as e: # Maintenance
|
||||||
|
Loading…
x
Reference in New Issue
Block a user