<div dir="ltr">@Mike<div><br></div><div id="">Thanks. </div><div id=""><br></div><div id="">Sorry for misleading you. I mean that I know volume already has a bootable field. </div><div id=""><br></div><div id="">My question is that once a volume has been created, its glance_image_metadata will be immutable. However, the volume <span style="font-family:arial,sans-serif;font-size:14px" id="">is constantly having blocks changed, so some property of its glance_image_metadata will become overdue.</span></div>
<div id=""><span style="font-family:arial,sans-serif;font-size:14px"><br></span></div><div id=""><span style="font-family:arial,sans-serif;font-size:14px" id="aeaoofnhgocdbnbeljkmbjdmhbcokfdb-mousedown">The example is the "hw_scsi_mode" property of glance_image_metadata, which will affect the scsi controller used when booting from volume.</span></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">2014-05-07 11:09 GMT+08:00 Mike Perez <span dir="ltr"><<a href="mailto:thingee@gmail.com" target="_blank">thingee@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="">On 06:31 Wed 07 May , Trump.Zhang wrote:<br>
> Thanks for your further instructions.<br>
><br>
> I think the situations I mentioned are the reasonable use cases. They are<br>
> similar to the "bootable" volume use cases, user can create an empty volume<br>
> and install os in it from an image or create bootable volume from instance<br>
> ([1]).<br>
><br>
> If volume metadata is not intended to be interpreted by cinder or nova as<br>
> meaning anything, maybe Cinder needs to add support for updating some of<br>
> glance_image_metadata of volume or introduce new property for volume like<br>
> "bootable" ? I don't think these two methods are good either.<br>
><br>
> [1] <a href="https://blueprints.launchpad.net/cinder/+spec/add-bootable-option" target="_blank">https://blueprints.launchpad.net/cinder/+spec/add-bootable-option</a><br>
<br>
</div>Volume already has a bootable field:<br>
<br>
<a href="https://github.com/openstack/cinder/blob/master/cinder/db/sqlalchemy/models.py#L122" target="_blank">https://github.com/openstack/cinder/blob/master/cinder/db/sqlalchemy/models.py#L122</a><br>
<span class=""><font color="#888888"><br>
--<br>
Mike Perez<br>
</font></span><div class=""><div class="h5"><br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">-------------------<div>Best Regards</div><div><br></div><div>Trump.Zhang</div></div>
</div></div>