<div>OpenStackers -</div><div><br></div><div>Image metadata values in glance can be as large as you want. The database column type is Text, <a href="https://github.com/openstack/glance/blob/master/glance/db/sqlalchemy/models.py#LC130">https://github.com/openstack/glance/blob/master/glance/db/sqlalchemy/models.py#LC130</a> . I've tried it and can put large values in glance and get them out.</div>
<div><br></div><div>When you boot an image, nova stores the metadata, truncating values larger than 255. The database column is String(255), <a href="https://github.com/openstack/nova/blob/master/nova/db/sqlalchemy/models.py#LC789">https://github.com/openstack/nova/blob/master/nova/db/sqlalchemy/models.py#LC789</a> .</div>
<div><br></div><div>I'm wondering if this is intentional or an oversight. As in, nova should be able to store the full image metadata values.</div><div><br></div><div>I don't know of any specific problems this would cause other than what I'm prototyping, which requires large-ish image metadata. I can work around it by fetching the metadata from glance rather than use what nova gives me, but there's probably a reason why nova makes a snapshot of the image metadata.</div>
<div><br></div><div>- Brant Knudson</div><div><br></div>