Skip to content

Commit

Permalink
CA-399963: Block VM.start_on is feature flag is disabled (#6035)
Browse files Browse the repository at this point in the history
This was missed in cf8ba8b.
  • Loading branch information
robhoes authored Oct 3, 2024
2 parents 6b47814 + 182ed47 commit 44e459e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ocaml/xapi/message_forwarding.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1923,6 +1923,7 @@ functor
let start_on ~__context ~vm ~host ~start_paused ~force =
if Helpers.rolling_upgrade_in_progress ~__context then
Helpers.assert_host_has_highest_version_in_pool ~__context ~host ;
Pool_features.assert_enabled ~__context ~f:Features.VM_start ;
Xapi_vm_helpers.assert_matches_control_domain_affinity ~__context
~self:vm ~host ;
(* Prevent VM start on a host that is evacuating *)
Expand Down

0 comments on commit 44e459e

Please sign in to comment.