Este conteúdo não está disponível no idioma selecionado.
Chapter 4. Debugging tips
4.1. Introspection debugging Copiar o linkLink copiado para a área de transferência!
Copiar o linkLink copiado para a área de transferência!
-
Check your introspection DHCP range and NICs in your
undercloud.conffile. If either of these values are incorrect, fix them and rerun theopenstack undercloud installcommand. - Ensure you are not trying to introspect more than your DHCP range of nodes can allow. Also remember that the DHCP lease for each node will still be active for approximately two minutes after introspection finishes.
- If all nodes fail introspection, ensure that you can ping target nodes over the native VLAN using the configured NIC and that the out-of-band interface credentials and addresses are correct.
- For debugging specific nodes, watch the console when the node boots and observe introspection commands to the node. If the node stops before completing the PXE process, check the connectivity, IP allocation, and the network load. When a node exits the BIOS and boots the introspection image, failures are rare and almost exclusively connectivity issues. Ensure that the heartbeat from the introspection image is not interrupted on its way to the undercloud.
4.2. Deployment debugging Copiar o linkLink copiado para a área de transferência!
Copiar o linkLink copiado para a área de transferência!
- Any additional DHCP servers that supply addresses on the provisioning network can prevent director from inspecting and provisioning machines.
For DHCP or PXE issues:
For introspection issues, run the following command:
sudo tcpdump -i any port 67 or port 68 or port 69
sudo tcpdump -i any port 67 or port 68 or port 69Copy to Clipboard Copied! Toggle word wrap Toggle overflow For deployment issues, run:
sudo ip netns exec qdhcp tcpdump -i <interface> port 67 or port 68 or port 69
sudo ip netns exec qdhcp tcpdump -i <interface> port 67 or port 68 or port 69Copy to Clipboard Copied! Toggle word wrap Toggle overflow
-
For failed or foreign disks, be aware of disks that do not have an
Upstate according to the machine’s out-of-band management. Disks can exit theUpstate during a deployment cycle and change the order that your disks appear in the base operating system. -
Run
openstack stack failures list overcloud, andheat resource-list -n5 overcloud | grep -i fail. Review the output, then log into the node where the failure occurs and review/var/log/messagesorjournalctl -u os-collect-config.