If one of the control plane VM nodes stops responding, you may need to redeploy it.
Workaround:
From the physical node where the target VM is located, get a list of the VM domain IDs and VM names:
virsh list
Destroy the target VM (ungraceful powering off of the VM):
virsh destroy DOMAIN_ID
Undefine the VM (removes the VM configuration from KVM):
virsh undefine VM_NAME
Verify that your physical KVM node has the correct salt-common
and
salt-minion
version:
apt-cache policy salt-common
apt-cache policy salt-minion
Note
If the salt-common
and salt-minion
versions are not
2015.8, proceed with
Install the correct versions of salt-common and salt-minion.
Redeploy the VM from the physical node meant to host the VM:
salt-call state.sls salt.control
Verify the newly deployed VM is listed in the Salt keys:
salt-key
Deploy the Salt states to the node:
salt 'OST_NAME*' state.sls linux,ntp,openssh,salt
Deploy service states to the node:
salt 'HOST_NAME*' state.sls keepalived,haproxy,SPECIFIC_SERVICES
Note
You may need to log in to the node itself and run the states locally for higher success rates.