ironic/releasenotes/notes/bug-2005377-5c63357681a465ec.yaml
Raphael Glon 9124a4a138 Truncate node text fields when too long
Pushing too long messages in the node last_error and maintenance reason can
cause node.save() failures, leaving the node in a transient state, with no
conductor actually handling it anymore.

Change-Id: Id4db377781f83cf4d97564ced9622d5a8a8c67af
Story: #2005377
Task: #30359
2019-04-19 10:27:00 +02:00

7 lines
322 B
YAML

---
fixes:
- Fixes node last_error and maintenance_reason overflow with too long error
messages, preventing the object from being correctly committed to database.
The maximum message length can be customized through a new configuration
parameter, ``[DEFAULT]/log_in_db_max_size`` (default, 4096 characters).