Merge lp://staging/~sinzui/juju-ci-tools/raise-ha-error into lp://staging/juju-ci-tools

Proposed by Curtis Hovey
Status: Merged
Merged at revision: 1530
Proposed branch: lp://staging/~sinzui/juju-ci-tools/raise-ha-error
Merge into: lp://staging/juju-ci-tools
Diff against target: 37 lines (+16/-0)
2 files modified
jujupy.py (+1/-0)
tests/test_jujupy.py (+15/-0)
To merge this branch: bzr merge lp://staging/~sinzui/juju-ci-tools/raise-ha-error
Reviewer Review Type Date Requested Status
Seman (community) Approve
Review via email: mp+301968@code.staging.launchpad.net

Description of the change

Raise an error when an agent in in error during wait_for_ha

There are several recent cases where outcome analyser reports that that HA timed out bug status shows a machine failed to provision. This branch add a call to status.check_agents_started() before looks for HA state. check_agents_started() will raise an error if a machine is in error.

This ensures That we see that real error before we see a timeout. The test will exit the timeout early as well.

To post a comment you must log in.
Revision history for this message
Seman (sseman) wrote :

Thank you.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches