KVM guest failed to start after system crash

Solution Verified - Updated -

Issue

  • The RHEL KVM host crashed. After a reboot the redhat system came back fine, but the windows 8 guest VM failed as it has no disk.

  • The LUN shows up with the correct size as started but attempt to stop the storage get the following error:

Error stopping pool 'pc700': internal error Child process (/sbin/iscsiadm --mode node --portal 192.168.01:3260,1 --targetname iqn.2004-04.com.test:iscsi.target --logout) status unexpected: exit status 21
Details: 
Error stopping pool 'pc700': internal error Child process (/sbin/iscsiadm --mode node --portal 192.168.0.10:3260,1 --targetname iqn.2004-04.com.test:iscsi.target --logout) status unexpected: exit status 21

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/storagepool.py", line 68, in stop
    self.pool.destroy()
  File "/usr/lib64/python2.6/site-packages/libvirt.py", line 2153, in destroy
    if ret == -1: raise libvirtError ('virStoragePoolDestroy() failed', pool=self)
libvirtError: internal error Child process (/sbin/iscsiadm --mode node --portal 192.168.0.10:3260,1 --targetname iqn.2004-04.com.test:iscsi.target --logout) status unexpected: exit status 21

Environment

  • Red Hat Enterprise Linux 6.3
  • KVM
  • iSCSI

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content