Adding Atul.

On Oct 12, 2017, at 2:41 AM, Petr Jediný 
<petr.jed...@gmail.com<mailto:petr.jed...@gmail.com>> wrote:

Hello Devs,

I'm starting this thread to discuss the issue we have with subnet re-creation.
The step to reproduce are described in 
https://bugs.launchpad.net/opencontrail/+bug/1722837<https://urldefense.proofpoint.com/v2/url?u=https-3A__bugs.launchpad.net_opencontrail_-2Bbug_1722837&d=DwMFaQ&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=4SMc5wJ_FVS46-BSw4dDnrpmjQWP4eg0fer2nm244qg&m=z1IS1-Ix4qoeVjhJVbBtAMqqogQcRlEPmjiKD78Af2U&s=M8-jbugvrKk1COZlALMCOEQeboT3qIhws1RTA9lNCJs&e=>

We are using OpenContrail from R3.1.1.x branch, but I believe this issue is in 
all branches and is connected to haproxy setup and 'in-process caching' of 
subnets in api, when the cached subnets are not properly synchronized with 
other API processes on other nodes.

For now I did the workaround patch 
https://review.opencontrail.org/#/c/36418/<https://urldefense.proofpoint.com/v2/url?u=https-3A__review.opencontrail.org_-23_c_36418_&d=DwMFaQ&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=4SMc5wJ_FVS46-BSw4dDnrpmjQWP4eg0fer2nm244qg&m=z1IS1-Ix4qoeVjhJVbBtAMqqogQcRlEPmjiKD78Af2U&s=3fYdg59vD-0W2FpVISm00QD8FVc5sduMu2zuCg0NtOE&e=>
 But this patch only tries to solve the subnet re-creation and I believe the 
design of in process caching can cause other issues too, because the addr_mgmt 
is used in multiple other cases. One other issue I see  with this cache is it 
is growing without any limit, no LRU etc.

So the question is - Am I missing something or is this really design issue?

I think the proper way to fix is - not to use the 'in process cache'  - use 
external cache (e.g. redis) or nothing.
The workaround for working cloud can be to setup api proxy to not to do 
active-active (round robin or some other loadbalancing) but active-backup 
(backup check).

Any thoughts?

Regards,

Petr Jediny





_______________________________________________
Dev mailing list
Dev@lists.opencontrail.org<mailto:Dev@lists.opencontrail.org>
https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.opencontrail.org_mailman_listinfo_dev-5Flists.opencontrail.org&d=DwICAg&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=4SMc5wJ_FVS46-BSw4dDnrpmjQWP4eg0fer2nm244qg&m=z1IS1-Ix4qoeVjhJVbBtAMqqogQcRlEPmjiKD78Af2U&s=1UPrOrc-vAGYrEzNA7KY43f34_rL7LrElkvpEtzVrC4&e=

_______________________________________________
Dev mailing list
Dev@lists.opencontrail.org
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org

Reply via email to