Merge lp:~julian-edwards/maas/fix-amt-template-retries-and-error-handling into lp:~maas-committers/maas/trunk
Proposed by
Julian Edwards
Status: | Merged |
---|---|
Approved by: | Julian Edwards |
Approved revision: | no longer in the source branch. |
Merged at revision: | 3027 |
Proposed branch: | lp:~julian-edwards/maas/fix-amt-template-retries-and-error-handling |
Merge into: | lp:~maas-committers/maas/trunk |
Diff against target: |
103 lines (+30/-36) 1 file modified
etc/maas/templates/power/amt.template (+30/-36) |
To merge this branch: | bzr merge lp:~julian-edwards/maas/fix-amt-template-retries-and-error-handling |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gavin Panella (community) | Approve | ||
Review via email:
|
Commit message
Changes to the AMT power template so that it catches errors from the amttool and exits with a code of 1 (which means you can retry). Also remove all the in-template retries as that is now handled by the core driver.
Description of the change
Tested on my NUCs by changing the IP to a bogus one which results in a similar error to the one in the linked bug. Also verified that the reties DTRT centrally, and finally I verified that the happy path works for starting and stopping the node.
To post a comment you must log in.
Looks good.