This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
Bug 2193053 - Incorrect name in stage registry for 'hostpath-provisioner-operator-rhel9' image as 'hostpath-provisioner-rhel9-operator'
Summary: Incorrect name in stage registry for 'hostpath-provisioner-operator-rhel9' im...
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Release
Version: 4.13.0
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
: ---
Assignee: Derek
QA Contact: Oded Ramraz
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-04 06:51 UTC by SATHEESARAN
Modified: 2023-05-18 11:16 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-04 14:19:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker   CLOUDDST-18576 0 None None None 2023-05-18 11:16:09 UTC
Red Hat Issue Tracker CNV-28542 0 None None None 2023-05-04 06:52:46 UTC

Description SATHEESARAN 2023-05-04 06:51:41 UTC
Description of problem:
-----------------------
While inspecting the list of images under csv.spec.relatedImages in stage registry, one failure was seen with the container image 'hostpath-provisioner-operator-rhel9' and later found that this image was incorrectly named as 'hostpath-provisioner-rhel9-operator'


Version-Release number of selected component (if applicable):
-------------------------------------------------------------
CNV v4.13.0

How reproducible:
-----------------
Always

Steps to Reproduce:
-------------------
1. Try inspecting the container image 'hostpath-provisioner-operator-rhel9' in stage
# skopeo inspect docker://registry.stage.redhat.io/container-native-virtualization/hostpath-provisioner-operator-rhel9@sha256:045ad111f8d3fe28b8cf77df49a264922c9fa4cc46759ed98ef044077225a23e

Actual results:
---------------
*skopeo inspect* failed, as the image doesn't exists.
This image is renamed as 'hostpath-provisioner-rhel9-operator'

<snip>
# skopeo inspect docker://registry.stage.redhat.io/container-native-virtualization/hostpath-provisioner-rhel9-operator@sha256:045ad111f8d3fe28b8cf77df49a264922c9fa4cc46759ed98ef044077225a23e
{
    "Name": "registry.stage.redhat.io/container-native-virtualization/hostpath-provisioner-rhel9-operator",
    "Digest": "sha256:045ad111f8d3fe28b8cf77df49a264922c9fa4cc46759ed98ef044077225a23e",
    "RepoTags": [
        "v4.13",
        "v4.13.0--2022-101182",
        "v4.13.0",
        "v4.13.0-37"
    ],
...
</snip>

Expected results:
-----------------
The container image with the name 'hostpath-provisioner-operator-rhel9' should be available with the correct naming convention

Additional info:
----------------
When querying the image in stage:

<snip>
[sas@fedora ~]$ skopeo inspect docker://registry.stage.redhat.io/container-native-virtualization/hostpath-provisioner-operator-rhel9@sha256:045ad111f8d3fe28b8cf77df49a264922c9fa4cc46759ed98ef044077225a23e
FATA[0002] Error parsing image name "docker://registry.stage.redhat.io/container-native-virtualization/hostpath-provisioner-operator-rhel9@sha256:045ad111f8d3fe28b8cf77df49a264922c9fa4cc46759ed98ef044077225a23e": reading manifest sha256:045ad111f8d3fe28b8cf77df49a264922c9fa4cc46759ed98ef044077225a23e in registry.stage.redhat.io/container-native-virtualization/hostpath-provisioner-operator-rhel9: unknown: Not Found 

[sas@fedora ~]$ skopeo inspect docker://registry.stage.redhat.io/container-native-virtualization/hostpath-provisioner-rhel9-operator@sha256:045ad111f8d3fe28b8cf77df49a264922c9fa4cc46759ed98ef044077225a23e
{
    "Name": "registry.stage.redhat.io/container-native-virtualization/hostpath-provisioner-rhel9-operator",
    "Digest": "sha256:045ad111f8d3fe28b8cf77df49a264922c9fa4cc46759ed98ef044077225a23e",
    "RepoTags": [
        "v4.13",
        "v4.13.0--2022-101182",
        "v4.13.0",
        "v4.13.0-37"
    ],
.
.
.
</snip>

Comment 2 SATHEESARAN 2023-05-04 14:19:15 UTC
The issue is fixed now.

<snip>
[ ~]$ skopeo inspect docker://registry.stage.redhat.io/container-native-virtualization/hostpath-provisioner-operator-rhel9@sha256:045ad111f8d3fe28b8cf77df49a264922c9fa4cc46759ed98ef044077225a23e
{
    "Name": "registry.stage.redhat.io/container-native-virtualization/hostpath-provisioner-operator-rhel9",
    "Digest": "sha256:045ad111f8d3fe28b8cf77df49a264922c9fa4cc46759ed98ef044077225a23e",
    "RepoTags": [
        "v4.13",
        "v4.13.0-37",
        "v4.13.0"
    ],
.
.
.
</snip>


Note You need to log in before you can comment on or make changes to this bug.