Bug 1745942

Summary: [sriov] The soft link file 'latest' in manifest block the marketplace pod
Product: OpenShift Container Platform Reporter: zhaozhanqi <zzhao>
Component: NetworkingAssignee: Peng Liu <pliu>
Status: CLOSED ERRATA QA Contact: zhaozhanqi <zzhao>
Severity: low Docs Contact:
Priority: medium    
Version: 4.2.0CC: aos-bugs, zshi
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:37:54 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-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