Bug 2057721 - Fix Proxy support in RHACM 2.4.2
Summary: Fix Proxy support in RHACM 2.4.2
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Telco Edge
Version: 4.9
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 4.10.0
Assignee: Ian Miller
QA Contact: yliu1
URL:
Whiteboard:
Depends On: 2056968
Blocks: 2058630
TreeView+ depends on / blocked
 
Reported: 2022-02-23 21:53 UTC by OpenShift BugZilla Robot
Modified: 2022-03-10 16:44 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2058630 (view as bug list)
Environment:
Last Closed: 2022-03-10 16:44:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift-kni cnf-features-deploy pull 981 0 None open [release-4.10] Bug 2057721: ztp: Added proxy definition for AgentClusterInstall 2022-02-23 21:53:40 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-10 16:44:58 UTC

Comment 2 yliu1 2022-02-25 00:11:41 UTC
proxy is not added to agentclusterinstalls even though it's already included siteconfig. 

[kni@ran-vcl01-installer ~]$ oc get agentclusterinstalls.extensions.hive.openshift.io -n master-2 -o yaml  | grep -i proxy
[kni@ran-vcl01-installer ~]$ 

# siteconfig used:
http://registry.kni-qe-0.lab.eng.rdu2.redhat.com:3000/kni-qe/ztp-site-configs/src/master-2-4.10/siteconfig/master-2.yaml#L14-L15
$ oc get apps -n openshift-gitops clusters -o yaml
....
      source:
        path: siteconfig
        repoURL: http://registry.kni-qe-0.lab.eng.rdu2.redhat.com:3000/kni-qe/ztp-site-configs.git
        targetRevision: master-2-4.10
    revision: a3acd04eb47395361871021ea8ddc2b463c519d4
    status: Synced

# ACM version is 2.4.2
[kni@ran-vcl01-installer cluster-group-upgrades-operator]$ oc get csv -A |grep rhacm
rhacm                                              advanced-cluster-management.v2.4.2   Advanced Cluster Management for Kubernetes   2.4.2     advanced-cluster-management.v2.4.1   Succeeded


# ZTP image we used is v4.10.0-32:
[kni@ran-vcl01-installer ~]$ skopeo inspect docker://registry.ran-vcl01.ptp.lab.eng.bos.redhat.com:5000/ztp/ztp-site-generator:4.10
{
    "Name": "registry.ran-vcl01.ptp.lab.eng.bos.redhat.com:5000/ztp/ztp-site-generator",
    "Digest": "sha256:7d357e09db5e3491750e738a037a4313826a80407258b7866c60e2b69ff5e446",
    "RepoTags": [
        "4.9",
        "4.10"
    ],
    "Created": "2022-02-24T17:56:53.894191412Z",
.....
        "release": "32",
        "summary": "Container Image for Argo CD integration with ACM",
        "url": "https://access.redhat.com/containers/#/registry.access.redhat.com/openshift4/ztp-site-generate/images/v4.10.0-32",

Comment 4 yliu1 2022-02-25 17:01:07 UTC
After discussion and investigation with Ian, marking this as verified by checking Desired Manifests from argocd app. 
Note that although the acm operator on hub is already on 2.4.2, it does not have the fix for proxy yet (agentclusterinstalls crd does not have proxy field). Thus end to end test should be redone after acm has the fix in a build.

Comment 7 errata-xmlrpc 2022-03-10 16:44:40 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: OpenShift Container Platform 4.10.3 security 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-2022:0056


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