Bug 2056888 - [Secondary Scheduler] - Version number incorrect in secondary scheduler operator bundle
Summary: [Secondary Scheduler] - Version number incorrect in secondary scheduler opera...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: kube-scheduler
Version: 4.10
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 4.12.0
Assignee: Jan Chaloupka
QA Contact: RamaKasturi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-22 09:54 UTC by RamaKasturi
Modified: 2023-01-17 19:47 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-01-17 19:47:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:7399 0 None None None 2023-01-17 19:47:32 UTC

Description RamaKasturi 2022-02-22 09:54:13 UTC
Description of problem:
I see that secondary scheduler operator bundle does not contain any version, i see that it is better use same version as secondary-scheduler-operator-container-v1.0-4

Version-Release number of selected component (if applicable):
secondary-scheduler-operator-container-v1.0-4

How reproducible:
Always

Steps to Reproduce:
1. Run command "oc image info registry-proxy.engineering.redhat.com/rh-osbs/secondary-scheduler-operator-metadata-rhel-8:v80cb88b-1"
2.
3.

Actual results:
oc image info registry-proxy.engineering.redhat.com/rh-osbs/secondary-scheduler-operator-metadata-rhel-8:v80cb88b-1
W0221 08:48:22.546553 3325818 helpers.go:151] Defaulting of registry auth file to "${HOME}/.docker/config.json" is deprecated. The default will be switched to podman config locations in the future version.
Name:          registry-proxy.engineering.redhat.com/rh-osbs/secondary-scheduler-operator-metadata-rhel-8:v80cb88b-1
Digest:        sha256:a71e4bcfe95d49270c521bea23b945ba2c16102f67e4a2c855951f8a93d30781
Manifest List: sha256:d98a19803aaa53374950bec108221729c0f9ce8e28d42e11a45effdd6269d605
Media Type:    application/vnd.docker.distribution.manifest.v2+json
Created:       3d ago
Image Size:    15.72kB in 2 layers
Layers:        32B     sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1
               15.68kB sha256:b6db7e6005593df1aa94327207a7d711aa16be8ac6848918c268fd96e5d373bf
OS:            linux
Arch:          amd64
Command:       <none>
Environment:   PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Labels:        architecture=x86_64
               build-date=2022-02-18T12:02:27.572739
               com.redhat.build-host=cpt-1003.osbs.prod.upshift.rdu2.redhat.com
               com.redhat.component=secondary-scheduler-operator-bundle-container
               com.redhat.delivery.operator.bundle=true
               com.redhat.license_terms=https://www.redhat.com/agreements
               com.redhat.openshift.versions=v4.10-v4.11
               description=Secondary scheduler support for OpenShift
               distribution-scope=public
               io.k8s.description=Secondary scheduler support for OpenShift
               io.k8s.display-name=openshift-secondary-scheduler-operator
               io.openshift.expose-services=
               io.openshift.tags=openshift,secondary-scheduler-operator
               maintainer=AOS workloads team, <aos-workloads>
               name=secondary-scheduler-operator-metadata-rhel-8
               operators.operatorframework.io.bundle.channel.default.v1=dev-preview
               operators.operatorframework.io.bundle.channels.v1=dev-preview
               operators.operatorframework.io.bundle.manifests.v1=manifests/
               operators.operatorframework.io.bundle.mediatype.v1=registry+v1
               operators.operatorframework.io.bundle.metadata.v1=metadata/
               operators.operatorframework.io.bundle.package.v1=openshift-secondary-scheduler-operator
               release=1
               summary=Secondary scheduler support for OpenShift
               url=https://access.redhat.com/containers/#/registry.access.redhat.com/secondary-scheduler-operator-metadata-rhel-8/images/v80cb88b-1
               vcs-ref=2a1b2606ad76463147c00487e5d8646d89e6591b
               vcs-type=git
               vendor=Red Hat, Inc.
               version=v80cb88b

Expected results:
version should be something similar to the secondary scheduler operator container.

Additional info:
I see that other cpass operators has version for example: logging. 

https://jenkins-cpaas-openshift-logging.apps.cpaas-poc.r6c9.p1.openshiftapps.com/

Comment 1 Jan Chaloupka 2022-02-24 07:12:52 UTC
From https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=43284470:
```
OSBS validation exception: version label 'v1.0-5' contains not allowed chars : '[u'-']'
```

I will fall back to just v1.0.

Comment 2 Jan Chaloupka 2022-02-24 10:48:20 UTC
Checking the latest build (https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=43307162):
```
$ oc image info registry-proxy.engineering.redhat.com/rh-osbs/secondary-scheduler-operator-metadata-rhel-8:v1.0-1
Name:          registry-proxy.engineering.redhat.com/rh-osbs/secondary-scheduler-operator-metadata-rhel-8:v1.0-1
Digest:        sha256:0b9805e19b40e58e6fcd04febe1a8a42b9dcc4b8fe143d193fc6feff60afc357
Manifest List: sha256:f6c6976c448573a7e945cc50b0380bab9cdd8fcf9619aa92cd466094409572ad
Media Type:    application/vnd.docker.distribution.manifest.v2+json
Created:       21m ago
Image Size:    15.76kB in 2 layers
Layers:        32B     sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1
               15.73kB sha256:a297d7d5fe8db816e6677e1b945604e58cafead5f96711fd1f09049246d2d2bf
OS:            linux
Arch:          amd64
Command:       <none>
Environment:   PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Labels:        architecture=x86_64
               build-date=2022-02-24T10:24:36.405065
               com.redhat.build-host=cpt-1008.osbs.prod.upshift.rdu2.redhat.com
               com.redhat.component=secondary-scheduler-operator-bundle-container
               com.redhat.delivery.operator.bundle=true
               com.redhat.license_terms=https://www.redhat.com/agreements
               com.redhat.openshift.versions=v4.10
               description=Secondary scheduler support for OpenShift
               distribution-scope=public
               io.k8s.description=Secondary scheduler support for OpenShift
               io.k8s.display-name=openshift-secondary-scheduler-operator
               io.openshift.expose-services=
               io.openshift.tags=openshift,secondary-scheduler-operator
               maintainer=AOS workloads team, <aos-workloads>
               name=secondary-scheduler-operator-metadata-rhel-8
               operators.operatorframework.io.bundle.channel.default.v1=dev-preview
               operators.operatorframework.io.bundle.channels.v1=dev-preview
               operators.operatorframework.io.bundle.manifests.v1=manifests/
               operators.operatorframework.io.bundle.mediatype.v1=registry+v1
               operators.operatorframework.io.bundle.metadata.v1=metadata/
               operators.operatorframework.io.bundle.package.v1=openshift-secondary-scheduler-operator
               release=1
               summary=Secondary scheduler support for OpenShift
               url=https://access.redhat.com/containers/#/registry.access.redhat.com/secondary-scheduler-operator-metadata-rhel-8/images/v1.0-1
               vcs-ref=6b6309bab8c8ae8e6c3d82cb2fea16812199024c
               vcs-type=git
               vendor=Red Hat, Inc.
               version=v1.0
```

version label is set to v1.0 now. vcs-ref label gives the revision.

Comment 4 RamaKasturi 2022-07-22 17:29:17 UTC
oc image info displays version as v1.0

[knarra@knarra verification-tests]$ oc image info registry-proxy.engineering.redhat.com/rh-osbs/secondary-scheduler-operator-metadata-rhel-8:v1.0-24
Warning: the default reading order of registry auth file will be changed from "${HOME}/.docker/config.json" to podman registry config locations in the future version of oc. "${HOME}/.docker/config.json" is deprecated, but can still be used for storing credentials as a fallback. See https://github.com/containers/image/blob/main/docs/containers-auth.json.5.md for the order of podman registry config locations.
Name:          registry-proxy.engineering.redhat.com/rh-osbs/secondary-scheduler-operator-metadata-rhel-8:v1.0-24
Digest:        sha256:fe7c1e7d3e7856203c58dd3e789ac0e1d7957093ebacea00331f42030caaf122
Manifest List: sha256:c9f6a31d0709828e3b1e2fd9d6bf760199f8e872fd3c589cf7ef9e3aa976faaa
Media Type:    application/vnd.docker.distribution.manifest.v2+json
Created:       3d ago
Image Size:    16.1kB in 2 layers
Layers:        32B     sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1
               16.07kB sha256:418c3834166860c241352f597c2cbaa590b61df0ef5955c206b1c0aa2db9f1a5
OS:            linux
Arch:          amd64
Command:       <none>
Environment:   PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Labels:        architecture=x86_64
               build-date=2022-07-18T18:27:41.353126
               com.redhat.build-host=cpt-1003.osbs.prod.upshift.rdu2.redhat.com
               com.redhat.component=secondary-scheduler-operator-bundle-container
               com.redhat.delivery.operator.bundle=true
               com.redhat.license_terms=https://www.redhat.com/agreements
               com.redhat.openshift.versions=v4.10-v4.11
               description=Secondary scheduler support for OpenShift
               distribution-scope=public
               io.k8s.description=Secondary scheduler support for OpenShift
               io.k8s.display-name=openshift-secondary-scheduler-operator
               io.openshift.expose-services=
               io.openshift.tags=openshift,secondary-scheduler-operator
               maintainer=AOS workloads team, <aos-workloads>
               name=secondary-scheduler-operator-metadata-rhel-8
               operators.operatorframework.io.bundle.channel.default.v1=stable
               operators.operatorframework.io.bundle.channels.v1=stable
               operators.operatorframework.io.bundle.manifests.v1=manifests/
               operators.operatorframework.io.bundle.mediatype.v1=registry+v1
               operators.operatorframework.io.bundle.metadata.v1=metadata/
               operators.operatorframework.io.bundle.package.v1=openshift-secondary-scheduler-operator
               release=24
               summary=Secondary scheduler support for OpenShift
               url=https://access.redhat.com/containers/#/registry.access.redhat.com/secondary-scheduler-operator-metadata-rhel-8/images/v1.0-24
               vcs-ref=c28eaba759838924ac36d27247e83068215e146b
               vcs-type=git
               vendor=Red Hat, Inc.
               version=v1.0

Based on the above moving bug to verified state.

Comment 8 errata-xmlrpc 2023-01-17 19:47:08 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.12.0 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:7399


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