Staging instance, all changes can be removed at any time

Skip to content

network: clean old gateways and routes

  • Remove the legacy gateway entries
  • Remove louvre

Related to T1526

Test Plan

  • pergamon
diff origin/production/pergamon.softwareheritage.org current/pergamon.softwareheritage.org
*******************************************
  Concat::Fragment[eth1_stanza] =>
   parameters =>
     content =>
      @@ -5,9 +5,7 @@
         netmask 255.255.255.0
         up ip route add 192.168.101.0/24 via 192.168.100.1
      -  up ip route add 192.168.102.0/23 via 192.168.100.130
         up ip route add 192.168.200.0/21 via 192.168.100.1
      -  up ip route add 192.168.128.0/24 via 192.168.100.125
      -  up ip route add 192.168.130.0/24 via 192.168.100.130
      -  up ip route add 192.168.50.0/24 via 192.168.100.130
      +  up ip route add 192.168.130.0/24 via 192.168.100.1
      +  up ip route add 192.168.50.0/24 via 192.168.100.1
         up ip rule add from 192.168.100.29 table private
         up ip route add 192.168.100.0/24 src 192.168.100.29 dev eth1 table private
      @@ -17,9 +15,7 @@
         down ip route del 192.168.100.0/24 src 192.168.100.29 dev eth1 table private
         down ip rule del from 192.168.100.29 table private
      -  down ip route del 192.168.50.0/24 via 192.168.100.130
      -  down ip route del 192.168.130.0/24 via 192.168.100.130
      -  down ip route del 192.168.128.0/24 via 192.168.100.125
      +  down ip route del 192.168.50.0/24 via 192.168.100.1
      +  down ip route del 192.168.130.0/24 via 192.168.100.1
         down ip route del 192.168.200.0/21 via 192.168.100.1
      -  down ip route del 192.168.102.0/23 via 192.168.100.130
         down ip route del 192.168.101.0/24 via 192.168.100.1
         down ip route flush cache
*******************************************
  Concat_fragment[eth1_stanza] =>
   parameters =>
     content =>
      @@ -5,9 +5,7 @@
         netmask 255.255.255.0
         up ip route add 192.168.101.0/24 via 192.168.100.1
      -  up ip route add 192.168.102.0/23 via 192.168.100.130
         up ip route add 192.168.200.0/21 via 192.168.100.1
      -  up ip route add 192.168.128.0/24 via 192.168.100.125
      -  up ip route add 192.168.130.0/24 via 192.168.100.130
      -  up ip route add 192.168.50.0/24 via 192.168.100.130
      +  up ip route add 192.168.130.0/24 via 192.168.100.1
      +  up ip route add 192.168.50.0/24 via 192.168.100.1
         up ip rule add from 192.168.100.29 table private
         up ip route add 192.168.100.0/24 src 192.168.100.29 dev eth1 table private
      @@ -17,9 +15,7 @@
         down ip route del 192.168.100.0/24 src 192.168.100.29 dev eth1 table private
         down ip rule del from 192.168.100.29 table private
      -  down ip route del 192.168.50.0/24 via 192.168.100.130
      -  down ip route del 192.168.130.0/24 via 192.168.100.130
      -  down ip route del 192.168.128.0/24 via 192.168.100.125
      +  down ip route del 192.168.50.0/24 via 192.168.100.1
      +  down ip route del 192.168.130.0/24 via 192.168.100.1
         down ip route del 192.168.200.0/21 via 192.168.100.1
      -  down ip route del 192.168.102.0/23 via 192.168.100.130
         down ip route del 192.168.101.0/24 via 192.168.100.1
         down ip route flush cache
*******************************************
  Debnet::Iface[eth1] =>
   parameters =>
     downs =>
      - ["ip route del default via 192.168.100.1 dev eth1 table private", "ip route del 192.168.100.0/24 src 192.168.100.29 dev eth1 table private", "ip rule del from 192.168.100.29 table private", "ip route del 192.168.50.0/24 via 192.168.100.130", "ip route del 192.168.130.0/24 via 192.168.100.130", "ip route del 192.168.128.0/24 via 192.168.100.125", "ip route del 192.168.200.0/21 via 192.168.100.1", "ip route del 192.168.102.0/23 via 192.168.100.130", "ip route del 192.168.101.0/24 via 192.168.100.1", "ip route flush cache"]
      + ["ip route del default via 192.168.100.1 dev eth1 table private", "ip route del 192.168.100.0/24 src 192.168.100.29 dev eth1 table private", "ip rule del from 192.168.100.29 table private", "ip route del 192.168.50.0/24 via 192.168.100.1", "ip route del 192.168.130.0/24 via 192.168.100.1", "ip route del 192.168.200.0/21 via 192.168.100.1", "ip route del 192.168.101.0/24 via 192.168.100.1", "ip route flush cache"]
     ups =>
      - ["ip route add 192.168.101.0/24 via 192.168.100.1", "ip route add 192.168.102.0/23 via 192.168.100.130", "ip route add 192.168.200.0/21 via 192.168.100.1", "ip route add 192.168.128.0/24 via 192.168.100.125", "ip route add 192.168.130.0/24 via 192.168.100.130", "ip route add 192.168.50.0/24 via 192.168.100.130", "ip rule add from 192.168.100.29 table private", "ip route add 192.168.100.0/24 src 192.168.100.29 dev eth1 table private", "ip route add default via 192.168.100.1 dev eth1 table private", "ip route flush cache"]
      + ["ip route add 192.168.101.0/24 via 192.168.100.1", "ip route add 192.168.200.0/21 via 192.168.100.1", "ip route add 192.168.130.0/24 via 192.168.100.1", "ip route add 192.168.50.0/24 via 192.168.100.1", "ip rule add from 192.168.100.29 table private", "ip route add 192.168.100.0/24 src 192.168.100.29 dev eth1 table private", "ip route add default via 192.168.100.1 dev eth1 table private", "ip route flush cache"]
*******************************************

  Resource_record[internalgw/A+PTR] =>
   parameters =>
     record =>
      - 130.100.168.192.in-addr.arpa
      + 1.100.168.192.in-addr.arpa
*******************************************
  Resource_record[internalgw/A] =>
   parameters =>
     data =>
      - 192.168.100.130
      + 192.168.100.1
*******************************************
- Resource_record[staging-gateway/A+PTR]
*******************************************
- Resource_record[staging-gateway/A]
*******************************************
*** End octocatalog-diff on pergamon.softwareheritage.org
  • workers:
diff origin/production/worker01.softwareheritage.org current/worker01.softwareheritage.org
*******************************************
  Concat::Fragment[ens19_stanza] =>
   parameters =>
     content =>
      @@ -5,5 +5,4 @@
         netmask 255.255.255.0
         up ip route add 192.168.101.0/24 via 192.168.100.1
      -  up ip route add 192.168.102.0/23 via 192.168.100.130
         up ip route add 192.168.200.0/21 via 192.168.100.1
         up ip rule add from 192.168.100.21 table private
      @@ -15,5 +14,4 @@
         down ip rule del from 192.168.100.21 table private
         down ip route del 192.168.200.0/21 via 192.168.100.1
      -  down ip route del 192.168.102.0/23 via 192.168.100.130
         down ip route del 192.168.101.0/24 via 192.168.100.1
         down ip route flush cache
*******************************************
  Concat_fragment[ens19_stanza] =>
   parameters =>
     content =>
      @@ -5,5 +5,4 @@
         netmask 255.255.255.0
         up ip route add 192.168.101.0/24 via 192.168.100.1
      -  up ip route add 192.168.102.0/23 via 192.168.100.130
         up ip route add 192.168.200.0/21 via 192.168.100.1
         up ip rule add from 192.168.100.21 table private
      @@ -15,5 +14,4 @@
         down ip rule del from 192.168.100.21 table private
         down ip route del 192.168.200.0/21 via 192.168.100.1
      -  down ip route del 192.168.102.0/23 via 192.168.100.130
         down ip route del 192.168.101.0/24 via 192.168.100.1
         down ip route flush cache
*******************************************
  Debnet::Iface[ens19] =>
   parameters =>
     downs =>
      - ["ip route del default via 192.168.100.1 dev ens19 table private", "ip route del 192.168.100.0/24 src 192.168.100.21 dev ens19 table private", "ip rule del from 192.168.100.21 table private", "ip route del 192.168.200.0/21 via 192.168.100.1", "ip route del 192.168.102.0/23 via 192.168.100.130", "ip route del 192.168.101.0/24 via 192.168.100.1", "ip route flush cache"]
      + ["ip route del default via 192.168.100.1 dev ens19 table private", "ip route del 192.168.100.0/24 src 192.168.100.21 dev ens19 table private", "ip rule del from 192.168.100.21 table private", "ip route del 192.168.200.0/21 via 192.168.100.1", "ip route del 192.168.101.0/24 via 192.168.100.1", "ip route flush cache"]
     ups =>
      - ["ip route add 192.168.101.0/24 via 192.168.100.1", "ip route add 192.168.102.0/23 via 192.168.100.130", "ip route add 192.168.200.0/21 via 192.168.100.1", "ip rule add from 192.168.100.21 table private", "ip route add 192.168.100.0/24 src 192.168.100.21 dev ens19 table private", "ip route add default via 192.168.100.1 dev ens19 table private", "ip route flush cache"]
      + ["ip route add 192.168.101.0/24 via 192.168.100.1", "ip route add 192.168.200.0/21 via 192.168.100.1", "ip rule add from 192.168.100.21 table private", "ip route add 192.168.100.0/24 src 192.168.100.21 dev ens19 table private", "ip route add default via 192.168.100.1 dev ens19 table private", "ip route flush cache"]
*******************************************
*** End octocatalog-diff on worker01.softwareheritage.org
  • moma
diff origin/production/moma.softwareheritage.org current/moma.softwareheritage.org
*******************************************
  Concat::Fragment[eth1_stanza] =>
   parameters =>
     content =>
      @@ -5,5 +5,4 @@
         netmask 255.255.255.0
         up ip route add 192.168.101.0/24 via 192.168.100.1
      -  up ip route add 192.168.102.0/23 via 192.168.100.130
         up ip route add 192.168.200.0/21 via 192.168.100.1
         up ip rule add from 192.168.100.31 table private
      @@ -15,5 +14,4 @@
         down ip rule del from 192.168.100.31 table private
         down ip route del 192.168.200.0/21 via 192.168.100.1
      -  down ip route del 192.168.102.0/23 via 192.168.100.130
         down ip route del 192.168.101.0/24 via 192.168.100.1
         down ip route flush cache
*******************************************
  Concat_fragment[eth1_stanza] =>
   parameters =>
     content =>
      @@ -5,5 +5,4 @@
         netmask 255.255.255.0
         up ip route add 192.168.101.0/24 via 192.168.100.1
      -  up ip route add 192.168.102.0/23 via 192.168.100.130
         up ip route add 192.168.200.0/21 via 192.168.100.1
         up ip rule add from 192.168.100.31 table private
      @@ -15,5 +14,4 @@
         down ip rule del from 192.168.100.31 table private
         down ip route del 192.168.200.0/21 via 192.168.100.1
      -  down ip route del 192.168.102.0/23 via 192.168.100.130
         down ip route del 192.168.101.0/24 via 192.168.100.1
         down ip route flush cache
*******************************************
  Debnet::Iface[eth1] =>
   parameters =>
     downs =>
      - ["ip route del default via 192.168.100.1 dev eth1 table private", "ip route del 192.168.100.0/24 src 192.168.100.31 dev eth1 table private", "ip rule del from 192.168.100.31 table private", "ip route del 192.168.200.0/21 via 192.168.100.1", "ip route del 192.168.102.0/23 via 192.168.100.130", "ip route del 192.168.101.0/24 via 192.168.100.1", "ip route flush cache"]
      + ["ip route del default via 192.168.100.1 dev eth1 table private", "ip route del 192.168.100.0/24 src 192.168.100.31 dev eth1 table private", "ip rule del from 192.168.100.31 table private", "ip route del 192.168.200.0/21 via 192.168.100.1", "ip route del 192.168.101.0/24 via 192.168.100.1", "ip route flush cache"]
     ups =>
      - ["ip route add 192.168.101.0/24 via 192.168.100.1", "ip route add 192.168.102.0/23 via 192.168.100.130", "ip route add 192.168.200.0/21 via 192.168.100.1", "ip rule add from 192.168.100.31 table private", "ip route add 192.168.100.0/24 src 192.168.100.31 dev eth1 table private", "ip route add default via 192.168.100.1 dev eth1 table private", "ip route flush cache"]
      + ["ip route add 192.168.101.0/24 via 192.168.100.1", "ip route add 192.168.200.0/21 via 192.168.100.1", "ip rule add from 192.168.100.31 table private", "ip route add 192.168.100.0/24 src 192.168.100.31 dev eth1 table private", "ip route add default via 192.168.100.1 dev eth1 table private", "ip route flush cache"]
*******************************************
*** End octocatalog-diff on moma.softwareheritage.org
  • saam
*** Running octocatalog-diff on host saam.internal.softwareheritage.org
I, [2021-06-25T17:07:31.197613 #17309]  INFO -- : Catalogs compiled for saam.internal.softwareheritage.org
I, [2021-06-25T17:07:32.459262 #17309]  INFO -- : Diffs computed for saam.internal.softwareheritage.org
I, [2021-06-25T17:07:32.459294 #17309]  INFO -- : No differences
*** End octocatalog-diff on saam.internal.softwareheritage.org

Migrated from D5929 (view on Phabricator)

Merge request reports

Loading