Use node UUID in logs instead of node ID (which is internal)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
Low
|
Zhenguo Niu |
Bug Description
we usually log node_id as a node when attempting to lock it:
"Attempting to reserve node 1"
but I can't get any information about '1' using node-list and node-show as below, so this will confuse users
when debuging with the log message.
(venv)root@
+------
| UUID | Name | Instance UUID | Power State | Provisioning State | Maintenance |
+------
| 87f03e9f-
| 80a86455-
| fbd5903e-
| 84147fb7-
| 23aa74b4-
+------
(venv)root@
+------
| Property | Value |
+------
| target_power_state | None |
| extra | {} |
| last_error | During sync_power_state, max retries exceeded for node |
| | 23aa74b4-
| | expected state 'None'. Updating DB state to 'None' Switching node to |
| | maintenance mode. |
| updated_at | 2015-03-
| maintenance_reason | During sync_power_state, max retries exceeded for node |
| | 23aa74b4-
| | expected state 'None'. Updating DB state to 'None' Switching node to |
| | maintenance mode. |
| provision_state | None |
| uuid | 23aa74b4-
| console_enabled | False |
| target_
| maintenance | True |
| inspection_
| inspection_
| power_state | None |
| driver | pxe_ipmitool |
| reservation | None |
| properties | {} |
| instance_uuid | None |
| name | |
| driver_info | {u'ipmi_address': u'172.28.2.133', u'ipmi_username': u'root', |
| | u'ipmi_password': u'******'} |
| created_at | 2015-03-
| driver_
| chassis_uuid | |
| instance_info | {} |
+------
Changed in ironic: | |
assignee: | nobody → Zhenguo Niu (niu-zglinux) |
Changed in python-ironicclient: | |
assignee: | nobody → Zhenguo Niu (niu-zglinux) |
no longer affects: | python-ironicclient |
Changed in ironic: | |
milestone: | none → 4.0.0 |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/167623
Review: https:/