-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
Describe the bug
when I run chef-client against goiardi it can't report node state back
to server:
INFO: HTTP Request Returned 500 Internal Server Error: Error 1406: Data too long for column 'extended_info' at row 1
It turned out the report is >100k which is too large for MariaDB's 'text' type of 64k
You should modify the schema:
--- /usr/share/goiardi/sql-files/sql-files/goiardi-schema-mysql.sql_orig 2019-02-14 18:44:26.000000000 +0100
+++ /usr/share/goiardi/sql-files/sql-files/goiardi-schema-mysql.sql 2019-12-07 21:52:23.159692624 +0100
@@ -269,7 +269,7 @@
`action` enum('create','delete','modify') NOT NULL,
`object_type` varchar(100) NOT NULL,
`object_name` varchar(255) NOT NULL,
- `extended_info` text,
+ `extended_info` mediumtext,
PRIMARY KEY (`id`),
KEY `actor_id` (`actor_id`),
KEY `action` (`action`),
Metadata
Metadata
Assignees
Labels
No labels