[openstack-dev] [Cinder]a question about os-volume_upload_image

Bohai (ricky) bohai at huawei.com
Thu Apr 3 06:58:04 UTC 2014


Hi Mike,

Thanks for your time and your answer.

Whether it's better to provide an option for the user to make a image which inherit the volume stored glance metadata
by "os-volume_upload_image " ?
Maybe it's a convenience for the user in some cases.

Best regards to you.
Ricky

> -----Original Message-----
> From: Mike Perez [mailto:thingee at gmail.com]
> Sent: Thursday, April 03, 2014 1:55 PM
> To: OpenStack Development Mailing List (not for usage questions)
> Subject: Re: [openstack-dev] [Cinder]a question about
> os-volume_upload_image
> 
> 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
> 
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



More information about the OpenStack-dev mailing list