Page MenuHomeSoftware Heritage

migrate ns0 to bullseye
Closed, MigratedEdits Locked

Event Timeline

vsellier triaged this task as Normal priority.Dec 13 2021, 10:58 AM
vsellier created this task.
vsellier changed the task status from Open to Work in Progress.Dec 13 2021, 2:37 PM
vsellier claimed this task.

After several tests in vagrant, the upgrade looks ok, even if I couldn't succeed to have a complete local dns environment.

To secure the migration, a snapshot of the vm disk was done in azure before the upgrade. It can be found here: https://portal.azure.com/#blade/HubsExtension/BrowseResource/resourceType/Microsoft.Compute%2Fsnapshots

upgrade done following the T3799 procedure.

vsellier@ns0 ~ % cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
vsellier@ns0 ~ % uname -a
Linux ns0.euwest.azure.internal.softwareheritage.org 5.10.0-9-cloud-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux
 ❯ dig search0.internal.staging.swh.network @ns0.euwest.azure.internal.softwareheritage.org.                                                                                                                                                                                                                                                    

; <<>> DiG 9.16.22-Debian <<>> search0.internal.staging.swh.network @ns0.euwest.azure.internal.softwareheritage.org.
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21143
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
; COOKIE: 01055764b83afd9d0100000061b778ad6d6c9f7f864c5f87 (good)
;; QUESTION SECTION:
;search0.internal.staging.swh.network. IN A

;; ANSWER SECTION:
search0.internal.staging.swh.network. 43200 IN A 192.168.130.90

;; Query time: 20 msec
;; SERVER: 192.168.200.22#53(192.168.200.22)
;; WHEN: Mon Dec 13 17:45:33 CET 2021
;; MSG SIZE  rcvd: 109

 ❯ dig search1.internal.softwareheritage.org @ns0.euwest.azure.internal.softwareheritage.org.                                                                                                                                                                                                                                                   

; <<>> DiG 9.16.22-Debian <<>> search1.internal.softwareheritage.org @ns0.euwest.azure.internal.softwareheritage.org.
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44816
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
; COOKIE: 0df5ccca583c08d00100000061b778c99d72407f6364cec9 (good)
;; QUESTION SECTION:
;search1.internal.softwareheritage.org. IN A

;; ANSWER SECTION:
search1.internal.softwareheritage.org. 43200 IN	A 192.168.100.85

;; Query time: 24 msec
;; SERVER: 192.168.200.22#53(192.168.200.22)
;; WHEN: Mon Dec 13 17:46:01 CET 2021
;; MSG SIZE  rcvd: 110