Ensure VM start is forced
This commit is contained in:
parent
04a09b9269
commit
c714093a2e
|
@ -4923,7 +4923,7 @@ def vm_worker_promote_mirror(
|
||||||
response = session.post(
|
response = session.post(
|
||||||
f"{destination_api_uri}/vm/{vm_name}/state",
|
f"{destination_api_uri}/vm/{vm_name}/state",
|
||||||
headers={"Content-Type": "application/octet-stream"},
|
headers={"Content-Type": "application/octet-stream"},
|
||||||
params={"state": "start", "wait": True},
|
params={"state": "start", "wait": True, "force": True},
|
||||||
)
|
)
|
||||||
response.raise_for_status()
|
response.raise_for_status()
|
||||||
except Exception:
|
except Exception:
|
||||||
|
|
Loading…
Reference in New Issue