Bug #12249
Updated by Anonymous over 3 years ago
HAProxy makes changes to config.xml with extremely large commit messages (> 2K chars) This exceeds the capacity of the ACB system causing backups to be rejected/discarded.
Example commit message:
<pre>
"admin@172.16.1.2 (Local Database): Services: HAProxy: Frontend modified 'SSLFrontEnd' pool: advanced: "IyBSZW1vdmUgaGVhZGVycyB0aGF0IGV4cG9zZSBzZWN1cml0eS1zZW5zaXRpdmUgaW5mb3JtYXRpb24uDQpyc3BpZGVsIF5TZXJ2ZXI6LiokDQpyc3BpZGVsIF5YLVBvd2VyZWQtQnk6LiokDQpyc3BpZGVsIF5YLUFzcE5ldC1WZXJzaW9uOi4qJA0KDQojIGFkZCBzb21lIHNlY3VyaXR5IHJlbGF0ZWQgaGVhZGVycw0KI3JzcGFkZCBDb250ZW50LVNlY3VyaXR5LVBvbGljeTpcIGRlZmF1bHQtc3JjXCBcYGh0dHBzOlwgZGF0YTpcIFzigJh1bnNhZmUtaW5saW5lXFzigJlcIFxcJ3Vuc2FmZS1ldmFsXCcNCiNyc3BhZGQgQ29udGVudC1TZWN1cml0eS1Qb2xpY3k6XCBkZWZhdWx0LXNyY1wgJ3NlbGYnDQoNCnJzcGFkZCBYLUNvbnRlbnQtVHlwZS1PcHRpb25zOlwgbm9zbmlmZg0KcnNwYWRkIFgtWHNzLVByb3RlY3Rpb246XCAxO1wgbW9kZT1ibG9jaw0KcnNwYWRkIFgtRnJhbWUtT3B0aW9uczpcIFNBTUVPUklHSU4NCiNyc3BhZGQgU3RyaWN0LVRyYW5zcG9ydC1TZWN1cml0eTpcIG1heC1hZ2U9MTU1NTIwMDA7XCBpbmNsdWRlU3ViRG9tYWlucztcIHByZWxvYWQNCnJzcGFkZCBSZWZlcnJlci1Qb2xpY3k6XCBzdHJpY3Qtb3JpZ2luLXdoZW4tY3Jvc3Mtb3JpZ2luDQpyc3BhZGQgRmVhdHVyZS1Qb2xpY3k6XCAnbm9uZScNCnJzcGFkZCBFeHBlY3QtQ1Q6XCBtYXgtYWdlPTg2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
HAProxy should be updated to:
# Use more concise commit messages
# Bypass ACB when the change is not configuration related