Hi,
I have the following simple setup:
oVirt engine - 4.2.3 (running as KVM appliance on SuSE Linux)
node1.1 - 4.2.1 (installed with clean CentOS and newer elrepo 4.15.4-1el1 kernel)
node1.2 - 4.2.3 (installed with clean CentOS and newer elrepo 4.16.2-1el7 kernel)
VMs - Debian, CentOS, and Windows guests, with ovirt-agent installed (except one with
Linux telephony software).
What is the proper shutdown procedure in case of power failure?
I have simple scripts which simply run “shutdown now” on each host after 10 min.
However, oVirt nodes fail to shutdown properly, process take about 25 minutes.
node1.2
libvirt-guests.sh[10696]: Waiting for guest GUEST_VM_NAME to shut down
node1.1 - these processes took VERY LONG time:
Unmounting /rhev/data-center/mnt/node11.mydomain.com:_vm_raid_nfs_export…
Unmounting /rhev/data-center/mnt/node12.mydomain.com:_vm_raid_nfs_disks…
Unmounting /rhev/data-center/mnt/node11.mydomain.com:_vm_raid_nfs_disks…
Unmounting /rhev/data-center/mnt/node11.mydomain.com:_vm_raid_nfs_iso…
on both nodes:
[] Forcibly powering off: job timed out
as result, OS is down, server is not, still drawing power from UPS battery.
Powering on was problematic, I had to restart node11 2nd time before it becomes “green” in
oVirt engine.
One VM failed to start with error message “Can’t acquire ticket” and struck with grey
arrows (with no possibilty to make anything) - unfortunately, I forgot to take screenshot
or record exact message. Restarting node1.1 cured that problem.
Q: what is proper oVirt data center automatic shutdown procedure?
Thanks in advance
Andrei