[pve-devel] [PATCH container] check for quorum when starting a container
Wolfgang Bumiller
w.bumiller at proxmox.com
Fri Jan 8 14:32:37 CET 2016
---
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 5e5e116..49fc62f 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.1.4
More information about the pve-devel
mailing list