[Openstack] Glance image add error

Dmitry Ukov dukov at mirantis.com
Thu Jul 26 05:40:43 UTC 2012


>2012-07-24 21:25:19 998     INFO [keystone.middleware.auth_token] Invalid
user token - rejecting request
Seems that you have some errors with keystone and glance communication. See
keystone log.

On Wed, Jul 25, 2012 at 5:46 PM, Miguel Alejandro González <
maggonzz at gmail.com> wrote:

> here's the registry.log
> http://pastebin.com/CVrkiFdp
>
> and api.log
> http://pastebin.com/6eGfcpi0
>
> The logs maybe have some problems with authentication, but im assuming
> they were resolved since the command "glance index" throws no auth error
>
>
> I ran the command
>
> glance add name="Ubuntu 11.10" is_public=true container_format=bare
>> disk_format=qcow2 < ubuntu-11.10-server-cloudimg-amd64-disk1.img
>>
>
> and I get the same error, with no activity on the logs
>
>
> regards!
>
>
>
>
>
>
>
> On Wed, Jul 25, 2012 at 6:40 AM, Dmitry Ukov <dukov at mirantis.com> wrote:
>
>> Try container_format=bare instead container_format=ovf
>>
>>
>> On Wed, Jul 25, 2012 at 1:40 PM, Eoghan Glynn <eglynn at redhat.com> wrote:
>>
>>>
>>>
>>> Can you provide relevant glance-api and -registry log excerpts?
>>>
>>> Also probably best to track this as a glance question[1] or bug[2].
>>>
>>> Cheers,
>>> Eoghan
>>>
>>> [1] https://answers.launchpad.net/glance
>>> [2] https://bugs.launchpad.net/glance
>>>
>>> ----- Original Message -----
>>> >
>>> > Hello
>>> >
>>> > I'm getting this error from glance  when i try to add an image, plz
>>> > help
>>> >
>>> > Failed to add image. Got error:
>>> >
>>> > The response body:
>>> > {"badMethod": {"message": "The server could not comply with the
>>> > request since it is either malformed or otherwise incorrect.",
>>> > "code": 405}}
>>> > Note: Your image metadata may still be in the registry, but the
>>> > image's status will likely be 'killed'.
>>> >
>>> > I try to add the image with a command like this one:
>>> > glance add name="ubuntu-oneiric" is_public=true container_format=ovf
>>> > disk_format=qcow2 < ubuntu-11.10-server-cloudimg-amd64-disk1.img
>>> >
>>> > I'm using ubuntu server 12.04 as my OS and I'm using the ubuntu
>>> > packages to install OpenStack (by hand not using scripts)
>>> >
>>> > Thanks in advance!
>>> >
>>> > _______________________________________________
>>> > Mailing list: https://launchpad.net/~openstack
>>> > Post to     : openstack at lists.launchpad.net
>>> > Unsubscribe : https://launchpad.net/~openstack
>>> > More help   : https://help.launchpad.net/ListHelp
>>> >
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~openstack
>>> Post to     : openstack at lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~openstack
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>
>>
>>
>> --
>> Kind regards
>> Dmitry Ukov
>> IT Engineer
>> Mirantis, Inc.
>>
>>
>>
>


-- 
Kind regards
Dmitry Ukov
IT Engineer
Mirantis, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120726/267863ac/attachment.html>


More information about the Openstack mailing list