Proxy Configuration to Access Hosts

Problem

  • Configure host to connect to Platform9 Cloud (Management Plane) via proxy server instead of direct connectivity.

Environment

  • Platform9 Managed OpenStack - All Versions

  • Platform9 Managed Kubernetes - All Versions

Procedure

  1. First test host side connectivity via proxy by referring to Test Host Connectivity to the Management Plane via Proxy.

  2. Once connectivity is successfully tested, create file /etc/pf9/comms_proxy_cfg.json in the following format and substitute the respective values.

{
"http_proxy": {
"protocol": "[http|https]",
"host": "[PROXY FQDN/IP]",
"port": [PROXY PORT],
"user": "[PROXY USERNAME]",
"pass": "[PROXY PASSWORD]"
}
}

Note: If username has backward slash(\) characters then escape each one of them with an additional backward slash like \\

  1. Restart the pf9-comms and pf9-sidekick services.

service pf9-comms restart
service pf9-sidekick restart
  1. Tail comms log ( /var/log/pf9/comms/comms.log) for errors.

  2. Run the command below and verify connectivity.

curl http://localhost:8158/keystone