Try container_format=bare instead container_format=ovf<br><br><div class="gmail_quote">On Wed, Jul 25, 2012 at 1:40 PM, Eoghan Glynn <span dir="ltr"><<a href="mailto:eglynn@redhat.com" target="_blank">eglynn@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
Can you provide relevant glance-api and -registry log excerpts?<br>
<br>
Also probably best to track this as a glance question[1] or bug[2].<br>
<br>
Cheers,<br>
Eoghan<br>
<br>
[1] <a href="https://answers.launchpad.net/glance" target="_blank">https://answers.launchpad.net/glance</a><br>
[2] <a href="https://bugs.launchpad.net/glance" target="_blank">https://bugs.launchpad.net/glance</a><br>
<div><div class="h5"><br>
----- Original Message -----<br>
><br>
> Hello<br>
><br>
> I'm getting this error from glance  when i try to add an image, plz<br>
> help<br>
><br>
> Failed to add image. Got error:<br>
><br>
> The response body:<br>
> {"badMethod": {"message": "The server could not comply with the<br>
> request since it is either malformed or otherwise incorrect.",<br>
> "code": 405}}<br>
> Note: Your image metadata may still be in the registry, but the<br>
> image's status will likely be 'killed'.<br>
><br>
> I try to add the image with a command like this one:<br>
> glance add name="ubuntu-oneiric" is_public=true container_format=ovf<br>
> disk_format=qcow2 < ubuntu-11.10-server-cloudimg-amd64-disk1.img<br>
><br>
> I'm using ubuntu server 12.04 as my OS and I'm using the ubuntu<br>
> packages to install OpenStack (by hand not using scripts)<br>
><br>
> Thanks in advance!<br>
><br>
</div></div>> _______________________________________________<br>
> Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
> Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
> Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
> More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
><br>
<br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Kind regards<div>Dmitry Ukov</div><div>IT Engineer</div><div><div>Mirantis, Inc.</div></div><div><br></div><br>