ironic/ironic/common
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
..
glance_service Remove logging translation calls from ironic.common 2017-05-15 13:26:58 -04:00
__init__.py Remove copyright from empty files 2014-01-07 21:05:01 +08:00
boot_devices.py get_supported_boot_devices() returns static device list 2015-08-12 14:53:00 +01:00
cinder.py Fix attribute name of cinder volume 2017-05-12 14:19:23 +09:00
config.py Move oslo.config references to oslo_config 2015-02-02 06:51:22 -08:00
context.py Remove unused logging import 2017-02-17 08:28:28 +07:00
dhcp_factory.py Remove file prefix parameter from lockutils methods 2016-11-28 13:29:01 +02:00
driver_factory.py Remove logging translation calls from ironic.common 2017-05-15 13:26:58 -04:00
exception.py Remove logging translation calls from ironic.common 2017-05-15 13:26:58 -04:00
fsm.py Removes unnecessary utf-8 encoding 2017-01-11 19:35:41 +05:30
grub_conf.template Fix for automated boot iso issue with IPA ramdisk 2015-04-10 09:09:53 -07:00
hash_ring.py Add hardware types to the hash ring 2017-01-19 20:35:05 +00:00
i18n.py doc: Add oslo.i18n usage link 2016-10-03 11:36:53 +00:00
image_service.py Merge "Use only Glance V2 by default (with a compatibility option)" 2017-01-20 12:22:05 +00:00
images.py Remove logging translation calls from ironic.common 2017-05-15 13:26:58 -04:00
isolinux_config.template Add support for creating vfat and iso images 2014-08-26 21:18:11 +05:30
keystone.py Remove logging translation calls from ironic.common 2017-05-15 13:26:58 -04:00
network.py Add Virtual Network Interface Driver APIs 2016-12-23 11:58:02 +00:00
neutron.py Remove logging translation calls from ironic.common 2017-05-15 13:26:58 -04:00
policy.py Remove logging translation calls from ironic.common 2017-05-15 13:26:58 -04:00
pxe_utils.py Fix directories permission for tftpboot 2017-05-19 06:51:42 +00:00
raid.py Add support for inband raid configuration agent ramdisk 2015-09-14 15:52:31 +00:00
release_mappings.py Updates to RPC and object version pinning 2017-04-03 11:40:42 -04:00
rpc.py Remove unused methods in common/paths and common/rpc 2017-04-06 00:34:22 +07:00
rpc_service.py Remove logging translation calls from ironic.common 2017-05-15 13:26:58 -04:00
service.py Make config generator aware of 'default_log_levels' override 2017-04-13 16:51:03 +03:00
states.py Generic power interface for soft reboot and soft power off 2017-01-04 11:38:01 +09:00
swift.py Config drive support for ceph radosgw 2017-04-12 17:21:50 +00:00
utils.py Remove logging translation calls from ironic.common 2017-05-15 13:26:58 -04:00
wsgi_service.py Remove unused logging import 2017-02-17 08:28:28 +07:00