Fixes lp#1597830: worker should not restart agent. #5746

Merged
merged 4 commits into from Jul 1, 2016

Conversation

Projects
None yet
5 participants
Member

anastasiamac commented Jun 30, 2016

Xenial machines with units would hang when trying to convert to state servers under HA after new revisions of systemd and dbus were introduced.

It was discovered that the conv2state worker would explicitly restart an agent. This proposal changes the behavior to throw an error instead to ensure that proper infrastructure restarts the agent cleanly.

worker/conv2state/converter.go
@@ -31,9 +32,8 @@ type converter struct {
machine machine
}
-// Agent is an interface that can have its password set and be told to restart.
+// Agent is an interface that can have its password set.
@howbazaar

howbazaar Jun 30, 2016

Owner

This comment is still wrong, because all it has is Tag.

Contributor

fwereade commented Jun 30, 2016

LGTM

Contributor

fwereade commented Jun 30, 2016

(modulo tim's comment, but I'm happy)

Owner

howbazaar commented Jun 30, 2016

LGTM as well

Member

anastasiamac commented Jul 1, 2016

$$fixes-1597830$$

Contributor

jujubot commented Jul 1, 2016

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

Contributor

jujubot commented Jul 1, 2016

Build failed: Generating tarball failed
build url: http://juju-ci.vapour.ws:8080/job/github-merge-juju/8331

Contributor

jujubot commented Jul 1, 2016

Build failed: Generating tarball failed
build url: http://juju-ci.vapour.ws:8080/job/github-merge-juju/8332

Member

anastasiamac commented Jul 1, 2016

$$fixes-1597830$$

Contributor

jujubot commented Jul 1, 2016

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

Contributor

jujubot commented Jul 1, 2016

Build failed: Generating tarball failed
build url: http://juju-ci.vapour.ws:8080/job/github-merge-juju/8333

Member

anastasiamac commented Jul 1, 2016

$$fixes-1597830$$

Contributor

jujubot commented Jul 1, 2016

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

Contributor

jujubot commented Jul 1, 2016

Build failed: Generating tarball failed
build url: http://juju-ci.vapour.ws:8080/job/github-merge-juju/8336

Contributor

bz2 commented Jul 1, 2016

$$fixedit$$

Contributor

jujubot commented Jul 1, 2016

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

Contributor

jujubot commented Jul 1, 2016

Build failed: Generating tarball failed
build url: http://juju-ci.vapour.ws:8080/job/github-merge-juju/8337

Contributor

bz2 commented Jul 1, 2016

$$noreally$$

Contributor

jujubot commented Jul 1, 2016

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

@jujubot jujubot merged commit 113572c into juju:1.25 Jul 1, 2016

@anastasiamac anastasiamac deleted the anastasiamac:jobs-change-pickup branch Jul 1, 2016

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