Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1732775

Summary: [sriov] Package name do not match the repo name
Product: OpenShift Container Platform Reporter: zhaozhanqi <zzhao>
Component: NetworkingAssignee: Peng Liu <pliu>
Status: CLOSED ERRATA QA Contact: zhaozhanqi <zzhao>
Severity: high Docs Contact:
Priority: high    
Version: 4.2.0CC: aos-bugs, bbennett, cdc, pliu
Target Milestone: ---   
Target Release: 4.2.0   
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: 2019-10-16 06:31:08 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 zhaozhanqi 2019-07-24 10:31:50 UTC
Description of problem:
The package name: openshift-sriov-network-operator is not match the repo name 'sriov-network-operator', which cause it failed to push quay.

https://raw.githubusercontent.com/openshift/sriov-network-operator/master/manifests/4.2/sriov-network-operator.package.yaml

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


How reproducible:


Steps to Reproduce:
1. using operator-courier --verbose push sriov-network-operator to quay
   operator-courier --verbose push sriov-network-operator aosqe42 sriov-network-operator 1.0.0 basic xxxxxxx

2.
3.

Actual results:

 operator-courier --verbose push sriov-network-operator aosqe42 sriov-network-operator 1.0.0 basic xxxxxx
usage: operator-courier [-h] [-v] [--verbose] {verify,push,nest,flatten} ...
operator-courier: error: unrecognized arguments: enpoYW86MTIjcXdFYXNEenhD
[root@dhcp-140-66 sriov-quay]# operator-courier --verbose push sriov-network-operator aosqe42 sriov-network-operator 1.0.0 "basic enpoYW86MTIjcXdFYXNEenhD"
INFO:operatorcourier.verified_manifest:The source directory is in flat structure.
INFO: Validating bundle. []
INFO: Validating custom resource definitions. []
INFO: Evaluating crd sriovnetworknodepolicies.sriovnetwork.openshift.io [sriov-network-operator/sriov-network-operator-sriovnetworknodepolicy.crd.yaml]
INFO: Evaluating crd sriovnetworknodestates.sriovnetwork.openshift.io [sriov-network-operator/sriov-network-operator-sriovnetworknodestate.crd.yaml]
INFO: Evaluating crd sriovnetworks.sriovnetwork.openshift.io [sriov-network-operator/sriov-network-operator-sriovnetwork.crd.yaml]
INFO: Validating cluster service versions. [sriov-network-operator/sriov-network-operator-sriovnetwork.crd.yaml]
INFO: Evaluating csv sriov-network-operator.v0.0.1 [sriov-network-operator/sriov-network-operator.v0.0.1.clusterserviceversion.yaml]
INFO: Validating packages. [sriov-network-operator/sriov-network-operator.v0.0.1.clusterserviceversion.yaml]
INFO: Evaluating package openshift-sriov-network-operator [sriov-network-operator/sriov-network-operator.package.yaml]
ERROR: The packageName (openshift-sriov-network-operator) in bundle does not match repository name (sriov-network-operator) provided as command line argument. [sriov-network-operator/sriov-network-operator.package.yaml]
DEBUG:operatorcourier.cli:Exit traceback: Traceback (most recent call last):



Expected results:

the package name should same as repo name

Additional info:
I updated the package to same as repo name, it works well.

Comment 2 zhaozhanqi 2019-08-01 02:06:06 UTC
Verified this bug

Comment 3 errata-xmlrpc 2019-10-16 06:31: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, 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/RHBA-2019:2922