
The PXE Annaconda dhcp cleanup test triggers the dhcp_factory clean up code by default. Which is good! Problem is, if you don't have dnsmasq installed, things blow up. Specifically becuase it was called in such a way where it was trying to clean up dhcp records for nodes. Example: ironic.common.exception.InstanceDeployFailure: An error occurred after deployment, while preparing to reboot the node 1be26c0b-03f2-4d2e-ae87-c02d7f33c123: [Errno 2] No such file or directory: '/etc/dnsmasq.d/hostsdir.d/ironic-52:54:00:cf:2d:31.conf' Instead of executing that far, we just now check that we did, indeed call for dhcp cleanup. This was discovered while trying to fix unit test race conditions and random failures in CI. Change-Id: Id7b1e2e9ca97aeff786e9df06f35eca67dd36b58
Ironic
Team and repository tags
Overview
Ironic consists of an API and plug-ins for managing and provisioning physical machines in a security-aware and fault-tolerant manner. It can be used with nova as a hypervisor driver, or standalone service using bifrost. By default, it will use PXE and IPMI to interact with bare metal machines. Ironic also supports vendor-specific plug-ins which may implement additional functionality.
Ironic is distributed under the terms of the Apache License, Version 2.0. The full terms and conditions of this license are detailed in the LICENSE file.
Project resources
- Documentation: https://docs.openstack.org/ironic/latest
- Source: https://opendev.org/openstack/ironic
- Bugs: https://bugs.launchpad.net/ironic/+bugs
- Wiki: https://wiki.openstack.org/wiki/Ironic
- APIs: https://docs.openstack.org/api-ref/baremetal/index.html
- Release Notes: https://docs.openstack.org/releasenotes/ironic/
- Design Specifications: https://specs.openstack.org/openstack/ironic-specs/
Project status, bugs, and requests for feature enhancements (RFEs) are tracked in StoryBoard: https://storyboard.openstack.org/#!/project/943
For information on how to contribute to ironic, see https://docs.openstack.org/ironic/latest/contributor