Include HeartbeatMixin in the ramdisk deploy

Otherwise cleaning gets stuck forever because there is no heartbeat
implementation to use.

Change-Id: I3589038001b98c866f47339ac8d65edfb891ed79
(cherry picked from commit ca37578a0a)
This commit is contained in:
Dmitry Tantsur 2020-12-16 19:04:19 +01:00
parent f847799c8a
commit 29d5c7ddd8
2 changed files with 7 additions and 1 deletions

View File

@ -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 {}

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Fixes cleaning with the ``ramdisk`` deploy interface by reusing the same
procedure as for the ``direct`` deploy interface.