[Openstack] using uec qcow2 images in openstack?

Jesse Andrews anotherjesse at gmail.com
Tue Sep 27 06:58:03 UTC 2011


I can add "ami" style images to diablo nova/glance via:

    wget http://uec-images.ubuntu.com/natty/current/natty-server-cloudimg-amd64.tar.gz
    
    tar -zxvf natty-server-cloudimg-amd64.tar.gz

    glance add  -A KEYSTONE_TOKEN name="uec-natty-kernel" is_public=true container_format=aki \
        disk_format=aki < natty-server-cloudimg-amd64-vmlinuz-virtual
    
    # use the returned id as the kernel for the image

    glance add -A KEYSTONE_TOKEN name="uec-natty" is_public=true container_format=ami kernel_id=4 \
        disk_format=ami < natty-server-cloudimg-amd64.img


BUT I don't know how to use the newer oneiric qcow2 image:

    wget http://uec-images.ubuntu.com/oneiric/current/oneiric-server-cloudimg-armel-disk1.img

    glance add  -A KEYSTONE_TOKEN name="uec-oneiric-qcow2"  is_public=true container_format=ovf \
        disk_format=qcow2 --host=dev2.rcb.me < oneiric-server-cloudimg-armel-disk1.img

It doesn't appear to launch (no console output) and vnc shows "Booting from Hard Disk…" and never moves forward.

Anyone used the oneiric qcow2 image with nova?



More information about the Openstack mailing list