Ensure VM start is forced

This commit is contained in:
Joshua Boniface 2024-10-09 00:58:43 -04:00
parent 04a09b9269
commit c714093a2e
1 changed files with 1 additions and 1 deletions

View File

@ -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: