Bug 1960181 - The proxy setup in install-config.yaml is not worked when IPI installing with RHACM.
Summary: The proxy setup in install-config.yaml is not worked when IPI installing with...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Advanced Cluster Management for Kubernetes
Classification: Red Hat
Component: Cluster Lifecycle
Version: rhacm-2.2.z
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: rhacm-2.3
Assignee: James Talton
QA Contact: Derek Ho
Christopher Dawson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-13 09:03 UTC by ryoji noma
Modified: 2024-06-14 01:30 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-06-16 19:28:30 UTC
Target Upstream Version:
Embargoed:
ming: rhacm-2.2.z+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github open-cluster-management backlog issues 12495 0 None None None 2021-05-13 18:53:42 UTC
Red Hat Product Errata RHSA-2021:2461 0 None None None 2021-06-16 19:28:42 UTC

Description ryoji noma 2021-05-13 09:03:26 UTC
Description of the problem:
The proxy setup in install-config.yaml is not worked when IPI installing with RHACM.

Release version:
HubCluster:4.6.21 
Advanced Cluster Management for Kubernetes 2.2.2

Steps to reproduce:

Add the proxy setup config with editing yaml feature on RHACM

Actual results:

It is not worked. The cluster failed to pull the image from the quay.

```
time="2021-04-26T03:02:27Z" level=info msg="Obtaining RHCOS image file from 'https://releases-art-rhcos.svc.ci.openshift.org/art/storage/releases/rhcos-4.7/47.83.202103251640-0/x86_64/rhcos-47.83.202103251640-0-vmware.x86_64.ova?sha256=6ac67b43ed6fe25cbe4b01b8f8900a9a5bc0bb6a9894d40be46b994cda906efd'"
time="2021-04-26T03:02:31Z" level=fatal msg="failed to fetch Terraform Variables: failed to generate asset \"Terraform Variables\": failed to get vsphere Terraform variables: failed to use cached vsphere image: Get \"https://releases-art-rhcos.svc.ci.openshift.org/art/storage/releases/rhcos-4.7/47.83.202103251640-0/x86_64/rhcos-47.83.202103251640-0-vmware.x86_64.ova?sha256=6ac67b43ed6fe25cbe4b01b8f8900a9a5bc0bb6a9894d40be46b994cda906efd\": dial tcp: lookup releases-art-rhcos.svc.ci.openshift.org on 172.30.0.10:53: server misbehaving"
time="2021-04-26T03:02:32Z" level=error msg="error after waiting for command completion" error="exit status 1" installID=b8vtmx4v
time="2021-04-26T03:02:32Z" level=error msg="error provisioning cluster" error="exit status 1" installID=b8vtmx4v
time="2021-04-26T03:02:32Z" level=error msg="error running openshift-install, running deprovision to clean up" error="exit status 1" installID=b8vtmx4v
time="2021-04-26T03:02:32Z" level=debug msg="Unable to find log storage actuator. Disabling gathering logs." installID=b8vtmx4v
time="2021-04-26T03:02:32Z" level=info msg="saving installer output" installID=b8vtmx4v
time="2021-04-26T03:02:32Z" level=debug msg="installer console log: level=info msg=Consuming Install Config from target directory\nlevel=info msg=Manifests created in: manifests and openshift\nlevel=warning msg=Found override for release image. Please be warned, this is not advised\nlevel=info msg=Consuming Openshift Manifests from target directory\nlevel=info msg=Consuming Worker Machines from target directory\nlevel=info msg=Consuming Common Manifests from target directory\nlevel=info msg=Consuming OpenShift Install (Manifests) from target directory\nlevel=info msg=Consuming Master Machines from target directory\nlevel=info msg=Ignition-Configs created in: . and auth\nlevel=info msg=Consuming Master Ignition Config from target directory\nlevel=info msg=Consuming Worker Ignition Config from target directory\nlevel=info msg=Consuming Bootstrap Ignition Config from target directory\nlevel=info msg=Obtaining RHCOS image file from 'https://releases-art-rhcos.svc.ci.openshift.org/art/storage/releases/rhcos-4.7/47.83.202103251640-0/x86_64/rhcos-47.83.202103251640-0-vmware.x86_64.ova?sha256=6ac67b43ed6fe25cbe4b01b8f8900a9a5bc0bb6a9894d40be46b994cda906efd'\nlevel=fatal msg=failed to fetch Terraform Variables: failed to generate asset \"Terraform Variables\": failed to get vsphere Terraform variables: failed to use cached vsphere image: Get \"https://releases-art-rhcos.svc.ci.openshift.org/art/storage/releases/rhcos-4.7/47.83.202103251640-0/x86_64/rhcos-47.83.202103251640-0-vmware.x86_64.ova?sha256=6ac67b43ed6fe25cbe4b01b8f8900a9a5bc0bb6a9894d40be46b994cda906efd\": dial tcp: lookup releases-art-rhcos.svc.ci.openshift.org on 172.30.0.10:53: server misbehaving\n" installID=b8vtmx4v
time="2021-04-26T03:02:32Z" level=error msg="failed due to install error" error="exit status 1" installID=b8vtmx4v
time="2021-04-26T03:02:32Z" level=fatal msg="runtime error" error="exit status 1"
```

The install-config seems to set up proxy configs. I will attach the install-config.yaml in a private comment.

Expected results:

The global proxy is worked.

Additional info:

This KCS and Bugzilla seem to relate.

RHACM Proxy envs are not passed to all components
https://access.redhat.com/solutions/5738261

Bug 1876725 - [RFE] Ability to configure the proxy as ENV var for RHACM.
https://bugzilla.redhat.com/show_bug.cgi?id=1876725

Comment 2 Joshua Packer 2021-05-21 18:57:40 UTC
Only recently was support for proxy enabled. This is targeted for the ACM 2.3 release. We can make sure this scenario is validated for the new release stream.

Comment 9 errata-xmlrpc 2021-06-16 19:28:30 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 (Moderate: Red Hat Advanced Cluster Management 2.2.4 security and bug fix update), 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/RHSA-2021:2461


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