summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2020-12-18 18:47:27 +0000
committerGerrit Code Review <review@openstack.org>2020-12-18 18:47:27 +0000
commit8518f36014f54f57ef86d7de2c5244ebcc190f23 (patch)
tree07766ff92b3e40ca404420fa2e6776b000b1a22f
parent21db60c8f72f8af816f56b89f4c016b35b26d2a3 (diff)
parentca37578a0ac6d68a3a7142f189f64735e85b4e48 (diff)
downloadironic-8518f36014f54f57ef86d7de2c5244ebcc190f23.tar.gz
Merge "Include HeartbeatMixin in the ramdisk deploy"
-rw-r--r--ironic/drivers/modules/pxe.py3
-rw-r--r--releasenotes/notes/ramdisk-clean-2d3b033a401b911b.yaml5
2 files changed, 7 insertions, 1 deletions
diff --git a/ironic/drivers/modules/pxe.py b/ironic/drivers/modules/pxe.py
index 3463f3543..222e952da 100644
--- a/ironic/drivers/modules/pxe.py
+++ b/ironic/drivers/modules/pxe.py
@@ -37,7 +37,8 @@ class PXEBoot(pxe_base.PXEBaseMixin, base.BootInterface):
capabilities = ['ramdisk_boot', 'pxe_boot']
-class PXERamdiskDeploy(agent_base.AgentBaseMixin, base.DeployInterface):
+class PXERamdiskDeploy(agent_base.AgentBaseMixin, agent_base.HeartbeatMixin,
+ base.DeployInterface):
def get_properties(self, task):
return {}
diff --git a/releasenotes/notes/ramdisk-clean-2d3b033a401b911b.yaml b/releasenotes/notes/ramdisk-clean-2d3b033a401b911b.yaml
new file mode 100644
index 000000000..022372fb7
--- /dev/null
+++ b/releasenotes/notes/ramdisk-clean-2d3b033a401b911b.yaml
@@ -0,0 +1,5 @@
+---
+fixes:
+ - |
+ Fixes cleaning with the ``ramdisk`` deploy interface by reusing the same
+ procedure as for the ``direct`` deploy interface.