Questo contenuto non è disponibile nella lingua selezionata.
Chapter 11. Troubleshooting Director Issues
An error can occur at certain stages of the director's processes. This section provides some information for diagnosing common problems.
Note the common logs for the director's components:
- The
/var/logdirectory contains logs for many common OpenStack Platform components as well as logs for standard Red Hat Enterprise Linux applications. - The
journaldservice provides logs for various components. Note that ironic uses two units:openstack-ironic-apiandopenstack-ironic-conductor. Likewise,ironic-inspectoruses two units as well:openstack-ironic-inspectorandopenstack-ironic-inspector-dnsmasq. Use both units for each respective component. For example:sudo journalctl -u openstack-ironic-inspector -u openstack-ironic-inspector-dnsmasq
$ sudo journalctl -u openstack-ironic-inspector -u openstack-ironic-inspector-dnsmasqCopy to Clipboard Copied! Toggle word wrap Toggle overflow ironic-inspectoralso stores the ramdisk logs in/var/log/ironic-inspector/ramdisk/as gz-compressed tar files. Filenames contain date, time, and the IPMI address of the node. Use these logs for diagnosing introspection issues.
11.1. Troubleshooting Node Registration Copia collegamentoCollegamento copiato negli appunti!
Copia collegamentoCollegamento copiato negli appunti!
Issues with node registration usually arise from issues with incorrect node details. In this case, use
ironic to fix problems with node data registered. Here are a few examples:
Procedure 11.1. Fixing an Incorrect MAC Address
- Find out the assigned port UUID:
ironic node-port-list [NODE UUID]
$ ironic node-port-list [NODE UUID]Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Update the MAC address:
ironic port-update [PORT UUID] replace address=[NEW MAC]
$ ironic port-update [PORT UUID] replace address=[NEW MAC]Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Procedure 11.2. Fix an Incorrect IPMI Address
- Run the following command:
ironic node-update [NODE UUID] replace driver_info/ipmi_address=[NEW IPMI ADDRESS]
$ ironic node-update [NODE UUID] replace driver_info/ipmi_address=[NEW IPMI ADDRESS]Copy to Clipboard Copied! Toggle word wrap Toggle overflow