Health status changes to 'Attention' when password of host is changed

Health status of host changes to 'Attention' when you change the password.

Problem

Health status of host changes to 'Attention' when you change the password and gives the following error:
Nova agent state of Host <ip_address> is Error, Ceilometer agent state of Host <ip_address> is Error

Explanation

When you change a password, the changed password is not reflected in the conf files that the PowerVC server relies on. Also, the state of the hypervisor remains unchanged as the compute process is not able to get the latest value of hypervisor_state.

However, as the previous value of hypervisor_state is set to 'Operating', the health process continues to poll the Nova and Ceilometer agent service state. If the health process is unable to communicate with the host, the Nova and Ceilometer agent service state is set to 'Error'.

Resolution

Open the Hosts view from the left pane. Select the HMC tab, then find the correct HMC and modify the credentials.