Why is "sudo virsh" hanging in the console?

Posted by technophobia on Ask Ubuntu See other posts from Ask Ubuntu or by technophobia
Published on 2012-05-24T15:57:18Z Indexed on 2013/06/28 22:29 UTC
Read the original article Hit count: 216

Filed under:
|

I wanted to experiment with OpenStack on my iMac: So I installed Ubuntu Cloud Live Image on a VM and I also ran DevStack on a fresh Ubuntu 64-bit Server VM.

The DevStack script hangs on the following line:

instances=`sudo virsh list --all | grep $INSTANCE_NAME_PREFIX | sed "s/.*\($INSTANCE_NAME_PREFIX[0-9a-fA-F]*\).*/\1/g"`

I commented that block and ran the script again, this time it did not hang; thus completing its run.

I attempted to run sudo virsh list --all on my CloudLive VM and it just hands until I break out of it.

Why is sudo virsh hanging?

Your help is appreciated.


Note 1: The virsh command responds without sudo.

Note 2: Not sure it matters, but I'm running my Virtual Machines in VMWare Fusion.

© Ask Ubuntu or respective owner

Related posts about virtualization

Related posts about OpenStack