<div dir="ltr"><div>Glance does not really do anything with container_format at the moment. It is set to the same disk_format for the three Amazon image types(ami,aki,ari), ovf is also covered in image format, otherwise it just treats them as 'bare.' As such we will just set that to be that here instead of bothering the user with asking them for information we can already determine. Please have a look at</div>
<div>attached screenshot.</div><div><br></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div style="font-family:arial;font-size:small">Best Regards,<br>Swapnil Kulkarni<br>irc : coolsvap</div></div></div>
<br><div class="gmail_quote">On Mon, Aug 25, 2014 at 6:16 PM, Danny Choi (dannchoi) <span dir="ltr"><<a href="mailto:dannchoi@cisco.com" target="_blank">dannchoi@cisco.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif">
<div>With command “glance image-create", user can specify the “container-format” when creating an image:</div>
<span>
<div>
<div style="word-wrap:break-word;color:rgb(0,0,0)">
<div style="font-size:14px;font-family:Calibri,sans-serif"><br>
</div>
<div>
<p style="font-size:11px;font-family:Menlo;margin:0px">stack@Controller:~/devstack$ glance help image-create </p>
<p style="font-size:11px;font-family:Menlo;margin:0px">usage: glance image-create [--id <IMAGE_ID>] [--name <NAME>] [--store <STORE>]</p>
<p style="font-size:11px;font-family:Menlo;margin:0px"> [--disk-format <DISK_FORMAT>]</p>
<p style="font-size:11px;font-family:Menlo;margin:0px"> [<span style="background-color:rgb(255,255,0)">--container-format <CONTAINER_FORMAT></span>]</p>
<p style="font-size:11px;font-family:Menlo;margin:0px"> [--owner <TENANT_ID>] [--size <SIZE>]</p>
<p style="font-size:11px;font-family:Menlo;margin:0px"> [--min-disk <DISK_GB>] [--min-ram <DISK_RAM>]</p>
<p style="font-size:11px;font-family:Menlo;margin:0px"> [--location <IMAGE_URL>] [--file <FILE>]</p>
<p style="font-size:11px;font-family:Menlo;margin:0px"> [--checksum <CHECKSUM>] [--copy-from <IMAGE_URL>]</p>
<p style="font-size:11px;font-family:Menlo;margin:0px"> [--is-public {True,False}]</p>
<p style="font-size:11px;font-family:Menlo;margin:0px"> [--is-protected {True,False}]</p>
<p style="font-size:11px;font-family:Menlo;margin:0px"> [--property <key=value>] [--human-readable]</p>
<p style="font-size:11px;font-family:Menlo;margin:0px"> [--progress]</p>
<p style="font-size:11px;font-family:Menlo;margin:0px;min-height:13px"><br>
</p>
<p style="font-size:11px;font-family:Menlo;margin:0px">Create a new image.</p>
<p style="font-size:11px;font-family:Menlo;margin:0px;min-height:13px"><br>
</p>
<p style="font-size:11px;font-family:Menlo;margin:0px">Optional arguments:</p>
<p style="font-size:11px;font-family:Menlo;margin:0px"> --id <IMAGE_ID> ID of image to reserve.</p>
<p style="font-size:11px;font-family:Menlo;margin:0px"> --name <NAME> Name of image.</p>
<p style="font-size:11px;font-family:Menlo;margin:0px"> --store <STORE> Store to upload image to.</p>
<p style="font-size:11px;font-family:Menlo;margin:0px"> --disk-format <DISK_FORMAT></p>
<p style="font-size:11px;font-family:Menlo;margin:0px"> Disk format of image. Acceptable formats: ami, ari,</p>
<p style="font-size:11px;font-family:Menlo;margin:0px"> aki, vhd, vmdk, raw, qcow2, vdi, and iso.</p>
<p style="font-size:11px;font-family:Menlo;margin:0px"> <span style="background-color:rgb(255,255,0)">
--container-format <CONTAINER_FORMAT></span></p>
<p style="font-size:11px;font-family:Menlo;margin:0px"><span style="background-color:rgb(255,255,0)"> Container format of image. Acceptable formats: ami,</span></p>
<p style="font-size:11px;font-family:Menlo;margin:0px"><span style="background-color:rgb(255,255,0)"> ari, aki, bare, and ovf.</span></p>
<p style="font-size:11px;font-family:Menlo;margin:0px"><span style="background-color:rgb(255,255,0)"><br>
</span></p>
<p style="font-size:11px;font-family:Menlo;margin:0px"><span style="background-color:rgb(255,255,0)"><br>
</span></p>
<p style="margin:0px">Where is this option in Horizon?</p>
<p style="margin:0px"><br>
</p>
<p style="margin:0px">Thanks,</p>
<p style="margin:0px">Danny</p>
</div>
</div>
</div>
</span>
</div>
<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">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>
<br></blockquote></div><br></div></div>