Public bug reported:

I'm running Jaunty for amd64 with kvm (1:84+dfsg-0ubuntu11) and libvirt0
(0.6.1-0ubuntu5), which are the latest versions as of today. I have
defined a kvm virtual machine which can be started and destroyed
correctly. However, this is what I get when I attempt to reboot with the
virsh command:

% virsh -c qemu:///system "reboot foo"
Connecting to uri: qemu:///system
error: Failed to reboot domain foo
error: this function is not supported by the hypervisor: virDomainReboot

I can also observe a similar behavior when attempting to define a kvm
virtual machine with the action <on_reboot>reboot</on_reboot>. Then,
this is what I get when attempting to define with the virsh command:

% virsh -c qemu:///system "define libvirt_run.xml"
Connecting to uri: qemu:///system
error: Failed to define domain from libvirt_run.xml
error: internal error unknown lifecycle action reboot

In the above, note that defining the action
<on_reboot>destroy</on_reboot> works correctly. Apparently, I've heard
that the reboot action works with the corresponding packages from the
ubuntu-virt PPA.

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: New

-- 
[Jaunty] Can't reboot kvm virtual machines using virsh
https://bugs.launchpad.net/bugs/368962
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to