Bug 1745942 - [sriov] The soft link file 'latest' in manifest block the marketplace pod
Summary: [sriov] The soft link file 'latest' in manifest block the marketplace pod
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: 4.2.0
Assignee: Peng Liu
QA Contact: zhaozhanqi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-27 09:51 UTC by zhaozhanqi
Modified: 2019-10-16 06:38 UTC (History)
2 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift sriov-network-operator pull 71 0 None None None 2019-08-28 13:43:58 UTC
Red Hat Product Errata RHBA-2019:2922 0 None None None 2019-10-16 06:38:02 UTC

Description zhaozhanqi 2019-08-27 09:51:15 UTC
Description of problem:
In https://github.com/openshift/sriov-network-operator/tree/master/manifests

There is soft link file 'latest' file. 
When I push `operator-courier --verbose push sriov-network-operator/manifests/ zzhao sriov-network-operator 4.2.5 "basic xxxx" ` to quay

the marketplace pod show error:
 Could not decode contents of file downloaded/sriov-network-operator-if_yzym4/sriov-network-operator.package.yaml into file: error unmarshaling JSON: Object 'Kind' is missing in '{\"channels\":[{\"currentCSV\":\"sriov-network-operator.v0.0.1\",\"name\":\"alpha\"}],\"packageName\":\"sriov-network-operator\"}'" dir=downloaded file=sriov-network-operator.package.yaml load=bundle
time="2019-08-27T08:41:29Z" level=fatal msg="error loading manifest from remote registry - couldn't find sriovnetwork.openshift.io/v1/SriovNetwork (sriovnetworks) in bundle. found: map[]" port=50051 type=appregistry


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Delete the 'latest' file. push again. it works well.

Comment 1 Peng Liu 2019-08-27 09:59:05 UTC
The latest soft link is required by ART to build the downstream operator image, so I don't think it shall be removed.

Comment 2 Peng Liu 2019-08-28 13:43:11 UTC
The "latest" symbol link file breaks the OSBS operator bundle build, it shall be removed.

Comment 4 zhaozhanqi 2019-08-29 01:24:10 UTC
Check the sriov operator bundle exist in the rh-osbs-operators. Verified this bug

Comment 5 errata-xmlrpc 2019-10-16 06:37:54 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.