metal/bsp-files
Ovidiu Poncea 7a0a2dac1a Fix issues with controller node Anaconda hang
On some deployments install fails as we keep one FD open
during install. This leads to hangs when Anaconda
'post' stage returns.

On other deployments install fails as udev sometimes creates
multiple links to the same devices in /dev/disk/by-path.
We iterate through this list and, because they are not unique,
we try to run flocks multiple times for the same device.
Locking a device multiple times doesn't work, the second
flock waits for first lock to release.

This commit:
 o removes 'exec {stdout}>&1' from ks-functions.sh so it no
   longer opens FDs in 'post' stage. For the pre stage we open
   it only when needed;
 o makes sure that list of storage devices is unique;
 o increases timeout of udevadm settle from its default of 180s
   to 300s, the value used throughout Anaconda. This helps
   with slower hardware.

Closes-Bug: 1889427
Change-Id: I348f10d96a78ea2c1c25fe6cf48462b0bc31fb84
Signed-off-by: Ovidiu Poncea <ovidiu.poncea@windriver.com>
2020-07-30 14:20:33 +00:00
..
kickstarts Fix issues with controller node Anaconda hang 2020-07-30 14:20:33 +00:00
upgrades Fix linters issues and enable tox/zuul linters job as gate 2018-09-05 09:02:25 +08:00
centos-ks-gen.pl Harden kickstarts as udev behavior can lead to random failures 2020-07-28 16:14:28 +00:00
centos.syslinux.cfg Drop clone.py references from boot menu comment blocks 2020-02-03 12:48:03 -05:00
filter_out_from_controller Merge "Add igb_uio kernel module filters" 2020-06-16 22:17:16 +00:00
filter_out_from_smallsystem Add igb_uio kernel module filters 2020-06-05 10:39:28 -04:00
filter_out_from_smallsystem_lowlatency Add igb_uio kernel module filters 2020-06-05 10:39:28 -04:00
filter_out_from_storage Restrict stx-portieris-helm to controller 2020-07-27 13:26:04 -04:00
filter_out_from_worker Restrict stx-portieris-helm to controller 2020-07-27 13:26:04 -04:00
filter_out_from_worker_lowlatency Restrict stx-portieris-helm to controller 2020-07-27 13:26:04 -04:00
grub.cfg Drop clone.py references from boot menu comment blocks 2020-02-03 12:48:03 -05:00
pkg-list.pl StarlingX open source release updates 2018-05-31 07:36:43 -07:00
platform_comps.py ensure output format of 'subprocess.check_output' is same in Python2/3 2019-12-17 01:59:34 +00:00
pxeboot_grub.cfg Remove Extended Security Profile selections 2019-08-19 10:53:34 -04:00
pxeboot_setup.sh PXE Boot Server robustness 2018-11-26 15:40:28 -05:00
pxeboot.cfg Remove Extended Security Profile selections 2019-08-19 10:53:34 -04:00