Volume image metadata values were limited to 255 characters but Glance
allows up to 65535 (considering it uses a TEXT field in MySQL). Cinder
database also uses a TEXT field for those values so it made no sense to
limit them to 255. The actual values could already be longer when they
were copied from the image at volume creation time.
Reviewed: https:/ /review. opendev. org/c/openstack /cinder/ +/868485 /opendev. org/openstack/ cinder/ commit/ 0bd1bd699d51162 557dd0791ac6e79 cb3149db8c
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 0bd1bd699d51162 557dd0791ac6e79 cb3149db8c
Author: Jorge Merlino <email address hidden>
Date: Fri Dec 23 09:46:43 2022 -0300
Increase size of volume image metadata values
Volume image metadata values were limited to 255 characters but Glance
allows up to 65535 (considering it uses a TEXT field in MySQL). Cinder
database also uses a TEXT field for those values so it made no sense to
limit them to 255. The actual values could already be longer when they
were copied from the image at volume creation time.
Closes-Bug: #1988942 2b34bdd20dd1f3f c656ec5650f
Change-Id: Id200ae93384a45