worker/migrationmaster: ABORT failure not status #6718

Merged
merged 2 commits into from Dec 15, 2016

Conversation

Projects
None yet
4 participants
Contributor

mjs commented Dec 15, 2016

A failure to remove the model from the target controller during ABORT is often completely normal (i.e. the migration never got to importing it). Don't record this failure to a migration status update as it obscures the real reason for the abort.

Drive-by: Correct docstring for MigrationTarget.Activate.

No QA necessary.

worker/migrationmaster: ABORT failure not status
A failure to remove the model from the target controller during ABORT is
often completely normal (i.e. the migration never got to importing
it). Don't record this failure to a migration status update as it
obscures the real reason for the abort.

Other than the typo looks good.

-// Activate sets the migration mode of the model to "active". It is an error to
-// attempt to Abort a model that has a migration mode other than importing.
+// Activate sets the migration mode of the model to "none", meaning it
+// is ready for us. It is an error to attempt to Abort a model that
@babbageclunk

babbageclunk Dec 15, 2016

Member

Tyop - should be "ready for youse [guys]".

Contributor

mjs commented Dec 15, 2016

$$merge$$

Contributor

jujubot commented Dec 15, 2016

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju

@jujubot jujubot merged commit b16bafe into juju:2.1 Dec 15, 2016

1 check failed

github-check-merge-juju Built PR, ran unit tests, and tested LXD deploy. Use !!.*!! to request another build. IE, !!build!!, !!retry!!
Details

jujubot added a commit that referenced this pull request Jan 9, 2017

Merge pull request #6785 from mjs/MM-tweaks-develop
worker/migrationmaster: ABORT failure not status

This is a forward port of #6718.

A failure to remove the model from the target controller during ABORT is often completely normal (i.e. the migration never got to importing it). Don't record this failure to a migration status update as it obscures the real reason for the abort.

Drive-by: Correct docstring for MigrationTarget.Activate.

@mjs mjs deleted the mjs:MM-tweaks branch Feb 22, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment