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:
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:
Retrieve
username&passwordfrom/etc/pf9/hostagent.conffile present over any healthy host from the same region.Over affected host, modify the credentials for amqp section in
/etc/pf9/hostagent.conffile.
Restart
pf9-hostagentservice over the affected host.
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.
