Sometimes on queens we can get the following error:
"""
2018-08-03 15:03:35.898 1544 ERROR oslo_messaging.rpc.server DBError: (pymysql.err.InternalError) (1118, u'The size of BLOB/TEXT data inserted in one transaction is greater than 10% of redo log size. Increase the redo log size using innodb_log_file_size.') [SQL: u'UPDATE action_executions_v2 SET updated_at=%(updated_at)s, state=%(state)s, accepted=%(accepted)s, output=%(output)s WHERE action_executions_v2.id = %(action_executions_v2_id)s'] [parameters: {'output': '{"result": {"log_path": "/tmp/ansible-mistral-actionIMP4Az/ansible.log", "stderr": "ansible-playbook 2.4.3.0\\n config file = /usr/share/ceph-ansibl ... (11486221 characters truncated) ... statements should not include jinja2 templating delimiters\\nsuch as {{ }} or {% %}. Found: {{ groups.get(mgr_group_name, []) | length > 0\\n}}\\n"}}', 'state': 'SUCCESS', 'accepted': 1, 'updated_at': datetime.datetime(2018, 8, 3, 19, 3, 35), 'action_executions_v2_id': u'f9170825-5b9c-4d41-b528-4b029a78796b'}] (Background on this error at: http://sqlalche.me/e/2j85)
"""
This is due to ansible output being stored in the db and it happens only in queens.
In fact starting with rocky we do not store this output in the DB any longer because we switched to config-dwonload workflow:
https://github.com/openstack/tripleo-common/blob/master/workbooks/deployment.yaml#L479
which has a parameter 'trash_output' which is set to true by default, meaning that we will not be storing the output in the db any longer.
In order to mitigate the problem in queens, we should increase the innodb log file size by default on the undercloud.
Fix proposed to branch: stable/queens /review. opendev. org/663595
Review: https:/