Host Upgrade Install Fails When Attempting To Download hostagent.conf From Management Plane When Proxy Settings Are In Place.
Problem
Host upgrade install fails when attempting to download hostagent.conf from management plane. The proxy settings are in place. Post this failure, /var/opt/pf9/hostagent/XXXXX/desired_apps.json.part file and the /var/opt/pf9/hostagent/ directory itself is not seen. Restarting pf9-hostagent service recreates this directory back and then on a subsequent retry, host upgrade succeeds.
Environment
Platform9 Managed Kubernetes - v5.5
Answer
This is a known issue and Platform9 Engineering team is currently working on the CORE-1288.
Workaround
Try removing proxy environment variables from
/etc/environmentfor worker nodes and added localhost to NO_PROXY variable on master nodes. Post doing this, host upgrades succeeds for most nodes.Restart pf9-hostagent service.
Manually copy the .deb package from the active node and save it in the same location in the affected. Example:
/var/cache/pf9apps/pf9-hostagent/5.6.4-1078.9f795fe/pf9-hostagent-5.6.4-1078.9f795fe.x86_64.debRestart the Platform9 services related to Hostagent, Comms and Sidekick.
Additional Information
To track the progress of the fix for this issue, open a support ticket mentioning the Jira CORE-1288.
