[openstack-dev] [Cinder]a question about os-volume_upload_image
Mike Perez
thingee at gmail.com
Mon Apr 7 15:29:05 UTC 2014
On 22:55 Wed 02 Apr , Mike Perez wrote:
> On 02:58 Thu 03 Apr , Bohai (ricky) wrote:
> > Hi,
> >
> > When I use an image to create a cinder volume, I found image's metadata is saved into DB table "volume_glance_metadata".
> >
> > But when I use " os-volume_upload_image" to create image from cinder volume, the metadata in "volume_glance_metadata"
> > is not setted back to the newly created image. I can't found the reason for this.
> > Anyone can give me a hint?
> >
> > I am a newbie for cinder and i apologize if I am missing something very obvious.
> >
> > Best regards to you.
> > Ricky
>
> Hi Ricky,
>
> The glance metadata is currently only stored for creating new volumes, new
> snapshots or backups. It's used for in the volume creation to know if the
> volume is bootable.
>
> --
> Mike Perez
Correction to myself, the glance metadata is no longer used for determining if
a volume is bootable.
https://github.com/openstack/cinder/commit/c8f814569d07544734f10f134e146ce981639e07
--
Mike Perez
More information about the OpenStack-dev
mailing list