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

_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to