Getting the power state

Dmitry Tantsur dtantsur at redhat.com
Tue Aug 27 13:47:54 UTC 2019


On 8/27/19 3:36 PM, Mauricio Tavares wrote:
>        How does openstack finds whether an ironic node is on or off? In
> the following example,
> 
> [raub at irony ~]$ openstack baremetal node list
> +--------------------------------------+------+---------------+-------------+--------------------+-------------+
> | UUID                                 | Name | Instance UUID | Power
> State | Provisioning State | Maintenance |
> +--------------------------------------+------+---------------+-------------+--------------------+-------------+
> | 6ae69caa-970e-4749-9545-7f3854299bef | nod1 | None          | power
> off   | available          | False       |
> | 86f28a6f-22c1-4352-a841-cfb370ed62ca | nod2 | None          | power
> off   | available          | False       |
> | bf8317d2-6ef1-4aa3-83b3-25bafa993711 | nod3 | None          | power
> off   | available          | False       |
> +--------------------------------------+------+---------------+-------------+--------------------+-------------+
> [raub at irony ~]$
> 
> I know the 3 nodes are alive and running, but openstack does not seem
> to agree with me.
> 

Ironic periodically polls the nodes to learn their real state. The explanation 
can be:
1. It takes some time, so maybe you'll see the update in a while.
2. The operator has disabled the periodic sync in the configuration.
3. IPMI/Redfish/whatever driver you have provides wrong information.
4. IPMI/Redfish/whatever is no longer accessible, and ironic will soon report 
power_state=None and maintenance mode.

Dmitry



More information about the openstack-discuss mailing list