[Piuparts-devel] Bug#654419: piuparts-master should not fail on network errors

Andreas Beckmann debian at abeckmann.de
Tue Jan 3 16:14:12 UTC 2012

Package: piuparts
Version: 0.42
Severity: normal

piuparts-master failures cause piuparts-slave to die. This is probably
fine for "serious errors", but nasty for transient network errors
(failing to resolve the mirror host or downloading the packages file)
where the slave could just switch to the next section (and finally go to
sleep if nothing is to do).

I see two possible solutions:
* catch the error and initialize an "empty" packages list (accept logs
  from the slave, but don't issue packages to be checked)
* instead of 'hello' return 'initialization failed' (or something else)
  and let the slave skip this master


More information about the Piuparts-devel mailing list