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
Change-Id: Id200ae93384a452b34bdd20dd1f3fc656ec5650f
(cherry picked from commit 0bd1bd699d51162557dd0791ac6e79cb3149db8c)
Reviewed: https:/ /review. opendev. org/c/openstack /cinder/ +/903828 /opendev. org/openstack/ cinder/ commit/ 2fb2ff99b4cbf61 5163dbd663b853d a590cd8995
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/2023.2
commit 2fb2ff99b4cbf61 5163dbd663b853d a590cd8995
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 557dd0791ac6e79 cb3149db8c)
Change-Id: Id200ae93384a45
(cherry picked from commit 0bd1bd699d51162