update/cgcs-patch
Don Penney ef0398bb7f Add failure checks to patching init script
The sw-patch init script is called by the 'sw-patch install-local'
command with a restart option to trigger the patch-agent to
install patches, as there is no communications between the
patch-agent and patch-controller at this point. However, the
init script was not checking for failures reported by the
patch-agent when it tries to install patches.

In the case of #1819496, the lighttpd server was not running,
due to a temporary config change at the time. As a result, the
patch-agent was unable to communicate with the patching repo,
and failed to install the patch. Because the init script was
not checking for failures, the failure went unreported to the user.

This update adds checks to the sw-patch init script, in order
to report the failure back to the user.

Change-Id: Id8d69bef3a5c6c2f81d56f4b26752d084f9a7ff2
Closes-Bug: 1819496
Signed-off-by: Don Penney <don.penney@windriver.com>
2019-03-11 13:28:33 -04:00
..
bin Add failure checks to patching init script 2019-03-11 13:28:33 -04:00
centos Add hooks for python wheel generation 2018-10-24 17:13:19 +00:00
cgcs-patch Trigger garbage collection to free WSGI resources 2019-03-11 11:05:33 -04:00
LICENSE StarlingX open source release updates 2018-05-31 07:37:12 -07:00
PKG-INFO StarlingX open source release updates 2018-05-31 07:37:12 -07:00
restart-info.html Change compute node to worker node personality 2018-12-13 13:05:05 -05:00