Bug 624195

Summary: Error: this function is not supported by the connection driver: virDomainReboot
Product: [Fedora] Fedora Reporter: Dominik 'Rathann' Mierzejewski <dominik>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: berrange, crobinso, hbrock, jforbes, psj, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-21 18:07:26 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:

Description Dominik 'Rathann' Mierzejewski 2010-08-14 05:32:06 EDT
Description of problem:
virt-manager shows a traceback:

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/engine.py", line 637, in reboot_domain
    vm.reboot()
  File "/usr/share/virt-manager/virtManager/domain.py", line 146, in reboot
    self._backend.reboot(0)
  File "/usr/lib64/python2.6/site-packages/libvirt.py", line 591, in reboot
    if ret == -1: raise libvirtError ('virDomainReboot() failed', dom=self)
libvirtError: this function is not supported by the connection driver: virDomainReboot

My F-14 vm got into a weird state after telinit 1, the console went blank so I wanted to reboot it. Using Shut down -> Reboot resulted in the above error.

Version-Release number of selected component (if applicable):
virt-manager-0.8.2-3.fc12.noarch

How reproducible:
Always

Steps to Reproduce:
1. start f14 vm
2. startx, open terminal, become root
3. init 1, wait until console goes black
4. select Shut down -> Reboot in virt-manager
Comment 1 Paul Jenner 2010-08-21 14:56:14 EDT
Looks like a duplicate of bug #532216 that looks like it was fixed in F13 but not sure if an update went to F12
Comment 2 Cole Robinson 2010-08-21 18:07:26 EDT
libvirt actually doesn't support a native 'reboot' option for KVM. In virt-manager in F13 we kind of fake it, but I don't plan on backporting this to F12. Closing as a dupe of 532216

*** This bug has been marked as a duplicate of bug 532216 ***