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:
Satoshi-Sh
2025-02-18 21:52:26 +00:00
committed by satoshi-sh
parent 91f520356d
commit aa65b8c127
2 changed files with 2 additions and 0 deletions

View File

@ -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,

View File

@ -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,