lifecycle: shutdown: should it have timeout when using qemu-agent?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The problem we encountered is:
1) use qemu-agent to shutdown a domain.
2) libvirt will block in "qemuAgentShutdown()", if the domain itself got stucked when it powers-off.

It's the *guest domain*'s fault that it stucks when shutdown. However, we could not handle the domain in libvirt anymore, except for the jobs such as DESTROY or QUERY.

So, here comes the question:
    What's the normal solution to this problem? shall we:
    1) use DESTROY to forcelly poweroff the domain, in openstack or other applications that uses libvirt.
    or
    2) leave it to the administrator users, if they find this problem, let them manually DESTROY the domain.
    or
    3) let SHUTDOWN timeout in libvirt when the guest domain got stucked.

Looking forward to your reply, thanks in advance.

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]