From aa65b8c127abde8930b893c350765219b2fdfd42 Mon Sep 17 00:00:00 2001 From: Satoshi-Sh Date: Tue, 18 Feb 2025 21:52:26 +0000 Subject: [PATCH] Missing 'interface' in Clean Step Add 'interface': 'deploy' to the clean step configuration to avoid the error Change-Id: Ie2297fc3375f6e0a389fa19789506a72fcf967e7 --- examples/business-logic/example_business_logic.py | 1 + examples/vendor-device/example_device.py | 1 + 2 files changed, 2 insertions(+) diff --git a/examples/business-logic/example_business_logic.py b/examples/business-logic/example_business_logic.py index eac88a59b..187355c31 100644 --- a/examples/business-logic/example_business_logic.py +++ b/examples/business-logic/example_business_logic.py @@ -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, diff --git a/examples/vendor-device/example_device.py b/examples/vendor-device/example_device.py index a9a21c7d8..a76b8d779 100644 --- a/examples/vendor-device/example_device.py +++ b/examples/vendor-device/example_device.py @@ -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,