#2829 closed task (fixed)

Upgrade osgeo8 and osgeo9 to Ubuntu 22.04

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

Description

They are currently at focal 20.04

While all production things have been moved off of them, and new drives aren't expected til this Thursday, now is a good time

Change History (2)

comment:1 by robe, 21 months ago

I've upgraded these two but ran into one complication.

The containers are not getting ipv4 addresses. The culprit seems to be the ufw firewall, since if I turn it off, it can get an address.

Reading thru for example this suggests a ufw config is causing lxd rules to be dropped.

https://discuss.linuxcontainers.org/t/containers-not-getting-ipv4/6668/37

https://discuss.linuxcontainers.org/t/upgraded-to-ubuntu-20-10-now-no-ipv4/9340/7

Not sure why this wasn't an issue when I upgraded osgeo4

comment:2 by robe, 21 months ago

Resolution: fixed
Status: newclosed

okay this looks like it might be best solution https://discuss.linuxcontainers.org/t/lxd-bridge-doesnt-work-with-ipv4-and-ufw-with-nftables/10034/17

sudo ufw allow in on lxdbr0
sudo ufw route allow in on lxdbr0

That seemed to do the trick, but will restart to confirm and will update ansible accordingly

Although for some reason osgeo9 did not need this, all came back on its own. I'll add just in case.

Note: See TracTickets for help on using tickets.