Re: [Openstack] Glance image add error

2012-07-25 Thread Eoghan Glynn


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@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp
 

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Glance image add error

2012-07-25 Thread Dmitry Ukov
Try container_format=bare instead container_format=ovf

On Wed, Jul 25, 2012 at 1:40 PM, Eoghan Glynn egl...@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@lists.launchpad.net
  Unsubscribe : https://launchpad.net/~openstack
  More help   : https://help.launchpad.net/ListHelp
 

 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp




-- 
Kind regards
Dmitry Ukov
IT Engineer
Mirantis, Inc.
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Glance image add error

2012-07-25 Thread Miguel Alejandro González
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 du...@mirantis.com wrote:

 Try container_format=bare instead container_format=ovf


 On Wed, Jul 25, 2012 at 1:40 PM, Eoghan Glynn egl...@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@lists.launchpad.net
  Unsubscribe : https://launchpad.net/~openstack
  More help   : https://help.launchpad.net/ListHelp
 

 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp




 --
 Kind regards
 Dmitry Ukov
 IT Engineer
 Mirantis, Inc.



___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Glance image add error

2012-07-25 Thread Dmitry Ukov
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 
maggo...@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 du...@mirantis.com wrote:

 Try container_format=bare instead container_format=ovf


 On Wed, Jul 25, 2012 at 1:40 PM, Eoghan Glynn egl...@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@lists.launchpad.net
  Unsubscribe : https://launchpad.net/~openstack
  More help   : https://help.launchpad.net/ListHelp
 

 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@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.
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Glance image add error

2012-07-24 Thread Miguel Alejandro González
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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp