ironic/releasenotes/notes/bug-1596421-0cb8f59073f56240.yaml
David Edery 8fdf752ae9 Increase the instance_info column size to LONGTEXT on MySQL/MariaDB
In MySQL, the maximum size of TEXT is 64KiB. The instance_info column
is defined as TEXT and can potentially hold big amount of data
(partly affected by cloud-init scripts for the node).

This patch-set resizes nodes.instance_info to LONGTEXT which allows up
to 4GiB of data to be stored in the column. This change is relevant only
to MySQL and does not affect PostgreSQL or any other DB flavor. The fix
also addresses the upgrade process of the column.

Change-Id: Ifb9a49d4258a559cf2175d902e9424a3f98065c5
Closes-Bug: #1596421
2018-02-20 09:22:30 -08:00

10 lines
444 B
YAML

---
upgrade:
- Extends the ``instance_info`` column in the nodes table for MySQL/MariaDB
from up to 64KiB to up to 4GiB (type is changed from TEXT to LONGTEXT).
This upgrade will not be executed on PostgreSQL as its TEXT is unlimited.
fixes:
- The config drive passed to the node can now contain more than 64KiB
in case of MySQL/MariaDB. For more details see `bug 1596421
<https://bugs.launchpad.net/ironic/+bug/1596421>`_.