model-migration pre-checks failed to catch issue: not idle

Bug #1620438 reported by Christopher Lee
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Critical
Menno Finlay-Smits
2.1
Fix Released
Critical
Menno Finlay-Smits

Bug Description

As seen in issue: http://reports.vapour.ws/releases/issue/57ce2d2b749a563a65a52631

We can see in the machine-0.log that the precheck failed, but it didn't make the 'juju migrate' command fail.
Example log:
2016-09-05 04:18:32 INFO juju.worker.migrationmaster:ef70bc worker.go:254 performing source prechecks 2016-09-05 04:18:32 ERROR juju.worker.migrationmaster:ef70bc worker.go:262 source prechecks failed: unit mongodb/0 not idle (failed)
2016-09-05 04:18:32 INFO juju.worker.migrationmaster:ef70bc worker.go:228 setting migration phase to ABORT

Revision history for this message
Menno Finlay-Smits (menno.smits) wrote :
Changed in juju:
status: Triaged → Fix Committed
Changed in juju:
milestone: none → 2.0-beta18
tags: added: ci intermittent-failure
Curtis Hovey (sinzui)
Changed in juju:
status: Fix Committed → Fix Released
Revision history for this message
Curtis Hovey (sinzui) wrote :

Sorry. CI continues to see this issue. The frequency does not appear to show a regression, rather, the issue is intermittent.

Changed in juju:
status: Fix Released → Triaged
milestone: 2.0-beta18 → 2.0.0
Changed in juju:
milestone: 2.0.0 → 2.1.0
Changed in juju:
importance: High → Critical
Curtis Hovey (sinzui)
tags: added: regression
Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

Further investigation needs to occur as to why this seems ok in LXD (on some hosts), but otherwise is rather intermittent on other LXD hosts (silcoon), as well as in the cloud. All of these should work.

Changed in juju:
assignee: nobody → Menno Smits (menno.smits)
Revision history for this message
Tim Penhey (thumper) wrote :

We now allow idle and executing, as any sufficiently large model will almost certainly have something running all the time.

Changed in juju:
status: Triaged → Fix Committed
assignee: Menno Smits (menno.smits) → Tim Penhey (thumper)
Revision history for this message
Tim Penhey (thumper) wrote :
Revision history for this message
Anastasia (anastasia-macmood) wrote :
Changed in juju:
status: Fix Committed → Triaged
Changed in juju:
assignee: Tim Penhey (thumper) → Menno Smits (menno.smits)
status: Triaged → In Progress
Revision history for this message
Menno Finlay-Smits (menno.smits) wrote :

Here's the fix: https://github.com/juju/juju/pull/6712

The reason is quite involved. Details are on the PR.

no longer affects: juju/trunk
no longer affects: juju/2.2
Changed in juju:
milestone: 2.1.0 → 2.2.0
Revision history for this message
Anastasia (anastasia-macmood) wrote :

PR against 2.2 (develop): https://github.com/juju/juju/pull/6779

Changed in juju:
status: In Progress → Fix Committed
Changed in juju:
milestone: 2.2.0 → 2.2.0-alpha1
Curtis Hovey (sinzui)
Changed in juju:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.