Ask Your Question

virsh not running VM automatically

asked 2014-06-23 05:34:49 -0600

anonymous user


updated 2014-06-23 05:38:12 -0600


I'm trying to run VM from controller node onto compute node and it is stucking at spawning state.I'm able to get the libvirt.xml in /opt/stack/data/nova/instances/729482302900..... on the compute node  and below is the libvirt.xml file..

domain type="kvm">
    <type machine="ppce500">hvm</type>
    <cmdline>root=/dev/vda console=tty0 console=ttyS0</cmdline>
  <clock offset="utc">
    <timer name="pit" tickpolicy="delay"/>
    <timer name="rtc" tickpolicy="catchup"/>
    <disk type="file" device="disk">
      <driver name="qemu" type="qcow2" cache="none"/>
      <source file="/opt/stack/data/nova/instances/7210aa10-6c98-418a-b97e-94ef2dcbb7f3/disk"/>
      <target bus="virtio" dev="vda"/>
      <model type="virtio"/>
      <source bridge="qbr5d2ebebf-03"/>
      <target dev="tap5d2ebebf-03"/>
      <filterref filter="nova-instance-instance-00000003-fa163ebb2b75"/>
    <serial type="file">
      <source path="/opt/stack/data/nova/instances/7210aa10-6c98-418a-b97e-94ef2dcbb7f3/console.log"/>
    <serial type="pty"/>

I'm able to manually run VM through virsh and it is appearing running in virsh list but I'm not able to understand that why it is not able to run automatically from the cloud itself.

Below are the steps for running VM manually through virsh..

virsh undefine instance-00000003
virsh define libvirt.xml
virsh start  instance-00000003

Please help regarding this.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-06-23 09:50:45 -0600

Eric Xie gravatar image

You can get detail info from nova log(like: /var/log/nova/compute.log). Wish help!

edit flag offensive delete link more


There's not much help from the nova-compute logs.

Sonia gravatar imageSonia ( 2014-06-24 00:40:59 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-06-23 05:34:49 -0600

Seen: 178 times

Last updated: Jun 23 '14