Comment 3 for bug 1023250

Revision history for this message
Tushar Patil (tpatil) wrote :

In my environment, I only see one device of disk type in libvirt.xml of the instance

Partial libvirt.xml:
<devices>
    <disk type="file" device="cdrom">
        <driver type="qcow2" cache="none"/>
        <source file="/opt/stack/nova/instances/instance-00000012/disk"/>
        <target bus="ide" dev="vda"/>
    </disk>
</devices>

Listing of instance directory:-
root@ubuntu-dev-001:/opt/stack/nova/instances/instance-00000012# ls -lrt
total 140
-rw-rw-r-- 1 tpatil libvirtd 1283 2012-07-11 11:25 libvirt.xml
-rw-r--r-- 1 libvirt-qemu kvm 197120 2012-07-11 11:25 disk
-rw-rw---- 1 tpatil kvm 0 2012-07-11 11:25 console.log

The instance is running in active state, but I cannot access the instance either by ssh or ping (security group is configured properly).

root@ubuntu-dev-001:# virsh list
 Id Name State
----------------------------------
 15 instance-00000012 running

Just wondering, why I'm not able to see 2 devices of disk type like yours.