Project

General

Profile

Actions

Bug #12249

open

HAProxy causing failed ACB backups

Added by Anonymous over 3 years ago. Updated over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Auto Configuration Backup
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Plus-Next
Release Notes:
Default
Affected Version:
Affected Architecture:

Description

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:

"admin@172.16.1.2 (Local Database): Services: HAProxy: Frontend modified 'SSLFrontEnd' pool: advanced: "IyBSZW1vdmUgaGVhZGVycyB0aGF0IGV4cG9zZSBzZWN1cml0eS1zZW5zaXRpdmUgaW5mb3JtYXRpb24uDQpyc3BpZGVsIF5TZXJ2ZXI6LiokDQpyc3BpZGVsIF5YLVBvd2VyZWQtQnk6LiokDQpyc3BpZGVsIF5YLUFzcE5ldC1WZXJzaW9uOi4qJA0KDQojIGFkZCBzb21lIHNlY3VyaXR5IHJlbGF0ZWQgaGVhZGVycw0KI3JzcGFkZCBDb250ZW50LVNlY3VyaXR5LVBvbGljeTpcIGRlZmF1bHQtc3JjXCBcYGh0dHBzOlwgZGF0YTpcIFzigJh1bnNhZmUtaW5saW5lXFzigJlcIFxcJ3Vuc2FmZS1ldmFsXCcNCiNyc3BhZGQgQ29udGVudC1TZWN1cml0eS1Qb2xpY3k6XCBkZWZhdWx0LXNyY1wgJ3NlbGYnDQoNCnJzcGFkZCBYLUNvbnRlbnQtVHlwZS1PcHRpb25zOlwgbm9zbmlmZg0KcnNwYWRkIFgtWHNzLVByb3RlY3Rpb246XCAxO1wgbW9kZT1ibG9jaw0KcnNwYWRkIFgtRnJhbWUtT3B0aW9uczpcIFNBTUVPUklHSU4NCiNyc3BhZGQgU3RyaWN0LVRyYW5zcG9ydC1TZWN1cml0eTpcIG1heC1hZ2U9MTU1NTIwMDA7XCBpbmNsdWRlU3ViRG9tYWlucztcIHByZWxvYWQNCnJzcGFkZCBSZWZl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b2xpY3k6XCAnbm9uZScNCnJzcGFkZCBFeHBlY3QtQ1Q6XCBtYXgtYWdlPTg2NDAwDQojRXhwZWN0LUNUOiBtYXgtYWdlPTg2NDAwLCBlbmZvcmNlDQpvcHRpb24gZm9yd2FyZGZvcg0KDQo="" 

HAProxy should be updated to:

  1. Use more concise commit messages
  2. Bypass ACB when the change is not configuration related
Actions #1

Updated by Anonymous over 3 years ago

  • Description updated (diff)
Actions #2

Updated by Anonymous over 3 years ago

  • Assignee deleted (Anonymous)

The string "-NoReMoTeBaCkUp" can be added to a commit message to prevent it from being synced to ACB. The string is automatically removed from the message.

Actions #3

Updated by Viktor Gurov about 3 years ago

config.xml file size should be checked before upload, and produce an info box with "ACB config.xml size limit exceed" error in such cases

Actions #4

Updated by Jim Pingle over 2 years ago

  • Category changed from Backup / Restore to Auto Configuration Backup
  • Target version changed from Plus-Next to CE-Next
Actions

Also available in: Atom PDF