2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-09-05 20:47:55 +00:00
Commit Graph

14 Commits

Author SHA1 Message Date
Daniel Hilst 851284067d fix(xcat-core): retry_install waits 20 min per provision attempt, not 30
wait_for_provision caps how long retry_install polls for a node to reach
'booted' after each rinstall. Measured healthy provisions in devel-cd #22 boot
well inside this window (diskless ~6-8 min, diskfull ~8-16 min), so 30 min was
mostly slack that only lengthened the give-up time on a genuinely failing node.

Drop it to 20 min: still above the ~16-min diskfull install, while shrinking each
failed attempt's cost (6 min fixed sleep + 20 poll = 26 min vs 36). Combined with
the 3->2 attempt default, a fully-failing case's retry stack drops substantially.
Trade-off noted: the margin over a slow-under-load diskfull install is now tighter.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-07-24 16:19:58 -03:00
Daniel Hilst b9336448f7 fix(xcat-core): retry_install defaults to 2 provision attempts, not 3
retry_install.sh retries a node provision $times (default 3) x 30 min. The flat
diskless/diskfull cases each call it multiple times, so when a node genuinely
fails to come up the retries stack to ~3.5-4 h per case (measured: a single
contention-flaked el8-x86 diskless burned 14181s in devel-cd #22), which both
balloons the CD wall-clock and delays the red verdict.

Two attempts still absorbs a one-off transient (a single slow/failed netboot)
while halving the worst-case retry time (3->2 tries per call). Callers that pass
an explicit count (e.g. the negative-provision check that passes 1) are
unaffected -- only the default changes.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-07-24 16:15:15 -03:00
Daniel Hilst 638f0d75c4 Fix xCAT 2.18 EL10 x86_64 package build issues
Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-06-20 18:48:14 -03:00
Mark Gurevich c3289c01e1 Add openbmc Python installation test on SN 2022-04-19 10:35:35 -04:00
Mark Gurevich d43dfe0469 Shorten provision wait time 2021-04-21 13:40:30 -04:00
Mark Gurevich 3196739848 Retry rinstall if first one fails 2020-08-12 09:58:25 -04:00
Mark Gurevich 1fdbbe65eb More clear default 2020-04-20 18:18:07 -04:00
Mark Gurevich a5e02ed06f Change retry_install default for number of attempts 2020-04-20 16:04:31 -04:00
Mark Gurevich f58645bcb9 go-xcat testcase enhancements 2020-03-06 13:37:24 -05:00
Mark Gurevich 4ed604ffb0 Install repoquery for go-xcat testcases 2020-02-28 09:59:07 -05:00
Mark Gurevich 457c1d6ca1 Improve install script and testcases 2020-02-27 13:27:42 -05:00
litingt 09edffb750 update cases to let rinstall try several times 2019-01-23 01:37:03 -05:00
litingt 7dbe381b5a update script to add repeat times 2019-01-11 03:25:47 -05:00
litingt e2939f6605 implement a script to achieve retry mechanism against rinstall 2019-01-11 02:53:29 -05:00