Opened 2 years ago

Closed 22 months ago

#2827 closed task (fixed)

Upgrade osgeo3 lxd host to Ubuntu 22.04

Reported by: robe Owned by: sac@…
Priority: normal Milestone: Sysadmin Contract 2023-I
Component: SysAdmin Keywords:
Cc:

Description

osgeo3 is currently running 20.04. Plan to upgrade it to 22.04.

Note osgeo4, it's closest compadre has already been upgraded to 22.04 with no issues.

Should wait off till elections are over.

Change History (5)

comment:1 by robe, 23 months ago

Milestone: Sysadmin Contract 2022-IISysadmin Contract 2023-I

pushing to next milestone since my contract funds have been used.

comment:2 by robe, 22 months ago

Going to start this process shortly.

comment:3 by robe, 22 months ago

I'm going to hold off on this until I have console access. I seem to have lost console access to the osgeo3 server, and like to have that before I do a hard upgrade in case something goes wrong and needs a hard reboot or some other more invasive fix.

comment:4 by robe, 22 months ago

Now that I have console access again, I'm going to start the process of upgrading.

This will affect matrix, repo.osgeo.org, gallery, monitor, geo-docs

I don't expect more than 30 minutes downtime.

comment:5 by robe, 22 months ago

Resolution: fixed
Status: newclosed

Took a little longer than I had hoped.

nexus after the upgrade of host, the docker would not start with error.

cgroups: cannot found cgroup mount destination

Doing the same fix as I did on osgeo4 (to allow creating old containers did the trick)

 https://discuss.linuxcontainers.org/t/2nd-system-upgraded-from-ubuntu-20-04-w-working-lxd-to-ubuntu-22-04-lxd-again-not-working/14009/30 

{{{
Edit /etc/default/grub and ensure that GRUB_CMDLINE_LINUX contains systemd.unified_cgroup_hierarchy=false:

E.g.

GRUB_CMDLINE_LINUX="systemd.unified_cgroup_hierarchy=false"

Then run:

sudo update-grub
sudo reboot

}}}

In the process I also ended up upgrading nexus and docker. I'll write up in separate ticket.


Note: See TracTickets for help on using tickets.