933d3a3a73
This is incremental fix of bug:2053149. Upon network boot (first boot) of worker node, agent manager is supposed to report ports/devices, without waiting for worker manifest, as that would never run on first boot. Without this, after system restore, it will be unable to unlock compute node due to sriov config update. kickstart records first boot as "/etc/platform/.first_boot". Agent manager deletes this file. In case agent manager get crashed, it will start again. This time, agent manager don't see .first_boot file, and don't know this is still first boot and it won't report inventory for the worker node. This commit fixes this issue by creating volatile file "/var/run/.first_boot" before deleting "/etc/platform/.first_boot", and agent relies on both files to figure out it is first boot or not. This present same logic for multiple crash/restart of agent manager. TEST PLAN: PASS: AIO-DX bootstrap has no issues. lock/unlock has no issues. PASS: Network-boot worker node, before doing unlock, restart agent manager (sysinv-agent), check sysinv.log to see ports are reported. Closes-Bug: 2053149 Change-Id: Iace5576575388a6ed3403590dbeec545c25fc0e0 Signed-off-by: Tara Nath Subedi <tara.subedi@windriver.com> |
||
---|---|---|
api-ref/source | ||
config-gate | ||
controllerconfig | ||
devstack | ||
doc | ||
releasenotes | ||
storageconfig | ||
sysinv | ||
tmp/patch-scripts/EXAMPLE_SYSINV/scripts | ||
tools/docker/images | ||
tsconfig | ||
workerconfig | ||
.gitignore | ||
.gitreview | ||
.yamllint | ||
.zuul.yaml | ||
CONTRIBUTORS.wrs | ||
LICENSE | ||
README.rst | ||
bindep.txt | ||
centos_build_layer.cfg | ||
centos_dev_wheels.inc | ||
centos_iso_image.inc | ||
centos_pkg_dirs | ||
centos_pkg_dirs_containers | ||
centos_stable_wheels.inc | ||
debian_build_layer.cfg | ||
debian_iso_image.inc | ||
debian_pkg_dirs | ||
debian_stable_wheels.inc | ||
test-requirements.txt | ||
tox.ini |
README.rst
config
The starlingx/config repository handles the StarlingX configuration management services.
Its key component is the System Inventory Service (Sysinv), which provides the system command-line interface (CLI)1.
This repository is not intended to be developed standalone, but rather as part of the StarlingX Source System, which is defined by the StarlingX manifest2.