KVM - config_drive <Image UUID> doesn't create disk.config
I'm testing config_drive function using latest trunk code.
Launch one server with config_drive set to <image-uuid>.
$nova boot --flavor 1 --image a1f827d7-
If the value is set to “image-UUID”, it builds a volume from the image and attaches it.
It should create disk.config file of size equal to image size on the compute node inside the instance folder. But this file doesn't exists in the instance folder.
root@ubuntu-
total 13708
-rw-rw-r-- 1 rohit libvirtd 1363 Jul 24 14:40 libvirt.xml
-rw-rw-r-- 1 libvirt-qemu kvm 4731440 Jul 24 14:40 kernel
-rw-rw-r-- 1 libvirt-qemu kvm 2254249 Jul 24 14:40 ramdisk
-rw-rw---- 1 libvirt-qemu kvm 16007 Jul 24 14:41 console.log
-rw-r--r-- 1 libvirt-qemu kvm 7143424 Jul 24 14:41 disk
I only see one disk attached to the instance in the libvirt.xml
<disk type="file" device="disk">
<driver type="qcow2" cache="none"/>
<source file="/
<target bus="virtio" dev="vda"/>
</disk>
After putting debug trace in nova.virt.
Is this a bug?
Note: If I set config_drive to True, then I could see disk.config inside instance folder of size 64MB as expected.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Davanum Srinivas (DIMS)
- Solved:
- Last query:
- Last reply: