[tor-bugs] #33446 [Internal Services/Tor Sysadmin Team]: migrate cupani/git-rw to the ganeti cluster, triggering an IP address change

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Mar 9 17:29:05 UTC 2020


#33446: migrate cupani/git-rw to the ganeti cluster, triggering an IP address
change
-------------------------------------------------+-------------------------
 Reporter:  anarcat                              |          Owner:  anarcat
     Type:  task                                 |         Status:
                                                 |  needs_review
 Priority:  High                                 |      Milestone:
Component:  Internal Services/Tor Sysadmin Team  |        Version:
 Severity:  Major                                |     Resolution:
 Keywords:  tpa-roadmap-march                    |  Actual Points:
Parent ID:  #33085                               |         Points:
 Reviewer:  irl                                  |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by anarcat):

 i'm going to re-sync cupani-new, discarding all local changes.

 local changes in /etc:

 {{{
 root at cupani-new:/etc# git diff --cached | cat
 diff --git a/network/interfaces b/network/interfaces
 index 68f9eec..4156ee4 100644
 --- a/network/interfaces
 +++ b/network/interfaces
 @@ -6,11 +6,23 @@ auto lo
  iface lo inet loopback

  # The primary network interface
 -allow-hotplug eth0
 +#allow-hotplug eth0
 +#iface eth0 inet static
 +#    address 78.47.38.228/28
 +#    gateway 78.47.38.225
 +#iface eth0 inet6 static
 +#    accept_ra 0
 +#    address 2a01:4f8:211:6e8:0:823:4:1/96
 +#    gateway 2a01:4f8:211:6e8:0:823:0:1
 +
 +auto eth0
  iface eth0 inet static
 -    address 78.47.38.228/28
 -    gateway 78.47.38.225
 +    address 116.202.120.182/27
 +    gateway 116.202.120.161
 +
  iface eth0 inet6 static
      accept_ra 0
 -    address 2a01:4f8:211:6e8:0:823:4:1/96
 -    gateway 2a01:4f8:211:6e8:0:823:0:1
 +    address 2a01:4f8:fff0:4f:266:37ff:fe5f:c6c6/64
 +    gateway 2a01:4f8:fff0:4f::1
 +#00:66:37:5f:c6:c6
 +#      IP: 116.202.120.182
 }}}

 sudoers was also changed, but that shouldn't matter in the final
 migration:

 {{{

 diff --git a/sudoers b/sudoers
 index 7052c06..149af16 100644
 --- a/sudoers
 +++ b/sudoers
 @@ -53,6 +53,7 @@ letsencrypt           nevii=(dnsadm)
 NOPASSWD: /srv/dns.torproject.org/bin/update
  %exonerator-web                materculae=(exonerator-web)
 ALL
  %fpcentral             forrestii=(fpcentral)                   ALL
  %gitolite              cupani=(git)                            ALL
 +%gitolite              cupani-new=(git)
 ALL
  %gitweb                        vineale=(gitweb)
 ALL
  %metrics               meronense=(metrics)                     ALL
  %onionoo               ONIONOOHOSTS=(onionoo)                  ALL
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/33446#comment:12>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list