Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1936745

Summary: "Mix" Image source in service description
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Sunil Kumar Nagaraju <sunnagar>
Component: CephadmAssignee: Adam King <adking>
Status: CLOSED CURRENTRELEASE QA Contact: Sunil Kumar Nagaraju <sunnagar>
Severity: low Docs Contact:
Priority: low    
Version: 5.0CC: adking, kdreyer, rmandyam, vereddy
Target Milestone: ---   
Target Release: 5.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-16.1.0-1323.el8cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-30 16:19:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 1 Adam King 2021-03-17 22:09:21 UTC
This issue is because some of the daemons have the image tag in their image name (ends with :<tag> like registry-proxy.engineering.redhat.com/rh-osbs/rhceph:ceph-5.0-rhel-8-containers-candidate-88573-20210304175114) and some contain the digest in their name (ends with @<digest> like registry-proxy.engineering.redhat.com/rh-osbs/rhceph@sha256:80bdce7d1155cf039139b8e2a954d2ed66b40df4bb08d048a0f51f6d18072be8). You'll notice the names are the same up until either the ":" or "@". This is just two ways of describing the same image, so the ceph daemons aren't actually saying they have different images, just describing the same image in two different ways. You can tell for sure they're the same image if the "IMAGE ID" field in the 'ceph orch ls' output is an actual value and NOT "mix".


I'll try to find out upstream if there's some way to have it stick to one or the other (tag or digest) because it definitely is annoying to have it be one way for some daemons and a different way for others and end up with "mix" in the ls output.

Comment 2 Adam King 2021-03-18 18:37:13 UTC
There is actually consideration to remove the image name field from 'orch ps' and 'orch ls' as it is not super helpful when it displays an image digest and this issue with the 'mix' image name is very difficult to fix otherwise (and the "mix" might confuse users into thinking there are two different images being used). We were thinking instead that the image id is a more reliable field and the user can still always get the image name if they want by asking for json/yaml output. Removing it would also technically fix this bug. 

The PR to do so is here: https://github.com/ceph/ceph/pull/40222

Comment 3 Adam King 2021-03-23 15:42:08 UTC
PR https://github.com/ceph/ceph/pull/40222 was merged, just awaiting backport.

Comment 4 Adam King 2021-03-29 12:17:53 UTC
Change was backported https://github.com/ceph/ceph/pull/40437. Should be in next downstream build.

Comment 10 Ken Dreyer (Red Hat) 2021-04-05 21:16:51 UTC
Since this is low priority, I suggest we re-target to 5.1.

Comment 11 Adam King 2021-04-05 22:12:21 UTC
Actually already put up a potential fix for this https://github.com/ceph/ceph/pull/40595 and forgot to update this BZ. I'm still fine with moving it to 5.1 though. Not a priority for now.

Comment 12 Ken Dreyer (Red Hat) 2021-04-06 00:15:31 UTC
Sunil, if you agree, would you mind re-targeting this to 5.1?