Page MenuHomeSoftware Heritage

Migrate rp0.internal.staging.swh.network to bullseye
Closed, MigratedEdits Locked

Description

That's the reverse proxy (where no swh packages are installed [1]) that allows staging webapp, deposit, ... access.

[1] We do not address servers with swh packages yet.

Plan:

  • testing migration in vagrant
  • actual migration [2]
  • Update inventory with correct distribution
  • Update Vagrantfile with correct debian box

[2]

task=T3799
puppet agent --disable "$task: dist-upgrade to bullseye"
cd /etc
sed -i -e 's/buster/bullseye/;s,bullseye/updates,bullseye-security,' /etc/apt/sources.list.d/*
git status
git diff
grep bullseye-security /etc/apt/sources.list.d/debian-security.list
git add .
git commit -m "$task: Migrate sources.list to bullseye"
apt update
CMD="apt -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold"
export DEBIAN_FRONTEND=noninteractive
$CMD upgrade -y
$CMD dist-upgrade -y

reboot
apt autoremove -y
puppet agent --enable && puppet agent --test

Event Timeline

ardumont triaged this task as Normal priority.Dec 13 2021, 10:38 AM
ardumont created this task.

Checking through vagrant everything is running smoothly.

ardumont changed the task status from Open to Work in Progress.Dec 13 2021, 12:34 PM
ardumont updated the task description. (Show Details)
ardumont updated the task description. (Show Details)
ardumont updated the task description. (Show Details)

And:

  • migration done.
  • inventory updated
  • checks ok [1]

[1] The staging frontends (webapp, deposit) are still responsive afterwards.
So everything is good.

ardumont claimed this task.