<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Nov 16, 2014 at 1:00 PM, Harm Weites <span dir="ltr"><<a href="mailto:harm@weites.com" target="_blank">harm@weites.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi,<br>
<br>
My cloud recently got extended with some simple ARM hosts so now I'd<br>
like Glance to offer ARM images next to x86_64. However, I'm unsure on<br>
how to do just that.<br>
<br>
I've added Cirros 0.3.3 using the following glance commands:<br>
<br>
glance image-create --name='Cirros 0.3.3 ARM (kernel)'<br>
--disk-format=aki --container-format=aki < cirros-0.3.3-arm-kernel<br>
glance image-create --name='Cirros 0.3.3 ARM (ramdisk)'<br>
--disk-format=ari --container-format=ari < cirros-0.3.3-arm-initramfs<br>
glance image-create --name="Cirros 0.3.3 ARM" --disk-format=ami<br>
--container-format=ami --property architecture=armv7l --property<br>
kernel_id=\$KUUID --property ramdisk_id=\$RUUID <<br>
cirros-0.3.3-arm-rootfs.img<br>
<br>
But this results in an unusable image, from which I can't create a new<br>
volume to use for boot. The image is stuck in a queued-state:<br>
<br>
| ce98688b-35ab-4b0b-b8d0-1396631e82d9 | Cirros 0.3.0<br>
ARM | ami | ami | |<br>
queued |<br>
| 1c371d20-656d-42fb-9b2d-0ee129bedf91 | Cirros 0.3.0 ARM<br>
kernel | aki | aki | 3741276 | active |<br>
| 2bf96321-7986-4b09-a9b5-2b8c47463b4a | Cirros 0.3.0 ARM<br>
ramdisk | ari | ari | 2023036 | active |<br>
<br>
Next I tried importing the ubuntu cloud image<br>
(utopic-server-cloudimg-armhf-disk1) but booting a new instance from<br>
that results in nothing - console.log stays empty so it presumably fails.<br>
<br>
How should I add ARM images to Glance to make Nova happily boot new ARM<br>
instances? Are there any specifics I need to take into account in an<br>
ARM-scenario?<br></blockquote><div><br></div><div>Check out <a href="http://docs.openstack.org/cli-reference/content/chapter_cli-glance-property.html" target="_blank">http://docs.openstack.org/cli-reference/content/chapter_cli-glance-property.html</a></div><div><br></div><div>Can you find the architecture of the underlying node?</div><div><span style="color:rgb(0,0,0);font-family:Verdana,Geneva,sans-serif;font-size:13.63636302948px">architecture: The CPU architecture that must be supported by the hypervisor. </span><span style="color:rgb(0,0,0);font-family:Verdana,Geneva,sans-serif;font-size:13.63636302948px">Run </span><span style="color:rgb(0,0,0);font-family:Verdana,Geneva,sans-serif;font-size:13.63636302948px"><strong>uname -m</strong></span><span style="color:rgb(0,0,0);font-family:Verdana,Geneva,sans-serif;font-size:13.63636302948px"> to get the architecture of a machine. </span><br></div><div><span style="color:rgb(0,0,0);font-family:Verdana,Geneva,sans-serif;font-size:13.63636302948px"><br></span></div><div>You may also need to find the Libvirt machine type. Valid types can be viewed by using the virsh capabilities command (machine types are displayed in the machine tag).</div><div><br></div><div>Please log a doc bug if you see anything outdated on that page. </div><div>Thanks,</div><div>Anne</div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
Regards,<br>
Harm<br>
<br>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
</blockquote></div><br></div></div>