Proxy configuration not working during OCP (4.5.11) deployment on OSP 13 platform

Posted on

I am trying to deploy OCP 4.5.11 on OSP 13 using the IPI method. In our environment, the internet is restricted and the instances can access the internet only through the proxy (HTTP/HTTPS). In the past, I deployed OCP 4.2 using proxy but this time it is not working. When I logged into bootstrap node I don't see the proxy details in the environment variable, also I tried to run the curl command and it failed, but when I configured it temporarily (export http_proxy=http://10.154.248.222:8080) and I was able to curl http://google.com. Is there any change in the new OCP 4.5..x version? Can someone please help?

baseDomain: lab.local
compute:
- architecture: amd64
  hyperthreading: Enabled
  name: worker
  platform: {}
  replicas: 3
controlPlane:
  architecture: amd64
  hyperthreading: Enabled
  name: master
  platform: {}
  replicas: 3
metadata:
  creationTimestamp: null
  name: ocp4
networking:
  clusterNetwork:
  - cidr: 10.128.0.0/14
    hostPrefix: 23
  machineNetwork:
  - cidr: 10.0.0.0/16
  networkType: OpenShiftSDN
  serviceNetwork:
  - 172.30.0.0/16
platform:
  openstack:
    apiVIP: 10.0.0.5
    cloud: openstack
    computeFlavor: m1.rhosp
    externalDNS: ["192.168.126.11"]
    externalNetwork: public
    ingressVIP: 10.0.0.7
    lbFloatingIP: 192.168.126.246
    octaviaSupport: "1"
    region: ""
    trunkSupport: "1"
publish: External
pullSecret: '.....'
sshKey: '...'
proxy:
    httpProxy: http://10.154.248.222:8080
    httpsProxy: http://10.154.248.223:8080
    noProxy: 127.0.0.1,localhost

Responses