[Openstack] Proper way of adding ARM image to Glance

Harm Weites harm at weites.com
Sun Nov 16 19:00:34 UTC 2014


Hi,

My cloud recently got extended with some simple ARM hosts so now I'd
like Glance to offer ARM images next to x86_64. However, I'm unsure on
how to do just that.

I've added Cirros 0.3.3 using the following glance commands:

 glance image-create --name='Cirros 0.3.3 ARM (kernel)'
--disk-format=aki --container-format=aki < cirros-0.3.3-arm-kernel
 glance image-create --name='Cirros 0.3.3 ARM (ramdisk)'
--disk-format=ari --container-format=ari < cirros-0.3.3-arm-initramfs
 glance image-create --name="Cirros 0.3.3 ARM" --disk-format=ami
--container-format=ami --property architecture=armv7l --property
kernel_id=\$KUUID --property ramdisk_id=\$RUUID <
cirros-0.3.3-arm-rootfs.img

But this results in an unusable image, from which I can't create a new
volume to use for boot. The image is stuck in a queued-state:

| ce98688b-35ab-4b0b-b8d0-1396631e82d9 | Cirros 0.3.0
ARM                  | ami         | ami              |            |
queued |
| 1c371d20-656d-42fb-9b2d-0ee129bedf91 | Cirros 0.3.0 ARM
kernel           | aki         | aki              | 3741276    | active |
| 2bf96321-7986-4b09-a9b5-2b8c47463b4a | Cirros 0.3.0 ARM
ramdisk          | ari         | ari              | 2023036    | active |

Next I tried importing the ubuntu cloud image
(utopic-server-cloudimg-armhf-disk1) but booting a new instance from
that results in nothing - console.log stays empty so it presumably fails.

How should I add ARM images to Glance to make Nova happily boot new ARM
instances? Are there any specifics I need to take into account in an
ARM-scenario?

Regards,
Harm




More information about the Openstack mailing list