Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use SystemdCgroup running in ubuntu error #1361

Closed
lengrongfu opened this issue Dec 1, 2023 · 3 comments
Closed

use SystemdCgroup running in ubuntu error #1361

lengrongfu opened this issue Dec 1, 2023 · 3 comments

Comments

@lengrongfu
Copy link

lengrongfu commented Dec 1, 2023

crun version:

crun version 1.9
commit: a538ac4ea1ff319bcfe2bf81cb5c6f687e2dc9d3
rundir: /run/user/1001/crun
spec: 1.0.0

containerd: main

error info:

 failed to create containerd task: failed to create shim task: OCI runtime create failed: sd-bus call: Transport endpoint is not connected: Transport endpoint is not connected: unknown

cat /sys/fs/cgroup/cgroup.controllers

cpuset cpu io memory hugetlb pids rdma misc

$ systemctl status

State: running
     Jobs: 0 queued
   Failed: 0 units
    Since: Fri 2023-12-01 00:14:43 UTC; 11min ago
   CGroup: /
           ├─user.slice 
           │ └─user-1001.slice 
           │   └─user@1001.service 
           │     ├─user.slice 
           │     │ └─podman-pause-731124[22](https://github.com/containerd/containerd/actions/runs/7053834109/job/19201720065?pr=9350#step:18:23)26098885559.scope 
           │     │   └─1511 /usr/bin/podman
           │     ├─app.slice 
           │     │ └─dbus.service 
           │     │   └─1628 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
           │     └─init.scope 
           │       ├─1460 /lib/systemd/systemd --user
           │       └─1461 (sd-pam)
           ├─init.scope 
           │ └─1 /sbin/init
           ├─system.slice 
           │ ├─irqbalance.service 
           │ │ └─583 /usr/sbin/irqbalance --foreground
           │ ├─haveged.service 
           │ │ └─384 /usr/sbin/haveged --Foreground --verbose=1
           │ ├─runner-provisioner.service 
           │ │ ├─  593 /opt/runner/provisioner/provisioner --agentdirectory /home/runner/runners --settings /opt/runner/provisioner/.settings
           │ │ ├─ 1692 /opt/runner/provisioner/etc/provjobd
           │ │ ├─ 1703 /home/runner/runners/2.311.0/bin/Runner.Listener run
           │ │ ├─ 1719 /home/runner/runners/2.311.0/bin/Runner.Worker spawnclient 110 113
           │ │ ├─58676 /usr/bin/bash -e /home/runner/work/_temp/bb36620e-fedd-4da4-abaf-9bcbdef1b020.sh
           │ │ └─58678 systemctl status
           │ ├─containerd.service 
           │ │ └─602 /usr/bin/containerd
           │ ├─hv-kvp-daemon.service 
           │ │ └─276 /usr/lib/linux-tools/6.2.0-1016-azure/hv_kvp_daemon -n
           │ ├─packagekit.service 
           │ │ └─[25](https://github.com/containerd/containerd/actions/runs/7053834109/job/19201720065?pr=9350#step:18:26)51 /usr/libexec/packagekitd
           │ ├─systemd-networkd.service 
           │ │ └─465 /lib/systemd/systemd-networkd
           │ ├─systemd-udevd.service 
           │ │ └─205 /lib/systemd/systemd-udevd
           │ ├─cron.service 
           │ │ └─6[33](https://github.com/containerd/containerd/actions/runs/7053834109/job/19201720065?pr=9350#step:18:34) /usr/sbin/cron -f -P
           │ ├─system-serial\x2dgetty.slice 
           │ │ └─serial-getty@ttyS0.service 
           │ │   └─1455 /sbin/agetty -o -p -- \u --keep-baud 115200,57600,[38](https://github.com/containerd/containerd/actions/runs/7053834109/job/19201720065?pr=9350#step:18:39)[40](https://github.com/containerd/containerd/actions/runs/7053834109/job/19201720065?pr=9350#step:18:41)0,9600 ttyS0 vt220
           │ ├─docker.service 
           │ │ └─867 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
           │ ├─polkit.service 
           │ │ └─2555 /usr/libexec/polkitd --no-debug
           │ ├─networkd-dispatcher.service 
           │ │ └─584 /usr/bin/python3 /usr/bin/networkd-dispatcher --run-startup-triggers
           │ ├─multipathd.service 
           │ │ └─194 /sbin/multipathd -d -s
           │ ├─mono-xsp4.service 
           │ │ └─659 /usr/bin/mono /usr/lib/mono/4.5/xsp4.exe --port 8084 --address 0.0.0.0 --appconfigdir /etc/xsp4 --nonstop
           │ ├─systemd-journald.service 
           │ │ └─150 /lib/systemd/systemd-journald
           │ ├─ssh.service 
           │ │ └─6[45](https://github.com/containerd/containerd/actions/runs/7053834109/job/19201720065?pr=9350#step:18:46) sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups
           │ ├─snapd.service 
           │ │ └─597 /usr/lib/snapd/snapd
           │ ├─rsyslog.service 
           │ │ └─592 /usr/sbin/rsyslogd -n -iNONE
           │ ├─chrony.service 
           │ │ ├─677 /usr/sbin/chronyd -F 1
           │ │ └─686 /usr/sbin/chronyd -F 1
           │ ├─php8.1-fpm.service 
           │ │ ├─586 php-fpm: master process (/etc/php/8.1/fpm/php-fpm.conf)
           │ │ ├─884 php-fpm: pool www
           │ │ └─898 php-fpm: pool www
           │ ├─systemd-resolved.service 
           │ │ └─[46](https://github.com/containerd/containerd/actions/runs/7053834109/job/19201720065?pr=9350#step:18:47)7 /lib/systemd/systemd-resolved
           │ ├─dbus.service 
           │ │ └─[57](https://github.com/containerd/containerd/actions/runs/7053834109/job/19201720065?pr=9350#step:18:58)8 @dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
           │ ├─system-getty.slice 
           │ │ └─getty@tty1.service 
           │ │   └─1457 /sbin/agetty -o -p -- \u --noclear tty1 linux
           │ └─systemd-logind.service 
           │   └─[59](https://github.com/containerd/containerd/actions/runs/7053834109/job/19201720065?pr=9350#step:18:60)9 /lib/systemd/systemd-logind
           └─azure.slice 
             └─walinuxagent.service 
               ├─[60](https://github.com/containerd/containerd/actions/runs/7053834109/job/19201720065?pr=9350#step:18:61)0 /usr/bin/python3 -u /usr/sbin/waagent -daemon
               └─9[74](https://github.com/containerd/containerd/actions/runs/7053834109/job/19201720065?pr=9350#step:18:75) python3 -u bin/WALinuxAgent-2.10.0.6-py3.9.egg -run-exthandlers

ci: https://github.com/containerd/containerd/actions/runs/6845550903/job/18610989315

@lengrongfu lengrongfu changed the title use SystemdCgroup running ubuntu error use SystemdCgroup running in ubuntu error Dec 1, 2023
@giuseppe
Copy link
Member

giuseppe commented Dec 1, 2023

there were several fixes to the systemd backend since 1.9, would it be possible to try with crun 1.12?

@lengrongfu
Copy link
Author

Thanks, I'll test it later.

@lengrongfu
Copy link
Author

thanks, it effect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants