5642a575c5
This update introduces support for application dependencies on specified software patches. This allows sysinv to query patch states and to report application dependencies, to block removal of required patches. APIs introduced: is_applied: Provide a list of patch IDs. Returns True if ALL patches are in Applied (fully applied/installed) state, False if any are not. report_app_dependencies: Provide an app name-version string and list of patches. * Apps are dropped by reporting app name with no patch list / empty list. * Triggers sync with patch-controller neighbour (ie. standby controller) query_app_dependencies: Query for dict of app => patch list, for all reported apps. On patch removal, the patch-controller checks to see if the patch being removed is required by any applications. Reject the removal, if so. * Provide backdoor --skipappcheck option to skip this dependency check. Change-Id: I6b0dcf3c88312677a95c7eb860cb3b30779554d0 Story: 2005248 Task: 30318 Signed-off-by: Don Penney <don.penney@windriver.com> |
||
---|---|---|
.. | ||
make_patch | ||
modify_patch | ||
patch_build | ||
patch_check_goenabled.sh | ||
patch-functions | ||
patch-tmpdirs.conf | ||
patching.conf | ||
patching.logrotate | ||
pmon-sw-patch-agent.conf | ||
pmon-sw-patch-controller-daemon.conf | ||
policy.json | ||
query_patch | ||
rpm-audit | ||
run-patch-scripts | ||
setup_patch_repo | ||
sw-patch | ||
sw-patch-agent | ||
sw-patch-agent-init.sh | ||
sw-patch-agent-restart | ||
sw-patch-agent.service | ||
sw-patch-controller-daemon | ||
sw-patch-controller-daemon-init.sh | ||
sw-patch-controller-daemon-restart | ||
sw-patch-controller-daemon.service | ||
sw-patch-controller-init.sh | ||
sw-patch-controller.service | ||
sw-patch-init.sh | ||
sw-patch.completion | ||
sw-patch.service | ||
upgrade-start-pkg-extract |