Bug 2058630

Summary: [Release 4.9] Fix Proxy support in ZTP policyGen for RHACM 2.4.2
Product: OpenShift Container Platform Reporter: Ian Miller <imiller>
Component: Telco EdgeAssignee: Ian Miller <imiller>
Telco Edge sub component: ZTP QA Contact: yliu1
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: unspecified CC: keyoung, openshift-bugzilla-robot, yliu1
Version: 4.9   
Target Milestone: ---   
Target Release: 4.9.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2057721 Environment:
Last Closed: 2022-03-07 13:25:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2057721    
Bug Blocks:    

Comment 3 yliu1 2022-03-04 00:58:37 UTC
Verified with ztp-site-generate v4.9.0-35 and ACM 2.4.2.
[kni@ran-vcl01-installer argocd]$ oc get agentclusterinstalls.extensions.hive.openshift.io -n master-2 -o yaml 
apiVersion: v1
items:
- apiVersion: extensions.hive.openshift.io/v1beta1
  kind: AgentClusterInstall
  metadata:
    annotations:
      agent-install.openshift.io/install-config-overrides: '{"networking":{"networkType":"OVNKubernetes"}}'
      kubectl.kubernetes.io/last-applied-configuration: |
        {"apiVersion":"extensions.hive.openshift.io/v1beta1","kind":"AgentClusterInstall","metadata":{"annotations":{"agent-install.openshift.io/install-config-overrides":"{\"networking\":{\"networkType\":\"OVNKubernetes\"}}"},"name":"master-2","namespace":"master-2"},"spec":{"clusterDeploymentRef":{"name":"master-2"},"imageSetRef":{"name":"4.9"},"manifestsConfigMapRef":{"name":"master-2"},"networking":{"clusterNetwork":[{"cidr":"10.128.0.0/14","hostPrefix":23}],"machineNetwork":[{"cidr":"10.1.190.0/23"}],"serviceNetwork":["172.30.0.0/16"]},"provisionRequirements":{"controlPlaneAgents":1},"proxy":{"httpsProxy":"http://foo.com/"},"sshPublicKey":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm9hb6iTZJypEmzg4IZ767ze60UGhBWnjPXhovWVB7uKputdLzZhmlo36ifkXr/DTk8NGm47r6kXmz9NAF0pDHa5jX6yJFnhS4z5NY/mzsUX41gwiqBKYHgdp/KE1ylE8mbNon5ZpaaGvb876myjjPjPwWsD8hvXZirA5Q8TfDb/Pvgy1dhVH/uN05Ip1vVsp+bFGMPUJVWVUy/Eby5xW6OJv+FBOQq4nu6tslDZlHYXX2TSGrlW4x0i/oQMpKu/Y8ygAdjWqmAy6UBcho1nNWy15cp0jI5Fhjze171vSWZLAqJY+eFcL2kt/09RnY+MXyY/tIf+qNMyBE2Qltigah"}}
    creationTimestamp: "2022-03-04T00:33:52Z"
    finalizers:
    - agentclusterinstall.agent-install.openshift.io/ai-deprovision
    generation: 1
    name: master-2
    namespace: master-2
    ownerReferences:
    - apiVersion: hive.openshift.io/v1
      kind: ClusterDeployment
      name: master-2
      uid: 1ebfa6f7-ef53-4ef9-aa29-346dcefed1a4
    resourceVersion: "7994736"
    uid: 80972daf-7d2a-4846-9ab6-37823caa57dd
  spec:
    clusterDeploymentRef:
      name: master-2
    imageSetRef:
      name: "4.9"
    manifestsConfigMapRef:
      name: master-2
    networking:
      clusterNetwork:
      - cidr: 10.128.0.0/14
        hostPrefix: 23
      machineNetwork:
      - cidr: 10.1.190.0/23
      serviceNetwork:
      - 172.30.0.0/16
    provisionRequirements:
      controlPlaneAgents: 1
    proxy:
      httpsProxy: http://foo.com/
    sshPublicKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm9hb6iTZJypEmzg4IZ767ze60UGhBWnjPXhovWVB7uKputdLzZhmlo36ifkXr/DTk8NGm47r6kXmz9NAF0pDHa5jX6yJFnhS4z5NY/mzsUX41gwiqBKYHgdp/KE1ylE8mbNon5ZpaaGvb876myjjPjPwWsD8hvXZirA5Q8TfDb/Pvgy1dhVH/uN05Ip1vVsp+bFGMPUJVWVUy/Eby5xW6OJv+FBOQq4nu6tslDZlHYXX2TSGrlW4x0i/oQMpKu/Y8ygAdjWqmAy6UBcho1nNWy15cp0jI5Fhjze171vSWZLAqJY+eFcL2kt/09RnY+MXyY/tIf+qNMyBE2Qltigah
  status:
    conditions:
    - lastProbeTime: "2022-03-04T00:33:53Z"
      lastTransitionTime: "2022-03-04T00:33:53Z"
      message: SyncOK
      reason: SyncOK
      status: "True"
      type: SpecSynced

Comment 5 errata-xmlrpc 2022-03-07 13:25:53 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 (4.9 Z Stream bugfixes for Telco RAN), 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-2022:0754