cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dmabry <>
Subject [GitHub] cloudstack pull request: Apply static routes on change to master s...
Date Fri, 06 May 2016 20:38:04 GMT
Github user dmabry commented on the pull request:
    So, Si (@kiwiflyer) and I have been testing this functionality against VPCs in our lab
and we verified that static routes are indeed loaded when a VR goes from BACKUP to MASTER.
 The relevant logs showing that is works are below.  We are however still having problems
with the static routes not getting added on demand to the current MASTER VR.  Has anyone else
had this issue while running this commit?
    2016-05-06 20:32:20,795 DEBUG    {u'config': {u'router_id': u'2', u'baremetalnotificationapikey':
u'baremetalnotificationsecuritykey': u'B99mUf0oWKL7ATA5WF9iMb17nk1ePQ6kgg3YgWA0kJE2vCaGH52Z65EWDAyCaOYiZB1YPr40pWiwTlBt7_TTmg',
u'name': u'r-28-VM', u'eth0mask': u'', u'type': u'vpcrouter', u'dns1': u'',
u'privategateway': u'', u'vpccidr': u'', u'domain': u'cs2cloud.internal',
u'redundant_state': 'BACKUP', u'host': u'', u'disable_rp_filter': u'true', u'redundant_router':
u'true', u'router_password': u'3838383966687309145665215760380045387957133810480803993986340699863084083818544695063990662780164604461468366180051318649230056294824943648327772148445755',
u'redundant_master': False, u'port': u'8080', u'eth0ip': u'', u'template': u'domP'},
u'id': u'cmdline'}
    2016-05-06 20:32:20,796 DEBUG    Loading data bag type ips
    2016-05-06 20:32:20,796 DEBUG    Setting router to master
    2016-05-06 20:32:20,796 INFO     Will proceed configuring device ==> eth2
    2016-05-06 20:32:20,797 DEBUG    Executing: ip link set eth2 up
    2016-05-06 20:32:20,800 INFO     Bringing public interface eth2 up
    2016-05-06 20:32:20,800 INFO     Adding gateway ==> to device ==> eth2
    2016-05-06 20:32:20,801 INFO     Will proceed configuring device ==> eth1
    2016-05-06 20:32:20,801 DEBUG    Executing: ip link set eth1 up
    2016-05-06 20:32:20,804 INFO     Bringing public interface eth1 up
    2016-05-06 20:32:20,804 INFO     Adding gateway ==> to device ==> eth1
    2016-05-06 20:32:20,804 INFO     Checking if default ipv4 route is present
    2016-05-06 20:32:20,804 DEBUG    Executing: ip -4 route list 0/0
    2016-05-06 20:32:20,807 WARNING  No default route found!
    2016-05-06 20:32:20,807 INFO     Adding default route
    2016-05-06 20:32:20,807 DEBUG    Executing: ip route show default via
    2016-05-06 20:32:20,810 INFO     Add default via
    2016-05-06 20:32:20,810 DEBUG    Executing: ip route add default via
    2016-05-06 20:32:20,812 DEBUG    Configuring static routes
    2016-05-06 20:32:20,813 DEBUG    Loading data bag type staticroutes
    2016-05-06 20:32:20,813 DEBUG    Processing CsStaticRoutes file ==> {u'id': u'staticroutes',
u'': {u'revoke': False, u'ip_address': u'', u'gateway': u'',
u'network': u''}}
    2016-05-06 20:32:20,813 DEBUG    Executing: ip route show | grep | awk '{print
$1, $3}'
    2016-05-06 20:32:20,818 DEBUG    Executing: ip route add via
    2016-05-06 20:32:20,821 DEBUG    Executing: /usr/sbin/conntrackd -C /etc/conntrackd/conntrackd.conf
    2016-05-06 20:32:20,824 DEBUG    Executing: /usr/sbin/conntrackd -C /etc/conntrackd/conntrackd.conf
    2016-05-06 20:32:20,828 DEBUG    Executing: /usr/sbin/conntrackd -C /etc/conntrackd/conntrackd.conf
    2016-05-06 20:32:20,831 DEBUG    Executing: /usr/sbin/conntrackd -C /etc/conntrackd/conntrackd.conf

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message