Bug 2213164

Summary: The image for RHCS 5.3.3 the newest version of RHCS 5 does not show as latest in the registrty
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Riadh HAMDI <rhamdi>
Component: BuildAssignee: Ken Dreyer (Red Hat) <kdreyer>
Status: CLOSED CURRENTRELEASE QA Contact: Vivek Das <vdas>
Severity: low Docs Contact:
Priority: unspecified    
Version: 5.3CC: cephqe-warriors, sostapov
Target Milestone: ---   
Target Release: 6.1z1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-20 20:02:00 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:

Description Riadh HAMDI 2023-06-07 09:07:21 UTC
Description of problem:

While trying to get the newest version of RHCS5 (5.3.3) which have the tag 5-433 the image does not seem to be tagged as latest in the regisrty. 



Version-Release number of selected component (if applicable):
RHCS 5


How reproducible:

On the catalog.redhat.com (https://catalog.redhat.com/software/containers/rhceph/rhceph-5-rhel8/60ec72a74a6a2c7844abe5fb?architecture=amd64&tag=5-433&push_date=1684833617000&gti-tabs=registry-tokens) 

We have the following warning: Updated image available
Red Hat strongly recommends updating to the newest image version 
unless otherwise defined by the support policy of Red Hat



Steps to Reproduce:
1. on a server having podman 
2. # podman pull registry.redhat.io/rhceph/rhceph-5-rhel8:latest  
3. # podman image inspect 838cea16e15c 

Actual results:

In the inspect output we have the 416 tag that shows in the release 

"Labels": {
            "CEPH_POINT_RELEASE": "",
            "GIT_BRANCH": "main",
            "GIT_CLEAN": "True",
            "GIT_COMMIT": "e150ad9dd6aa1e402d78863e3e960e9007c4f01a",
            "GIT_REPO": "https://github.com/ceph/ceph-container.git",
            "RELEASE": "main",
            "architecture": "x86_64",
            "build-date": "2023-04-04T22:32:22",
            "ceph": "True",
            "com.redhat.component": "rhceph-container",
            "com.redhat.license_terms": "https://www.redhat.com/agreements",
            "description": "Red Hat Ceph Storage 5",
            "distribution-scope": "public",
            "io.buildah.version": "1.27.3",
            "io.k8s.description": "Red Hat Ceph Storage 5",
            "io.k8s.display-name": "Red Hat Ceph Storage 5 on RHEL 8",
            "io.openshift.expose-services": "",
            "io.openshift.tags": "rhceph ceph",
            "maintainer": "Guillaume Abrioux \u003cgabrioux\u003e",
            "name": "rhceph",
            "release": "416",
            "summary": "Provides the latest Red Hat Ceph Storage 5 on RHEL 8 in a fully featured and supported base image.",
            "url": "https://access.redhat.com/containers/#/registry.access.redhat.com/rhceph/images/5-416",
            "vcs-ref": "847660286682afec0bb0c928057cf960758e435a",
            "vcs-type": "git",
            "vendor": "Red Hat, Inc.",
            "version": "5"
        }

Expected results:

"Labels": {
            "CEPH_POINT_RELEASE": "",
            "GIT_BRANCH": "main",
            "GIT_CLEAN": "True",
            "GIT_COMMIT": "e150ad9dd6aa1e402d78863e3e960e9007c4f01a",
            "GIT_REPO": "https://github.com/ceph/ceph-container.git",
            "RELEASE": "main",
            "architecture": "x86_64",
            "build-date": "2023-05-16T12:15:45",
            "ceph": "True",
            "com.redhat.component": "rhceph-container",
            "com.redhat.license_terms": "https://www.redhat.com/agreements",
            "description": "Red Hat Ceph Storage 5",
            "distribution-scope": "public",
            "io.buildah.version": "1.27.3",
            "io.k8s.description": "Red Hat Ceph Storage 5",
            "io.k8s.display-name": "Red Hat Ceph Storage 5 on RHEL 8",
            "io.openshift.expose-services": "",
            "io.openshift.tags": "rhceph ceph",
            "maintainer": "Guillaume Abrioux \u003cgabrioux\u003e",
            "name": "rhceph",
            "release": "433",
            "summary": "Provides the latest Red Hat Ceph Storage 5 on RHEL 8 in a fully featured and supported base image.",
            "url": "https://access.redhat.com/containers/#/registry.access.redhat.com/rhceph/images/5-433",
            "vcs-ref": "847660286682afec0bb0c928057cf960758e435a",
            "vcs-type": "git",
            "vendor": "Red Hat, Inc.",
            "version": "5"
        }


Additional info:

Comment 1 Ken Dreyer (Red Hat) 2023-07-20 20:02:00 UTC
I think this was fixed in https://issues.redhat.com/browse/CLOUDDST-19283