Open alonsocamaro opened 8 years ago
The auto_sync ini setting has been removed in lbaasv2 and the agent will now only operate via replication mode. All references should have been removed. Did you find a doc reference?
What I meant is that when setting up the device cluster it should not be configured by the user with auto-sync given that it will have side effects with replication mode. I think this should be documented.
Also, we should bear in mind that a device cluster could be used with LBaaS and also with non-LBaaS services. So customers should take care that the LBaaS agent is not creating objects whilst somebody else is using config-sync.
Any updates on this?
I think the requester pointed out two things:
After deployment of config, the config-sync status shows up as changes pending, when it actually isn't, likely just the CIDs not the same, which makes sense. How do we make this a bit more cosmetically pleasing or can we mention that in the meantime a manual config sync from any device should clear up the status.
Due to this phenomenon, use of auto-sync is tempting but as mentioned this will cause more critical issues, thus should be explicitly documented not to be used in HA or scalen.
Update: sorry this looks to be already fixed: http://f5-openstack-lbaasv2-driver.readthedocs.io/en/latest/includes/topic_clustering.html?highlight=sync
Guess we can close this issue:?
OpenStack Release
Mitaka
Description
The current way that the agent works is to create the same LBaaS config in parallel in all units of the device cluster.
This makes that the units of the device cluster report that the they have configurations out of sync because synchronization although the configurations is the same.
Automatically sync-ing is not a good practice in many cases because the units in the device cluster might have different operational situations.
Using auto-sync could be a tempting option but it shouldn't be used because when deleting LBaaS objects will also happen in all units of the device cluster and in parallel auto-matic sync will try to re-sync the configurations at the same time. The result will be that the agent shows error messages like the following:
And the resulting configuration might end up screwed-up.
Agent Version
9.1
Operating System
Mirantis 9