168442b2e1
Add host inv_state attribute to allow determination of when the initial inventory collection has been completed. Update references which were using disks/pvs as proxy for inventory completion to reference the host inv_state attribute. Description of issue (from Bug 1837097): The system inventory agent needs to explicitly indicate that inventory collection has finished for each host. The current method for determining whether a host has been inventoried successfully is to wait for the disk/pv list to be non-empty. That worked well until recently when the host file system feature was merged. The system inventory agent now collects/creates host file systems after the disk list is populated so a provisioning system waiting on the disk list will move ahead to unlock the node prematurely before the host file systems have been created and reported to system inventory. This can lead to undefined behavior either on the system being provisioned or the provisioning system that is configuring the target system. If we do not fix this properly with an explicit/deterministic flag then we will trip over this issue each time someone adds a new inventory collection step to the end of the system inventory agent's initial process loop. Change-Id: Ifdb8871a892414ee4c433cf7a6ec7e79390c6420 Closes-bug: 1837097 Signed-off-by: John Kung <john.kung@windriver.com> |
||
---|---|---|
.. | ||
centos | ||
controllerconfig | ||
debian | ||
.gitignore | ||
PKG-INFO |