DescriptionFix:#1295650 Failproofed rsyslog restoring script
This bash script failure interrupts provisioning of
machines on juju-restore.
After making manual tests on the a half restored
env, I noticed that the errors in the process and
in the scripts that used this are caused by sed
being called in files that might not exist in all
of the versions, Andrew Wilkins informed me, as
stated in the bug, that those where not necessary in
newer versions of juju-core and it was ok to ignore
them.
I added failsafes with informative messages for
the script (error catching not possible because
of -e flag).
I also added checks for another sed call that
was just handling expected errors using ||
now those errors should not be triggered and
only an echo for the expected missing rsyslog
file will be output.
https://code.launchpad.net/~hduran-8/juju-core/1295650_rsyslog_on_restore/+merge/212207
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 8
Patch Set 2 : Fix:#1295650 Failproofed rsyslog restoring script #
MessagesTotal messages: 5
|