Failure Of Hostagent Extension Scripts Due To Special Characters In /etc/pf9/nodelet/config_sunpike.yaml

Problem

  • The node is disconnected from the management plane due to extension script failures affecting the host agent service. Despite the hostagent, comms, and sidekick services running, the host remains disconnected from the management plane. The host agent logs the following error:
Hostagent logs
Copy
  • While trying the extension script manually on the node, observed the following error:
Manual execution
Copy

Environment

  • Platform9 Managed Kubernetes - v5.6 and Higher

Cause

  • On the /etc/pf9/nodelet/config_sunpike.yaml there were some special characters.
  • This was due to the locale being set to en_US instead of en_US.UTF-8.
Sunpike.yaml
Copy

Resolution

  • Remove the special character from the /etc/pf9/nodelet/config_sunpike.yaml
  • Restart the hostagent service
Restart
Copy

Additional Information

  • The JIRA ticket PMK-6300 was raised to address the issue, and the fix has been delivered in PMK v5.9.2.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard