[CentOS] KVM guest not running but cannot stop either
Dennis Jacobfeuerborn
dennisml at conversis.de
Tue Mar 17 22:13:21 UTC 2015
On 17.03.2015 20:45, James B. Byrne wrote:
> These are the messages that I get when trying to attach a virtio disk
> to or perform a shutdown of the problem vm guest.
>
>
> Add hardware
>
> This device could not be attached to the running machine. Would you
> like to make the device available after the next guest shutdown?
>
> Requested operation is not valid: cannot do live update a device on
> inactive domain
>
> Traceback (most recent call last):
> File "/usr/share/virt-manager/virtManager/addhardware.py", line
> 1095, in add_device
> self.vm.attach_device(self._dev)
> File "/usr/share/virt-manager/virtManager/domain.py", line 756, in
> attach_device
> self._backend.attachDevice(devxml)
> File "/usr/lib64/python2.6/site-packages/libvirt.py", line 403, in
> attachDevice
> if ret == -1: raise libvirtError ('virDomainAttachDevice()
> failed', dom=self)
> libvirtError: Requested operation is not valid: cannot do live update
> a device on inactive domain
>
>
> Shutdown domain:
>
> Error shutting down domain: Requested operation is not valid: domain
> is not running
>
> Traceback (most recent call last):
> File "/usr/share/virt-manager/virtManager/asyncjob.py", line 44, in
> cb_wrapper
> callback(asyncjob, *args, **kwargs)
> File "/usr/share/virt-manager/virtManager/asyncjob.py", line 65, in
> tmpcb
> callback(*args, **kwargs)
> File "/usr/share/virt-manager/virtManager/domain.py", line 1106, in
> shutdown
> self._backend.shutdown()
> File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1566, in
> shutdown
> if ret == -1: raise libvirtError ('virDomainShutdown() failed',
> dom=self)
> libvirtError: Requested operation is not valid: domain is not running
>
>
>
> They seem to be mutually exclusive and yet occur together nonetheless.
>
Have you tried restarting the libvirtd service?
Regards,
Dennis
More information about the CentOS
mailing list