
Currently method "_ensure_config_dirs_exist" creates tftpboot/<uuid> dir with wrong permission. This is due to the system umask setting which overrides the default permission of 0777 to 0755 or 0750. When the permission is 0750, BM can't get deploy_kernel and ramdisk from tftpserver. This may happen only when tftp process is launched from other user than root and as result can't read files created by Ironic. So this patch tries to fix the issue by explicitly changing the permissions defined in the config option ``[pxe]/dir_permission``. Change-Id: I3119ec7ae31bf82f716bf082fa4c3296d6aa3587 Closes-bug: #1655568
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