slaprunner resilience: do not exit with error if a backup folder doesn't exists
Showing
-
Developer
I think with this commit you are also hiding rsync issues. For exemple, rsync could crash because there is some file it cannot read in these paths (ie: root manual intervention). Also, project and public folders are created by the slapos recipe (https://lab.nexedi.com/nexedi/slapos/blob/master/software/slaprunner/instance-runner.cfg#L121-122), so they havo to be there (if not, they will be recreated by the next run of
slapos node instance
, in order to put back the instance in a consistent state). -
Owner
@Nicolas seems right, the error will make things exit and hide the errors. (it is like make a try...except without catch a specific exception).
-
Maintainer
yes, you are right. I'll commit a fix for it.
-
mentioned in commit 01d58b18
Please register or sign in to comment