Bug #4276
closedupdate-osmo-ci-on-slaves fails on build2-deb8build-ansible
100%
Description
https://jenkins.osmocom.org/jenkins/job/update-osmo-ci-on-slaves/
The job runs fine on all other hosts, but on build2-deb8build-ansible it fails to rebuild the docker image:
cgroups: cannot find cgroup mount destination: unknown
I found this thread, with a proposed workaround: https://github.com/docker/for-linux/issues/219
Temp fix:
sudo mkdir /sys/fs/cgroup/systemd
sudo mount -t cgroup -o none,name=systemd cgroup /sys/fs/cgroup/systemd
So my guess is, that /sys/fs/cgroup/systemd is not mounted properly on the system?
FWIW, on my debian 9 installation, building the image works and /sys/fs/cgroup/systemd seems to get mounted automatically by systemd at boot. It is not in /etc/fstab.
Maybe a simple reboot fixes this. Can somebody with access to the server have a look at it?
Updated by laforge over 4 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 40
I just created that directory and mounted cgroupfs. I also added it to /etc/fstab, unmounted the manual mount and re-mounted it with 'mount -a', which worked. So I think even after reboot the directory/mount should now exist.
Updated by laforge over 4 years ago
- Status changed from In Progress to Resolved
- Assignee changed from 4368 to laforge
- % Done changed from 40 to 100
the problem was more complex. There was some backports.org feed installed, and parts of the system were using that (particularly for systemd). Due to some dependency nightmare, only libsystemd but no systemd package was installed anymore, and systemd was uninstallable. Manual deinstallation of the bpo packages and reinstallation from the normal jessie feeed helped. Once systemd was present agian, the cgroup mounting problem was gone.