ironic/releasenotes/notes/fix-dir-permissions-bc56e83a651bbdb0.yaml
Madhuri Kumari 0f7a85e1ec Fix directories permission for tftpboot
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
2017-05-19 06:51:42 +00:00

8 lines
398 B
YAML

---
fixes:
- Adds the capability for an operator to explicitly define the permission
for created tftpboot folders. This provides the ability for ironic to be
utilized with a restrictive umask, where the tftp server may not be able
to read the file. Introduced a new config option ``[pxe]/dir_permission``
to specify the permission for the tftpboot directories to be created with.