91434be160
Currently, Scrubber exits with a status code of zero upon job fetching errors both in daemon and non daemon mode. It is more appropriate to have scrubber exit with status code 1 if it is not in daemon mode. This patch causes scrubber to exit with status code 1 (RuntimeError)if the scrubber is not running in daemon mode, facilitating accurate exits. Co-Authored-By: Steve Lewis <steve.lewis@rackspace.com> Co-Authored-By: Dharini Chandrasekar <dharini.chandrasekar@intel.com> Closes-Bug: #1548289 Change-Id: Ib75676dc90349f008395fb118978f4e37fa876ea
13 lines
394 B
YAML
13 lines
394 B
YAML
---
|
|
fixes:
|
|
- |
|
|
Please note a change in the Scrubber's behavior in case
|
|
of job fetching errors:
|
|
|
|
* If configured to work in daemon mode, the Scrubber
|
|
will log an error message at level critical, but
|
|
will not exit the process.
|
|
* If configured to work in non-daemon mode, the Scrubber
|
|
will log an error message at level critical and exit
|
|
with status one.
|