{"action":"created","issue":{"url":"https://api.github.com/repos/apache/cloudstack/issues/940","labels_url":"https://api.github.com/repos/apache/cloudstack/issues/940/labels{/name}","comments_url":"https://api.github.com/repos/apache/cloudstack/issues/940/comments","events_url":"https://api.github.com/repos/apache/cloudstack/issues/940/events","html_url":"https://github.com/apache/cloudstack/pull/940","id":111969729,"number":940,"title":"CLOUDSTACK-8952 - The redundant routers are facing a race condition due to several KeepaliveD/ConntrackD restarts","user":{"login":"wilderrodrigues","id":5129209,"avatar_url":"https://avatars.githubusercontent.com/u/5129209?v=3","gravatar_id":"","url":"https://api.github.com/users/wilderrodrigues","html_url":"https://github.com/wilderrodrigues","followers_url":"https://api.github.com/users/wilderrodrigues/followers","following_url":"https://api.github.com/users/wilderrodrigues/following{/other_user}","gists_url":"https://api.github.com/users/wilderrodrigues/gists{/gist_id}","starred_url":"https://api.github.com/users/wilderrodrigues/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilderrodrigues/subscriptions","organizations_url":"https://api.github.com/users/wilderrodrigues/orgs","repos_url":"https://api.github.com/users/wilderrodrigues/repos","events_url":"https://api.github.com/users/wilderrodrigues/events{/privacy}","received_events_url":"https://api.github.com/users/wilderrodrigues/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-10-17T15:57:52Z","updated_at":"2015-10-19T19:18:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/cloudstack/pulls/940","html_url":"https://github.com/apache/cloudstack/pull/940","diff_url":"https://github.com/apache/cloudstack/pull/940.diff","patch_url":"https://github.com/apache/cloudstack/pull/940.patch"},"body":"This PR fixes the following issues:\r\n\r\n* KeepAliveD being restarted for each action performed on the routers\r\n* ConntrackD configuration being copied for each action performed on the routers, causing several restarts\r\n* ACS Management Server relying in the JSON file to report which router is Master/Backup\r\n* Public Interface on both routers are in UP state due to several places checking if the interface is UP/DOWN and trying to do KeepAliveD\r\n* Removing all the sleeps from the test_vpc_redundant.py - those are no longer needed\r\n* When KeepAliveD calls master.py during the election, update the cmdline.json to set the router in Backup mode: the election will take care of changing it afterwards.\r\n* Add LB stats_rules to iptables INPUT chain\r\n* The RVR public interface is set to eth2 instead of eth1 - as in the rVPC. Make sure the check works in both cases\r\n\r\nThose fixes make all the routers very stable, with ACL, FW, PF and LB working just fine!"},"comment":{"url":"https://api.github.com/repos/apache/cloudstack/issues/comments/149317933","html_url":"https://github.com/apache/cloudstack/pull/940#issuecomment-149317933","issue_url":"https://api.github.com/repos/apache/cloudstack/issues/940","id":149317933,"user":{"login":"michaelandersen","id":1824239,"avatar_url":"https://avatars.githubusercontent.com/u/1824239?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelandersen","html_url":"https://github.com/michaelandersen","followers_url":"https://api.github.com/users/michaelandersen/followers","following_url":"https://api.github.com/users/michaelandersen/following{/other_user}","gists_url":"https://api.github.com/users/michaelandersen/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelandersen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelandersen/subscriptions","organizations_url":"https://api.github.com/users/michaelandersen/orgs","repos_url":"https://api.github.com/users/michaelandersen/repos","events_url":"https://api.github.com/users/michaelandersen/events{/privacy}","received_events_url":"https://api.github.com/users/michaelandersen/received_events","type":"User","site_admin":false},"created_at":"2015-10-19T19:18:51Z","updated_at":"2015-10-19T19:18:51Z","body":"LGTM!"}}