← Back to team overview

openstack team mailing list archive

Re: Glance image add error

 

Try container_format=bare instead container_format=ovf

On Wed, Jul 25, 2012 at 1:40 PM, Eoghan Glynn <eglynn@xxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~openstack
> > More help   : https://help.launchpad.net/ListHelp
> >
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>



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

Follow ups

References