ironic-python-agent/releasenotes/notes/disk-wait-2e0e85e0947f80e9.yaml
Dmitry Tantsur c15ed6a48e Wait for at least one suitable disk to appear on start up
Some kernel modules take substantial time to initialize. For example,
with mpt2sas RAID driver inspection and deployment randomly fail
due to IPA starting before the driver finishes initialization.

This problem is probably impossible to solve in a generic case, as
modern Linux environment do not have a notion of "hardware is fully
initialized" moment. All hardware is essentially hotplug.

To solve it at least for the simplest case, this patch adds a wait loop
on start up waiting for at least one suitable disk to appear in inventory.
Note that root device hints are not considered, as the node might not
be known at that moment yet.

Change-Id: Id163ca28f7c140c302ea04947ded3f3c58b284de
Partial-Bug: #1582797
2016-05-24 10:36:45 +02:00

6 lines
232 B
YAML

---
fixes:
- On start up wait up to 30 seconds for the first disk device suitable for
deployment to appear. This is to fix both inspection and deployment on
hardware that takes long to initialize (e.g. some RAID devices).