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:
While trying the extension script manually on the node, observed the following error:
Environment
Platform9 Managed Kubernetes - v5.6 and Higher
Cause
On the
/etc/pf9/nodelet/config_sunpike.yamlthere were some special characters.This was due to the locale being set to en_US instead of en_US.UTF-8.
Resolution
Remove the special character from the
/etc/pf9/nodelet/config_sunpike.yamlRestart the hostagent service
Additional Information
The JIRA ticket PMK-6300 was raised to address the issue, and the fix has been delivered in PMK v5.9.2.
