8fdf752ae9
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
10 lines
444 B
YAML
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>`_.
|