Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(609)

Issue 39970043: state: forced machine cleanup just sets Dead

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 5 months ago by fwereade
Modified:
10 years, 5 months ago
Reviewers:
dimitern, mp+198356
Visibility:
Public.

Description

state: forced machine cleanup just sets Dead fixes lp:1259473 https://code.launchpad.net/~fwereade/juju-core/force-dead-machine/+merge/198356 (do not edit description out of merge proposal)

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -19 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/juju/destroymachine_test.go View 1 chunk +4 lines, -2 lines 0 comments Download
M state/apiserver/client/client_test.go View 1 chunk +2 lines, -2 lines 0 comments Download
M state/cleanup.go View 2 chunks +15 lines, -5 lines 0 comments Download
M state/cleanup_test.go View 3 chunks +12 lines, -10 lines 0 comments Download

Messages

Total messages: 3
fwereade
Please take a look.
10 years, 5 months ago (2013-12-10 09:36:57 UTC) #1
dimitern
I'm not quite sure how is this related to the provisioner safe-mode. If the safe-mode ...
10 years, 5 months ago (2013-12-10 09:52:40 UTC) #2
dimitern
10 years, 5 months ago (2013-12-10 10:14:51 UTC) #3
On 2013/12/10 09:52:40, dimitern wrote:
> I'm not quite sure how is this related to the provisioner safe-mode. If the
> safe-mode is off, it will work, but if it's not the machine and its instance
> will remain there and there's no way to remove them from the CLI. Perhaps we
> should have a cleanup-machines command that does the job of the provisioner,
> when safe-mode is true.

Ok, I stand corrected. safe-mode makes a distinction between "unknown" and
"stopped/dead" instances. So this LGTM.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b