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

SUSE Enterprise Storage 7

Situation

Customer is experiencing the following or similar message with ceph commands:
#==[ 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

Run ``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

Ceph command fail due to image not being tagged.
Note line "Using recent ceph image registry.suse.com/ses/7/ceph/ceph:<none>" in the above message, with no tag.

Status

Top Issue

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

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback@suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center