Format data disk in Supervisor instead of OS Agent (#4212)

* Supervisor formats data disk instead of os agent

* Fix issues occurring during tests

* Can't migrate if target is too small
This commit is contained in:
Mike Degatano
2023-03-30 14:15:07 -04:00
committed by GitHub
parent a3204f4ebd
commit c0b75edfb7
19 changed files with 559 additions and 70 deletions

View File

@@ -38,3 +38,7 @@ class DataDisk(DBusServiceMock):
def ReloadDevice(self) -> "b":
"""Reload device."""
return True
@dbus_method()
def MarkDataMove(self) -> None:
"""Do MarkDataMove method."""