here's the registry.log<br><a href="http://pastebin.com/CVrkiFdp">http://pastebin.com/CVrkiFdp</a><br><br>and api.log<br><a href="http://pastebin.com/6eGfcpi0">http://pastebin.com/6eGfcpi0</a><br><br>The logs maybe have some problems with authentication, but im assuming they were resolved since the command "glance index" throws no auth error<br>

<br><br>I ran the command <br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">glance add name="Ubuntu 11.10" is_public=true container_format=bare disk_format=qcow2 < ubuntu-11.10-server-cloudimg-amd64-disk1.img <br>

</blockquote><br>and I get the same error, with no activity on the logs<br><br><br>regards!<br><br><br><br><br><br><br><div class="gmail_quote">On Wed, Jul 25, 2012 at 6:40 AM, Dmitry Ukov <span dir="ltr"><<a href="mailto:dukov@mirantis.com" target="_blank">dukov@mirantis.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Try container_format=bare instead container_format=ovf<div class="HOEnZb"><div class="h5"><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><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/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
> Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
> Unsubscribe : <a href="https://launchpad.net/%7Eopenstack" 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/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/%7Eopenstack" 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></div></div><span class="HOEnZb"><font color="#888888">-- <br>Kind regards<div>Dmitry Ukov</div><div>IT Engineer</div><div><div>Mirantis, Inc.</div></div><div><br></div>

<br>
</font></span></blockquote></div><br>