Bug 2115387 - ClusterTask openshift-client refers to internal registry in cluster without registry
Summary: ClusterTask openshift-client refers to internal registry in cluster without r...
Keywords:
Status: NEW
Alias: None
Product: Red Hat OpenShift Pipelines
Classification: Red Hat
Component: pipelines
Version: 1.7
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Vincent Demeester
QA Contact: Ruchir Garg
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-04 14:57 UTC by Chandler Wilkerson
Modified: 2023-07-21 23:14 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Chandler Wilkerson 2022-08-04 14:57:05 UTC
Description of problem:

The openshift-client ClusterTask requires openshift/cli container and by default explicitly pulls it from image-registry.openshift-image-registry.svc:5000.

In my current (ocp 4.10.24) Baremetal IPI cluster, the registry is not installed by default due to no object storage available at install time.

Version-Release number of selected component (if applicable):
1.7.2 (OpenShift Pipelines)
4.10.24 (OCP)

How reproducible:
Always

Steps to Reproduce:
1. Install OCP using baremetal
2. Install Pipelines operator per docs
3. Install a pipeline that requires the openshift-client ClusterTask

Actual results:

Step that requires above ClusterTask times out with imagepullbackoff

e.g.

build step "step-oc" is pending with reason "rpc error: code = Unknown desc = pinging container registry image-registry.openshift-image-registry.svc:5000: Get \"https://image-registry.openshift-image-registry.svc:5000/v2/\": dial tcp: lookup image-registry.openshift-image-registry.svc on 192.168.72.14:53: no such host"

Expected results:

Either this container should be pulled from publicly accessible registry OR documentation should be added to OpenShift Pipelines' Prerequisites that explains an internal registry is required (and the operator should check and warn if it is not present)

Additional info:


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