From 1e56e83e21b3610d1cbb501edbdcd7ca3ce4f16b Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Fri, 8 Jan 2016 14:32:37 +0100 Subject: [PATCH] check for quorum when starting a container --- src/PVE/API2/LXC/Status.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/PVE/API2/LXC/Status.pm b/src/PVE/API2/LXC/Status.pm index 91ad16e..fb5480d 100644 --- a/src/PVE/API2/LXC/Status.pm +++ b/src/PVE/API2/LXC/Status.pm @@ -129,6 +129,8 @@ __PACKAGE__->register_method({ die "CT $vmid already running\n" if PVE::LXC::check_running($vmid); + PVE::Cluster::check_cfs_quorum(); + if (PVE::HA::Config::vm_is_ha_managed($vmid) && $rpcenv->{type} ne 'ha') { my $hacmd = sub { -- 2.39.5