Missing 'interface' in Clean Step
Add 'interface': 'deploy' to the clean step configuration to avoid the error Change-Id: Ie2297fc3375f6e0a389fa19789506a72fcf967e7
This commit is contained in:
@ -73,6 +73,7 @@ class ExampleBusinessLogicHardwareManager(hardware.HardwareManager):
|
||||
return [{
|
||||
'step': 'companyx_verify_device_lifecycle',
|
||||
'priority': 472,
|
||||
'interface': 'deploy',
|
||||
# If you need Ironic to coordinate a reboot after this step
|
||||
# runs, but before continuing cleaning, this should be true.
|
||||
'reboot_requested': False,
|
||||
|
@ -120,6 +120,7 @@ class ExampleDeviceHardwareManager(hardware.HardwareManager):
|
||||
return [{
|
||||
'step': 'upgrade_example_device_model1234_firmware',
|
||||
'priority': 37,
|
||||
'interface': 'deploy',
|
||||
# If you need Ironic to coordinate a reboot after this step
|
||||
# runs, but before continuing cleaning, this should be true.
|
||||
'reboot_requested': True,
|
||||
|
Reference in New Issue
Block a user