cephadm shell报docker: invalid reference format.

what 发表于: 2023-12-14   最后更新时间: 2023-12-14 18:24:59   299 游览
# ./cephadm shell
Inferring fsid 6fab8a24-9a56-11ee-b249-0050568c92e9
Inferring config /var/lib/ceph/6fab8a24-9a56-11ee-b249-0050568c92e9/mon.node01/config
Using ceph image with id 'baf61ab265f8' and tag 'v18' created on 2023-10-28 05:56:33 +0800 CST
quay.io/ceph/ceph@<none>
Non-zero exit code 125 from /usr/bin/docker run --rm --ipc=host --stop-signal=SIGTERM --ulimit nofile=1048576 --net=host --entrypoint stat --init -e CONTAINER_IMAGE=quay.io/ceph/ceph@<none> -e NODE_NAME=node01 -e CEPH_USE_RANDOM_NONCE=1 quay.io/ceph/ceph@<none> -c %u %g /var/lib/ceph
stat: stderr docker: invalid reference format.
stat: stderr See 'docker run --help'.
ERROR: Failed to extract uid/gid for path /var/lib/ceph: Failed command: /usr/bin/docker run --rm --ipc=host --stop-signal=SIGTERM --ulimit nofile=1048576 --net=host --entrypoint stat --init -e CONTAINER_IMAGE=quay.io/ceph/ceph@<none> -e NODE_NAME=node01 -e CEPH_USE_RANDOM_NONCE=1 quay.io/ceph/ceph@<none> -c %u %g /var/lib/ceph: docker: invalid reference format.
发表于 2023-12-14

运行以下命令:

./cephadm add-repo --release reef
./cephadm install

重新执行就好了。

你的答案

查看Cephadm相关的其他问题或提一个您自己的问题