Bug 1732775 - [sriov] Package name do not match the repo name
Summary: [sriov] Package name do not match the repo name
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.2.0
Assignee: Peng Liu
QA Contact: zhaozhanqi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-24 10:31 UTC by zhaozhanqi
Modified: 2019-10-16 06:31 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-16 06:31:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:2922 0 None None None 2019-10-16 06:31:18 UTC

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


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