<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi,<br>
<br>
The node is supported:<br>
<br>
# uname -m<br>
armv7l<br>
<br>
As you can see I've used this value to specify a specific
architecture for my image.<br>
<br>
Libvirt is happy as well, as it supports the machine Nova is
hardcoded to use:<br>
<br>
<machine maxCpus='4'>vexpress-a15</machine><br>
<br>
-Harm<br>
<br>
<div class="moz-cite-prefix">Op 16-11-14 om 20:23 schreef Anne
Gentle:<br>
</div>
<blockquote
cite="mid:CAD0KtVG0d62z2tnkeY-4eEu80z0EgLiELQyLXEV=13HtGXUhjA@mail.gmail.com"
type="cite">
<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 moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
href="mailto:openstack@lists.openstack.org"
target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a moz-do-not-send="true"
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>
</blockquote>
<br>
</body>
</html>