
Prior to this patch, setting the CONF.debug to True in the ironic.conf doesn't enable the debug logs in IPA. The user had to also append "ipa-debug=1" to the CONF.pxe.pxe_append_params configuration option. This patch is changing this behavior by making the CONF.debug option reflect on the IPA logs as well. As I understand, IPA is just an extension of the Ironic code that runs in-band on the node allowing Ironic to access the local hardware. This way, in order to enable debug as a whole the user only needs to set one configuration option. The code in this patch checks if CONF.debug is set to True and also check if "ipa-debug" is not explicit set in CONF.pxe.pxe_append_params configuration - to not overwrite the user configuration - and only then will append "ipa-debug=1" to it. The "ipa-debug=1" kernel parameter was also removed from the devstack lib because CONF.debug is always set to True there. Change-Id: I675fb11248d3789d45cf5905b7c15368f026b345 Closes-Bug: #1649561
Team and repository tags
Ironic
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: http://docs.openstack.org/developer/ironic
- Source: http://git.openstack.org/cgit/openstack/ironic
- Bugs: http://bugs.launchpad.net/ironic
- Wiki: https://wiki.openstack.org/wiki/Ironic
- APIs: http://developer.openstack.org/api-ref/baremetal/index.html
Project status, bugs, and requests for feature enhancements (RFEs) are tracked on Launchpad: http://launchpad.net/ironic
For information on how to contribute to ironic, see http://docs.openstack.org/developer/ironic/dev/code-contribution-guide.html