Bug 1866437

Summary: opm should pass skip tls option to pulling index and bundle images
Product: OpenShift Container Platform Reporter: Ankita Thomas <ankithom>
Component: OLMAssignee: Ankita Thomas <ankithom>
OLM sub component: OLM QA Contact: Tom Buskey <tbuskey>
Status: CLOSED ERRATA Docs Contact:
Severity: low    
Priority: medium CC: ecordell
Version: 4.6   
Target Milestone: ---   
Target Release: 4.6.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: 2020-10-27 16:25:04 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 Ankita Thomas 2020-08-05 14:48:52 UTC
Description of problem:
opm passes skiptls option to bundle image pulls but not to index pulls. Local index images cannot be used because of this

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


How reproducible:
always

Steps to Reproduce:
1. run opm index add with a local index image using skiptls option

Actual results:
Index pull fails because skiptls option is not passed to the pull tool

Expected results:
Index pull succeeds

Comment 3 Tom Buskey 2020-08-24 16:41:25 UTC
opm index add -b quay.io/tbuskey/cockroachdb-bundle:2.0.9,quay.io/tbuskey/cockroachdb-bundle:2.1.1 -t myindex:1 -c podman --skip-tls

podman images
REPOSITORY                                        TAG      IMAGE ID       CREATED              SIZE
localhost/myindex                                 1        62688186b97a   About a minute ago   68.2 MB
quay.io/operator-framework/upstream-opm-builder   latest   d4855ab6520d   4 days ago           67.7 MB
quay.io/tbuskey/cockroachdb-bundle                2.1.1    85e87d3c24dd   4 days ago           17.1 kB
quay.io/tbuskey/cockroachdb-bundle                2.0.9    72027e81ae27   4 days ago           197 kB

opm version
Version: version.Version{OpmVersion:"v1.13.7", GitCommit:"018a040", BuildDate:"2020-08-08T12:13:30Z", GoOs:"linux", GoArch:"amd64"}

podman version
Version:            1.9.3

Comment 5 errata-xmlrpc 2020-10-27 16:25:04 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 (OpenShift Container Platform 4.6 GA Images), 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-2020:4196