[tor-bugs] #33834 [Internal Services/Tor Sysadmin Team]: nevii IP address change planned for Ganeti migration

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Apr 6 19:39:08 UTC 2020


#33834: nevii IP address change planned for Ganeti migration
-------------------------------------------------+-------------------------
 Reporter:  anarcat                              |          Owner:  anarcat
     Type:  task                                 |         Status:
                                                 |  accepted
 Priority:  High                                 |      Milestone:
Component:  Internal Services/Tor Sysadmin Team  |        Version:
 Severity:  Major                                |     Resolution:
 Keywords:  tpa-roadmap-march                    |  Actual Points:
Parent ID:  #33082                               |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by anarcat):

 first test adoption tells me:

 {{{
 Mon Apr  6 19:24:35 2020  - INFO: Chose IP 49.12.57.130 from network gnt-
 fsn13-02
 }}}

 i also had a crash in `renumber-instances` because the new network (`gnt-
 fsn13-02`) did not have an IPv6 configuration. i hacked around that
 problem by reassigning the same /64 than inside the `gnt-fsn` network, but
 that seems totally gross right now. i also improved error handling (in
 `cd31b77`) so that it would warn the user instead of just crashing on such
 situations in the future.

 still, it worked as far as ganeti/debian is concerned and yielded a diff
 like this:

 {{{
 --- /mnt/etc/network/interfaces.bak     2020-04-06 19:30:55.884709093
 +0000
 +++ /mnt/etc/network/interfaces 2020-04-06 19:30:57.076699317 +0000
 @@ -6,11 +6,11 @@
  iface lo inet loopback

  # The primary network interface
 -allow-hotplug eth0
 +auto eth0
  iface eth0 inet static
 -    address 138.201.212.229/28
 -    gateway 138.201.212.225
 +    address 49.12.57.130/27
 +    gateway 49.12.57.129
  iface eth0 inet6 static
      accept_ra 0
 -    address 2a01:4f8:172:39ca:0:dad3:5:1/96
 -    gateway 2a01:4f8:172:39ca:0:dad3:0:1
 +    address 2a01:4f8:fff0:4f:266:37ff:febd:dd6/64
 +    gateway 2a01:4f8:fff0:4f::1
 copying /mnt/etc/hosts to /mnt/etc/hosts.bak on fsn-node-05.torproject.org
 rewriting host file /mnt/etc/hosts on <Connection host=fsn-
 node-05.torproject.org user=root>
 --- /mnt/etc/hosts.bak  2020-04-06 19:31:00.600670406 +0000
 +++ /mnt/etc/hosts      2020-04-06 19:31:02.688653278 +0000
 @@ -3,7 +3,7 @@
  ##

  127.0.0.1       localhost
 -138.201.212.229        nevii.torproject.org nevii
 +49.12.57.130 nevii.torproject.org nevii

  # The following lines are desirable for IPv6 capable hosts
  ::1     localhost ip6-localhost ip6-loopback
 @@ -12,3 +12,4 @@
  ff02::1 ip6-allnodes
  ff02::2 ip6-allrouters
  ff02::3 ip6-allhosts
 +2a01:4f8:fff0:4f:266:37ff:febd:dd6 nevii.torproject.org nevii
 }}}

 ipv6 networking seems to work, so i think we're all clear for a live
 migration next.

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


More information about the tor-bugs mailing list