Comment 13 for bug 1273296

Revision history for this message
Björn Tillenius (bjornt) wrote : Re: [Bug 1273296] Re: cloud-init sometimes fails to run the part-001 script

On Wed, Jan 29, 2014 at 06:43:25AM -0000, Julian Edwards wrote:
> *** This bug is a duplicate of bug 1237215 ***
> https://bugs.launchpad.net/bugs/1237215
>
> On Wednesday 29 Jan 2014 06:23:14 you wrote:
> > Considering the fix is to ssh to the node and re-run the script, I would
> > much rather have MAAS/curtin do that for me, than telling me that
> > something went wrong.
>
> I think that's the wrong thing to do - if a script went wrong it needs to be
> reported, not blindly retried. The report could include the option to retry
> for you though.

Agreed, it shouldn't just blindly retry. I'm not proposing re-running
the whole script. The fix should go to the part-001 script, to retry the
specific part that failed in this case. I.e. if the disk is busy, wait a
bit and retry.