此内容没有您所选择的语言版本。

Chapter 4. Debugging tips


4.1. Introspection debugging

  • Check your introspection DHCP range and NICs in your undercloud.conf file. If either of these values are incorrect, fix them and rerun the openstack undercloud install command.
  • 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

  • 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
    • For deployment issues, run:

      sudo ip netns exec qdhcp tcpdump -i <interface> port 67 or port 68 or port 69
  • For failed or foreign disks, be aware of disks that do not have an Up state according to the machine’s out-of-band management. Disks can exit the Up state during a deployment cycle and change the order that your disks appear in the base operating system.
  • Run openstack stack failures list overcloud, and heat resource-list -n5 overcloud | grep -i fail. Review the output, log into the node where the failure occurs, review the logs in /var/log/ and /var/log/containers/, and run journalctl -u os-collect-config.
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.