Hostagent Fails to Communicate With the Management Plane due to Wrong Credentials

Problem

  • Hostagent failing to communicate with the Platform9 Management Plane and hostagent service is logging authentication errors:
Hostagent Logs
Copy

Environment

  • Platform9 Managed OpenStack - v5.0 and Higher

Cause

  • Hostagent uses AMQP credentials to authenticate with the Management Plane. Misconfigured credentials can lead to authentication issues; making host disconnected from the Management Plane.

Resolution

Workaround steps:

  1. Retrieve username & password from /etc/pf9/hostagent.conf file present over any healthy host from the same region.
  2. Over affected host, modify the credentials for amqp section in /etc/pf9/hostagent.conf file.
/etc/pf9/hostagent.conf
Copy
  1. Restart pf9-hostagent service over the affected host.
Bash
Copy

Additional Information

  • During credential rotation activity (if performed earlier), the OFFLINE hosts would not retrieve updated credentials to authenticate hostagent with AMQP running on Management Plane.
  • The legacy bbslave user displayed in the username has been replaced by hostagent user now.
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches