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

sd-bus call: Transport endpoint is not connected: Transport endpoint is not connected #25461

Open
LukeTheWalker opened this issue Mar 4, 2025 · 3 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@LukeTheWalker
Copy link

Issue Description

Describe your issue
I am trying to build qiskit with rocm support and the guide makes use of Podman, when trying to run it with root permissions I get:

STEP 1/9: FROM rocm/rocm-terminal:latest
STEP 2/9: ARG UID=1000
--> Using cache 367b1e4d9e479d449789acb8d5df54f6b490ebb6e29549ce8f24b1cc671719f2
--> 367b1e4d9e4
STEP 3/9: ARG GID=1000
--> Using cache 25a10043db6e70629a9a4bc8370f51988fea052419f91409e6f7eb8f6d58f3d0
--> 25a10043db6
STEP 4/9: RUN  apt update &&      apt install -y cmake libspdlog-dev libopenblas-dev python3-dev mpich ninja-build rocblas rocthrust &&      mkdir /work &&      chown $UID:$GID /work
error running container: from /usr/bin/crun creating container for [/bin/sh -c apt update &&      apt install -y cmake libspdlog-dev libopenblas-dev python3-dev mpich ninja-build rocblas rocthrust &&      mkdir /work &&      chown $UID:$GID /work]: sd-bus call: Transport endpoint is not connected: Transport endpoint is not connected
: exit status 1
ERRO[0000] did not get container create message from subprocess: EOF 
Error: building at STEP "RUN apt update &&      apt install -y cmake libspdlog-dev libopenblas-dev python3-dev mpich ninja-build rocblas rocthrust &&      mkdir /work &&      chown $UID:$GID /work": while running runtime: exit status 1

Steps to reproduce the issue

I linked already the very small guide I was following, that is enough to reproduce and doesn't take any time at all

Describe the results you received

The container did not build

Describe the results you expected

I expected to build the container

podman info output

host:
  arch: amd64
  buildahVersion: 1.28.2
  cgroupControllers:
  - cpuset
  - cpu
  - io
  - memory
  - hugetlb
  - pids
  - rdma
  - misc
  cgroupManager: systemd
  cgroupVersion: v2
  conmon:
    package: conmon_2.1.6+ds1-1_amd64
    path: /usr/bin/conmon
    version: 'conmon version 2.1.6, commit: unknown'
  cpuUtilization:
    idlePercent: 100
    systemPercent: 0
    userPercent: 0
  cpus: 192
  distribution:
    codename: bookworm
    distribution: debian
    version: "12"
  eventLogger: journald
  hostname: larochette-6.luxembourg.grid5000.fr
  idMappings:
    gidmap: null
    uidmap: null
  kernel: 6.1.0-30-amd64
  linkmode: dynamic
  logDriver: journald
  memFree: 490895360000
  memTotal: 540489502720
  networkBackend: netavark
  ociRuntime:
    name: crun
    package: crun_1.8.1-1+deb12u1_amd64
    path: /usr/bin/crun
    version: |-
      crun version 1.8.1
      commit: f8a096be060b22ccd3d5f3ebe44108517fbf6c30
      rundir: /run/user/20120/crun
      spec: 1.0.0
      +SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +YAJL
  os: linux
  remoteSocket:
    exists: true
    path: /run/podman/podman.sock
  security:
    apparmorEnabled: true
    capabilities: CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,CAP_NET_BIND_SERVICE,CAP_SETFCAP,CAP_SETGID,CAP_SETPCAP,CAP_SETUID,CAP_SYS_CHROOT
    rootless: false
    seccompEnabled: true
    seccompProfilePath: /usr/share/containers/seccomp.json
    selinuxEnabled: false
  serviceIsRemote: false
  slirp4netns:
    executable: /usr/bin/slirp4netns
    package: slirp4netns_1.2.0-1_amd64
    version: |-
      slirp4netns version 1.2.0
      commit: 656041d45cfca7a4176f6b7eed9e4fe6c11e8383
      libslirp: 4.7.0
      SLIRP_CONFIG_VERSION_MAX: 4
      libseccomp: 2.5.4
  swapFree: 3999264768
  swapTotal: 3999264768
  uptime: 360h 5m 6.00s (Approximately 15.00 days)
plugins:
  authorization: null
  log:
  - k8s-file
  - none
  - passthrough
  - journald
  network:
  - bridge
  - macvlan
  volume:
  - local
registries:
  search:
  - docker.io
store:
  configFile: /usr/share/containers/storage.conf
  containerStore:
    number: 0
    paused: 0
    running: 0
    stopped: 0
  graphDriverName: overlay
  graphOptions: {}
  graphRoot: /var/lib/containers/storage
  graphRootAllocated: 3080323399680
  graphRootUsed: 38709944320
  graphStatus:
    Backing Filesystem: extfs
    Native Overlay Diff: "true"
    Supports d_type: "true"
    Using metacopy: "false"
  imageCopyTmpDir: /var/tmp
  imageStore:
    number: 3
  runRoot: /run/containers/storage
  volumePath: /var/lib/containers/storage/volumes
version:
  APIVersion: 4.3.1
  Built: 0
  BuiltTime: Thu Jan  1 01:00:00 1970
  GitCommit: ""
  GoVersion: go1.19.8
  Os: linux
  OsArch: linux/amd64
  Version: 4.3.1

Podman in a container

No

Privileged Or Rootless

Privileged

Upstream Latest Release

Yes

Additional environment details

Additional environment details

Additional information

Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting

@LukeTheWalker LukeTheWalker added the kind/bug Categorizes issue or PR as related to a bug. label Mar 4, 2025
@Luap99
Copy link
Member

Luap99 commented Mar 4, 2025

4.3.1 is way to old, we only support the latest release upstream. Please reproduce this with the podman v5.4.0

@LukeTheWalker
Copy link
Author

LukeTheWalker commented Mar 5, 2025

@Luap99 thanks for the input, I have now moved to 5.4.0 and the error changed to:

STEP 1/9: FROM rocm/rocm-terminal:latest
STEP 2/9: ARG UID=1000
--> Using cache 0aa9d11e70e46bbf90899d68336eb95f6a3e543b24d0cbd8f459b78d3591d380
--> 0aa9d11e70e4
STEP 3/9: ARG GID=1000
--> Using cache 84fd6e646c00bccc20643d6d28b5646059b85b11b5cda41abd5925ed04f2770a
--> 84fd6e646c00
STEP 4/9: RUN  apt update &&      apt install -y cmake libspdlog-dev libopenblas-dev python3-dev mpich ninja-build rocblas rocthrust &&      mkdir /work &&      chown $UID:$GID /work

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
E: List directory /var/lib/apt/lists/partial is missing. - Acquire (13: Permission denied)
Error: building at STEP "RUN apt update &&      apt install -y cmake libspdlog-dev libopenblas-dev python3-dev mpich ninja-build rocblas rocthrust &&      mkdir /work &&      chown $UID:$GID /work": while running runtime: exit status 100``` 

@Luap99
Copy link
Member

Luap99 commented Mar 5, 2025

That just looks like you run apt as regular user?

RUN apt update && apt ...

The link you provided shows: "RUN sudo apt update && "... so your Dockerfile seems invalid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

2 participants