metal/bsp-files/kickstarts
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
..
functions.sh Fix issues with controller node Anaconda hang 2020-07-30 14:20:33 +00:00
post_common.cfg Harden kickstarts as udev behavior can lead to random failures 2020-07-28 16:14:28 +00:00
post_kernel_aio_and_worker.cfg Drop isolcpu from AIO/worker kickstarts 2020-06-19 02:08:28 -04:00
post_kernel_controller.cfg Security: Handle nospectre_v1 in the bootargs 2020-01-28 18:21:13 -05:00
post_kernel_storage.cfg Security: Handle nospectre_v1 in the bootargs 2020-01-28 18:21:13 -05:00
post_lvm_no_pv_on_rootfs.cfg Change compute node to worker node personality 2018-12-13 13:08:48 -05:00
post_lvm_pv_on_rootfs.cfg StarlingX open source release updates 2018-05-31 07:36:43 -07:00
post_net_common.cfg Convert BOOTIF MAC to NIC name 2020-04-03 09:56:41 -07:00
post_net_controller.cfg Configurable Host HTTP/HTTPS Port Binding 2019-02-06 16:04:07 -06:00
post_platform_conf_aio_lowlatency.cfg Change compute node to worker node personality 2018-12-13 13:08:48 -05:00
post_platform_conf_aio.cfg Change compute node to worker node personality 2018-12-13 13:08:48 -05:00
post_platform_conf_controller.cfg StarlingX open source release updates 2018-05-31 07:36:43 -07:00
post_platform_conf_storage.cfg Configurable Host HTTP/HTTPS Port Binding 2019-02-06 16:04:07 -06:00
post_platform_conf_worker_lowlatency.cfg Configurable Host HTTP/HTTPS Port Binding 2019-02-06 16:04:07 -06:00
post_platform_conf_worker.cfg Configurable Host HTTP/HTTPS Port Binding 2019-02-06 16:04:07 -06:00
post_pxeboot_controller.cfg Drop copy of .cfg files from controller kickstarts 2020-04-27 22:50:10 -04:00
post_system_aio.cfg Change compute node to worker node personality 2018-12-13 13:08:48 -05:00
post_usb_addon.cfg Drop copy of .cfg files from controller kickstarts 2020-04-27 22:50:10 -04:00
post_usb_controller.cfg Drop copy of .cfg files from controller kickstarts 2020-04-27 22:50:10 -04:00
post_yow_controller.cfg Drop copy of .cfg files from controller kickstarts 2020-04-27 22:50:10 -04:00
pre_common_head.cfg Select disk via kickstart 2020-04-02 17:23:02 -07:00
pre_disk_aio.cfg Harden kickstarts as udev behavior can lead to random failures 2020-07-28 16:14:28 +00:00
pre_disk_controller.cfg Harden kickstarts as udev behavior can lead to random failures 2020-07-28 16:14:28 +00:00
pre_disk_setup_common.cfg Fix issues with controller node Anaconda hang 2020-07-30 14:20:33 +00:00
pre_disk_setup_tail.cfg Fix issues with controller node Anaconda hang 2020-07-30 14:20:33 +00:00
pre_disk_storage.cfg Harden kickstarts as udev behavior can lead to random failures 2020-07-28 16:14:28 +00:00
pre_disk_worker.cfg Harden kickstarts as udev behavior can lead to random failures 2020-07-28 16:14:28 +00:00
pre_net_common.cfg Add ntpd to installer, sync time from active controller during install 2018-06-27 15:48:41 -04:00
pre_pkglist_lowlatency.cfg Exclude mlnx-ofa_kernel-rt from installation 2018-06-27 15:46:13 -04:00
pre_pkglist.cfg Exclude mlnx-ofa_kernel-rt from installation 2018-06-27 15:46:13 -04:00