Skip to content

failed to create DBus connection: dial unix /var/run/dbus/system_bus_socket: connect : no such file or directory #346

@SharonBX

Description

@SharonBX

Bug Description

hello , not sure what im doing wrong but i have

[root@bada-bing-workerbm-0 cbis-admin]# runc -v
runc version 1.1.12
commit: v1.1.12-0-g51d5e94
spec: 1.0.2-dev
go: go1.21.9
libseccomp: 2.5.2

and
[root@bada-bing-workerbm-0 cbis-admin]# containerd --version
containerd github.com/containerd/containerd v1.7.16 83031836b2cf55637d7abf847b17134c51b38e53

(upgraded from containerd containerd.io 1.6.31 by just untar containerd-1.7.16-linux-amd64.tar.gz , hope its good enough )

after installing all nri pods failing with
[root@bada-bing-workerbm-0 cbis-admin]# kubectl logs nri-resource-policy-balloons-kssz7 -n kube-system
Defaulted container "nri-resource-policy-balloons" out of: nri-resource-policy-balloons, patch-runtime (init)
time="2024-07-01T06:54:07Z" level=info msg="setting up D-Bus connection..."
time="2024-07-01T06:54:07Z" level=fatal msg="failed to autodetect container runtime: failed to create DBus connection: dial unix /var/run/dbus/system_bus_socket: connect
: no such file or directory"
[root@bada-bing-workerbm-0 cbis-admin]#

[root@bada-bing-workerbm-0 cbis-admin]# kubectl logs nri-resource-policy-balloons-kssz7 -n kube-system -c patch-runtime
time="2024-07-01T06:53:49Z" level=info msg="setting up D-Bus connection..."
time="2024-07-01T06:53:49Z" level=info msg="looking for active runtime units on D-Bus..."
time="2024-07-01T06:53:49Z" level=info msg="found containerd.service..."
time="2024-07-01T06:53:49Z" level=info msg="enabling NRI in containerd configuration..."
time="2024-07-01T06:53:49Z" level=info msg="restarting D-Bus unit containerd.service..."
time="2024-07-01T06:53:50Z" level=info msg="enabled NRI for containerd.service"
[root@bada-bing-workerbm-0 cbis-admin]#

any idea what am i missing ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions