cephadm fails with: "ceph: stderr ERROR (catatonit:7): failed to exec pid1: No such file or directory"
Issue
- cephadm bootstrap failed with error "ceph: stderr ERROR (catatonit:7): failed to exec pid1: No such file or directory":
# cephadm --image 10.11.12.13:5000/rhceph/rhceph-5-rhel8:latest bootstrap --mon-ip 10.11.12.14 --allow-fqdn-hostname --cluster-network 10.11.15.0/24 --yes-i-know
Verifying podman|docker is present...
Verifying lvm2 is present...
Verifying time synchronization is in place...
Unit chronyd.service is enabled and running
Repeating the final host check...
podman (/usr/bin/podman) version 3.2.3 is present
systemctl is present
lvcreate is present
Unit chronyd.service is enabled and running
Host looks OK
Cluster fsid: 52358b22-d5c5-11ec-bcab-3cfdfecaa3a8
Verifying IP 10.11.12.14 port 3300 ...
Verifying IP 10.11.12.14 port 6789 ...
Mon IP `10.11.12.14` is in CIDR network `10.11.12.0/24`
Pulling container image 10.11.12.13:5000/rhceph/rhceph-5-rhel8:latest...
Non-zero exit code 1 from /usr/bin/podman run --rm --ipc=host --stop-signal=SIGTERM --net=host --entrypoint ceph --init -e CONTAINER_IMAGE=10.11.12.13:5000/rhceph/rhceph-5-rhel8:latest -e NODE_NAME=ceph0.ocp4-dc1.tt-tim.tr -e CEPH_USE_RANDOM_NONCE=1 10.11.12.13:5000/rhceph/rhceph-5-rhel8:latest --version
ceph: stderr ERROR (catatonit:7): failed to exec pid1: No such file or directory
Traceback (most recent call last):
File "/usr/sbin/cephadm", line 8804, in <module>
main()
File "/usr/sbin/cephadm", line 8792, in main
r = ctx.func(ctx)
File "/usr/sbin/cephadm", line 1937, in _default_image
return func(ctx)
File "/usr/sbin/cephadm", line 4468, in command_bootstrap
image_ver = CephContainer(ctx, ctx.image, 'ceph', ['--version']).run().strip()
File "/usr/sbin/cephadm", line 3627, in run
desc=self.entrypoint, timeout=timeout)
File "/usr/sbin/cephadm", line 1615, in call_throws
raise RuntimeError('Failed command: %s' % ' '.join(command))
RuntimeError: Failed command: /usr/bin/podman run --rm --ipc=host --stop-signal=SIGTERM --net=host --entrypoint ceph --init -e CONTAINER_IMAGE=10.11.12.13:5000/rhceph/rhceph-5-rhel8:latest -e NODE_NAME=ceph0.ocp4-dc1.tt-tim.tr -e CEPH_USE_RANDOM_NONCE=1 10.11.12.13:5000/rhceph/rhceph-5-rhel8:latest --version
Environment
- Red Hat Ceph Storage (RHCS) 5.x
- The
Ceph Cluster
is in disconnected environment and unable to access internet
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.