[SAC] [OSGeo] #2858: Fix ability to setup old containers like centos 7 on Ubuntu 22.04 hosts

OSGeo trac_osgeo at osgeo.org
Sun Dec 11 10:57:36 PST 2022


#2858: Fix ability to setup old containers like centos 7 on Ubuntu 22.04 hosts
---------------------------+---------------------------------------
 Reporter:  robe           |      Owner:  sac@…
     Type:  task           |     Status:  new
 Priority:  normal         |  Milestone:  Sysadmin Contract 2022-II
Component:  Systems Admin  |   Keywords:
---------------------------+---------------------------------------
 I was trying to create a container for centos-7 for ci testing on osgeo8,
 but sadly after upgrading to Ubuntu 22.04 from 20.04 on osgeo8 and osgeo9,
 I am unable to create a container such as


 {{{
 lxc launch images:centos/7 centtie
 }}}

 Just yields error:  Error: The image used by this instance requires a
 CGroupV1 host system

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

 Doing this works fine on osgeo7 since it's still a Ubuntu 20.04.  so I'm
 going to hold of upgrading osgeo7 and osgeo3 until this issue is resolved,
 as I'm afraid many of our old debian containers probably relying on
 cgroupv1 may not start after.

 It's unclear at moment if it is a Ubuntu issue or a lxd issue.
 Other reports state there is no issue with servers that started off as
 Ubuntu 22.04. It's only an issue with upgraded servers thus suggesting an
 Ubuntu upgrade issue.
-- 
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2858>
OSGeo <https://osgeo.org/>
OSGeo committee and general foundation issue tracker.


More information about the Sac mailing list