I agree. Actually, I already have a BP on it: https://blueprints.launchpad.net/cinder/+spec/restore-image. I am happy for any suggestion.
Best regards. wanghong 2014-04-03 14:58 GMT+08:00 Bohai (ricky) <bo...@huawei.com>: > 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:thin...@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@lists.openstack.org > > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > _______________________________________________ > OpenStack-dev mailing list > OpenStack-dev@lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev >
_______________________________________________ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev