Hello
I am getting an error on one node in my cluster (other nodes
are fine) when trying to run "cephadm shell". Historically
this machine has been used as the primary Ceph management
host, so it would be nice if this could be fixed.
ceph-1 ~ # cephadm -v shell
container_init=False
Inferring fsid 79656e6e-21e2-4092-ac04-d536f25a435d
Inferring config
/var/lib/ceph/79656e6e-21e2-4092-ac04-d536f25a435d/mon.ceph-1/config
Running command: /usr/bin/podman images --filter
label=ceph=True --filter dangling=false --format
{{.Repository}}@{{.Digest}}
/usr/bin/podman: stdout
docker.io/ceph/daemon-base@sha256:0810dc7db854150bc48cf8fc079875e28b3138d070990a630b8fb7cec7cd2ced
/usr/bin/podman: stdout
docker.io/ceph/ceph@sha256:54e95ae1e11404157d7b329d0bef866ebbb214b195a009e87aae4eba9d282949
/usr/bin/podman: stdout
docker.io/ceph/ceph@sha256:16d37584df43bd6545d16e5aeba527de7d6ac3da3ca7b882384839d2d86acc7d
Using recent ceph image
docker.io/ceph/daemon-base@sha256:0810dc7db854150bc48cf8fc079875e28b3138d070990a630b8fb7cec7cd2ced
Running command: /usr/bin/podman run --rm --ipc=host
--net=host --entrypoint stat -e
CONTAINER_IMAGE=docker.io/ceph/daemon-base@sha256:0810dc7db854150bc48cf8fc079875e28b3138d070990a630b8fb7cec7cd2ced
-e NODE_NAME=ceph-1
docker.io/ceph/daemon-base@sha256:0810dc7db854150bc48cf8fc079875e28b3138d070990a630b8fb7cec7cd2ced
-c %u %g /var/lib/ceph
stat: stdout 167 167
Running command (timeout=None): /usr/bin/podman run --rm
--ipc=host --net=host --privileged --group-add=disk -it -e
LANG=C -e PS1=[ceph: \u@\h \W]\$ -e
CONTAINER_IMAGE=docker.io/ceph/daemon-base@sha256:0810dc7db854150bc48cf8fc079875e28b3138d070990a630b8fb7cec7cd2ced
-e NODE_NAME=ceph-1 -v
/var/run/ceph/79656e6e-21e2-4092-ac04-d536f25a435d:/var/run/ceph:z
-v
/var/log/ceph/79656e6e-21e2-4092-ac04-d536f25a435d:/var/log/ceph:z
-v
/var/lib/ceph/79656e6e-21e2-4092-ac04-d536f25a435d/crash:/var/lib/ceph/crash:z
-v /dev:/dev -v /run/udev:/run/udev -v /sys:/sys -v
/run/lvm:/run/lvm -v /run/lock/lvm:/run/lock/lvm -v
/var/lib/ceph/79656e6e-21e2-4092-ac04-d536f25a435d/mon.ceph-1/config:/etc/ceph/ceph.conf:z
-v
/etc/ceph/ceph.client.admin.keyring:/etc/ceph/ceph.keyring:z
-v
/var/lib/ceph/79656e6e-21e2-4092-ac04-d536f25a435d/home:/root
--entrypoint bash
docker.io/ceph/daemon-base@sha256:0810dc7db854150bc48cf8fc079875e28b3138d070990a630b8fb7cec7cd2ced
Error: error checking path
"/var/lib/ceph/79656e6e-21e2-4092-ac04-d536f25a435d/mon.ceph-1/config":
stat
/var/lib/ceph/79656e6e-21e2-4092-ac04-d536f25a435d/mon.ceph-1/config:
no such file or directory
The machine in question doesn't run a mon daemon (but it did
a long time ago), so I am not sure why "cephadm shell" on
this particular machine is looking for mon.ceph-1/config
Can anybody help?
Thanks,
Vlad
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx