Chapter 7. Troubleshooting the Bare Metal Provisioning service
Use the following procedures to diagnose issues in a red Hat OpenStack on OpenShift (RHOSO) environment that includes the Bare Metal Provisioning service (ironic).
7.1. Querying node event history records Copy linkLink copied to clipboard!
You can query the node event history records to identify issues with bare-metal nodes when an operation fails.
Procedure
Open a remote shell connection to the
OpenStackClientpod:oc rsh -n openstack openstackclient
$ oc rsh -n openstack openstackclientCopy to Clipboard Copied! Toggle word wrap Toggle overflow View the event history for a particular node:
openstack baremetal node history list <node_id>
$ openstack baremetal node history list <node_id>Copy to Clipboard Copied! Toggle word wrap Toggle overflow This command returns a list of the error events and node state transitions that occurred on the node. Each event is identified with an event UUID.
View the details of a particular event that occurred on the node:
openstack baremetal node history get <node_id> <event_uuid>
$ openstack baremetal node history get <node_id> <event_uuid>Copy to Clipboard Copied! Toggle word wrap Toggle overflow Exit the
openstackclientpod:exit
$ exitCopy to Clipboard Copied! Toggle word wrap Toggle overflow