]> git.proxmox.com Git - pve-cluster.git/commit
Add warning for pvecm commands if not part of cluster
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 14 Mar 2016 08:19:22 +0000 (09:19 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 15 Mar 2016 15:44:23 +0000 (16:44 +0100)
commiteb51b829413bfce1a23c468b35e2597a5fb926e6
tree2606d59f54c44d837b590aae99734b40fbbc7ba2
parent9f756ea1c7b0f70a30c747972ebc7573ab8dd8ed
Add warning for pvecm commands if not part of cluster

If the cluster config file is missing, pvecm status, nodes
and expected will probably not work. Add a helpful warning
because the corosync-quorumtool error message is not very
descriptive here.

Add a helper sub in Cluster.pm to actually do the check.
data/PVE/CLI/pvecm.pm
data/PVE/Cluster.pm