SES7: Ceph command fail due to image not being tagged.
This document (000019923) is provided subject to the disclaimer at the end of this document.
Environment
Situation
#==[ Command ]======================================#
# /usr/sbin/cephadm shell -- timeout --verbose 10 ceph --connect-timeout=5 --status
Inferring fsid 546b7fe6-67d0-11eb-9673-b496912742b2
Using recent ceph image registry.suse.com/ses/7/ceph/ceph:<none>
Non-zero exit code 125 from /usr/bin/podman run --rm --ipc=host --net=host --entrypoint stat -e CONTAINER_IMAGE=registry.suse.com/ses/7/ceph/ceph:<none> -e NODE_NAME=cephadmin registry.suse.com/ses/7/ceph/ceph:<none> -c %u %g /var/lib/ceph
stat:stderr Error: invalid reference format
Traceback (most recent call last):
File "/usr/sbin/cephadm", line 6114, in <module>
r = args.func()
File "/usr/sbin/cephadm", line 1322, in _infer_fsid
return func()
File "/usr/sbin/cephadm", line 1353, in _infer_config
return func()
File "/usr/sbin/cephadm", line 1381, in _infer_image
return func()
File "/usr/sbin/cephadm", line 3474, in command_shell
make_log_dir(args.fsid)
File "/usr/sbin/cephadm", line 1476, in make_log_dir
uid, gid = extract_uid_gid()
File "/usr/sbin/cephadm", line 2085, in extract_uid_gid
raise RuntimeError('uid/gid not found')
RuntimeError: uid/gid not found
Resolution
salt '*' cmd.shell "podman images"
`` to determine which images do not have tags.Run ``
salt '*' cmd.shell "podman pull registry.suse.com/ses/7/ceph/ceph"
`` or
``salt '*' cmd.shell "podman pull registry.suse.com/ses/7/ceph/ceph:latest"
`` podman will pull down the images and should add a tag.Run ``
salt '*' cmd.shell "podman images"
`` to validate tags were added to the images.
Cause
Note line "Using recent ceph image registry.suse.com/ses/7/ceph/ceph:<none>" in the above message, with no tag.
Status
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000019923
- Creation Date: 22-Mar-2021
- Modified Date:22-Mar-2021
-
- SUSE Enterprise Storage
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com