Page MenuHomeSoftware Heritage

Migrate giverny from stretch to buster
Closed, MigratedEdits Locked

Description

Plan:

  • stop services (mongod, etc...) on wednesday the 17th (evening)
  • check no more mongod running
  • ardumont (dist-) upgrades on thursday the 18th
  • checks that everything is fine (suspend, reboots ok, disk mounts, ...)
  • double check with @grouss

Event Timeline

ardumont triaged this task as Normal priority.Nov 8 2021, 11:29 AM
ardumont created this task.
ardumont changed the task status from Open to Work in Progress.Nov 10 2021, 3:36 PM
ardumont moved this task from Backlog to in-progress on the System administration board.
ardumont updated the task description. (Show Details)
ardumont added a subscriber: grouss.
  • Check if mongo services still running, there are some:
root@giverny:~# date; ps aux | grep mongo
Thu Nov 18 09:19:20 CET 2021
grouss    3578 64.1  6.9 33059300 11395928 ?   Sl   Jul12 119111:34 mongod --fork --dbpath=/srv/softwareheritage/scratch.2/grouss/provenance-swh/datamodel7/mongodb-swh/ --wiredTigerEngineConfigString=cache_size=32000M --port 37017 --logpath ./mongodblog/mongo.37017.log --profile=0 --slowms=300 --noIndexBuildRetry
root     24898  0.0  0.0  14464   936 pts/2    S+   09:19   0:00 grep mongo
grouss   25101  1.6  4.0 8555072 6744412 ?     Sl   Oct28 484:17 mongod --fork --dbpath=/srv/softwareheritage/scratch.3/grouss/provenance-swh/datamodel7/mongodb-swhtmp/ --wiredTigerEngineConfigString=cache_size=8000M --port 37018 --logpath ./mongodblog/mongo.37018.log --profile=0 --slowms=300 --noIndexBuildRetry
  • @grouss stopped the services in question
  • Then the actual upgrade (roughly):
root@giverny $ apt upgrade -y
root@giverny $ reboot
root@giverny $ # Update sources.list references to buster
root@giverny $ sed -i s's/stretch/buster/g' /etc/apt/sources.list.d/*.list
root@giverny $ apt upgrade
root@giverny $ apt dist-upgrade
root@giverny $ reboot

And now giverny seems to refuse to boot back. Stopping a bit that part as I cannot check further yet.
I'll check the desktop machine physically tomorrow.

ardumont renamed this task from Migrate giverny from stretch to bullseye to Migrate giverny from stretch to buster.Nov 19 2021, 10:39 AM
ardumont updated the task description. (Show Details)

And now giverny seems to refuse to boot back. Stopping a bit that part as I cannot check further yet.

Mounting volumes was the root cause.
After fixing those in fstab, giverny boots back.
It's now in buster.

And i'll stop at buster in the end.

ardumont claimed this task.
ardumont updated the task description. (Show Details)