Commit Graph

2 Commits

Author SHA1 Message Date
Dmitry Tantsur
68e6daf717 Release notes cleanup for 13.0.0
Change-Id: I0a2c5345b7f72014528a73ece68f442745f64302
2019-09-10 11:04:35 +02:00
Mark Beierl
62c95a7c96 Fix potential race condition on node power on and reboot
Currently there is the possibility that a configuration job
does not transition to the correct state and start execution
during a power on or reboot operation.  If the boot device
is being changed, the system might complete its POST before
the job is ready, leaving the job in the queue, and the
system will boot from the wrong device.

This fix suggests the following change for the power control:

  o During internal call to set boot device, poll the iDRAC job
    queue for a configurable amount of time to ensure the job
    is in the correct state
  o Throw an exception on timeout if the job does not transition
    to the correct state
  o Proceed with normal logic as soon as the job is in the
    correct state

This will ensure the iDRAC is in a state to execute the job
prior to the reboot starting, removing this race condition.

Story: #2004909
Task: #29259

Change-Id: I5cc71fb3c9a7e0166aab5bd458bbd257cefa8f5b
2019-07-16 09:08:20 -04:00