Ce contenu n'est pas disponible dans la langue sélectionnée.
Chapter 12. 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-discoverduses two units as well:openstack-ironic-discoverdandopenstack-ironic-discoverd-dnsmasq. Use both units for each respective component. For example:sudo journalctl -u openstack-ironic-discoverd -u openstack-ironic-discoverd-dnsmasq
$ sudo journalctl -u openstack-ironic-discoverd -u openstack-ironic-discoverd-dnsmasqCopy to Clipboard Copied! Toggle word wrap Toggle overflow ironic-discoverdalso stores the ramdisk logs in/var/log/ironic-discoverd/ramdisk/as gz-compressed tar files. Filenames contain date, time, and IPMI address of the node. Use these logs for diagnosing introspection issues.
12.1. Troubleshooting Node Registration Copier lienLien copié sur presse-papiers!
Copier lienLien copié sur presse-papiers!
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 12.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 12.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