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

Issue 10746044: deployer: Compatibility fixes (Closed)

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

Description

deployer: Compatibility fixes This fixes an omission made in r1347: now the upstart conf files in /etc/init are created like this: jujud-<unit-tag>.conf (e.g. jujud-unit-mysql-0.conf). Before the name used to contain a deployer tag (e.g. jujud-machine-0:unit-mysql-0.conf). Because of the change, without this branch after upgrading an existing juju environment to the current version or later, previously deployed units won't be visible to the (now single) deployer. This fixes that and allows both newly deployed and previously deployed units to be discovered and recalled. https://code.launchpad.net/~dimitern/juju-core/061-deployer-fix-upstart-conf-detection/+merge/172099 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 5

Patch Set 2 : deployer: Compatibility fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+172 lines, -85 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/jujud/agent.go View 1 chunk +3 lines, -3 lines 0 comments Download
M cmd/jujud/deploy_test.go View 2 chunks +1 line, -4 lines 0 comments Download
M log/syslog/cmd.go View 1 chunk +5 lines, -1 line 0 comments Download
M worker/deployer/deployer_test.go View 4 chunks +4 lines, -4 lines 0 comments Download
M worker/deployer/export_test.go View 1 chunk +1 line, -2 lines 0 comments Download
M worker/deployer/simple.go View 1 6 chunks +61 lines, -39 lines 0 comments Download
M worker/deployer/simple_test.go View 1 7 chunks +95 lines, -32 lines 0 comments Download

Messages

Total messages: 6
dimitern
Please take a look.
10 years, 10 months ago (2013-06-28 16:28:17 UTC) #1
mue
LGTM, cool work with helpful comments at the right places. ;)
10 years, 10 months ago (2013-06-28 17:24:50 UTC) #2
dimitern
Please take a look.
10 years, 10 months ago (2013-06-28 18:08:17 UTC) #3
fwereade
LGTM modulo quibbles below. I'd rather have this landed for the release and fixed later ...
10 years, 10 months ago (2013-06-28 22:24:10 UTC) #4
dimitern
On 2013/06/28 22:24:10, fwereade wrote: > LGTM modulo quibbles below. I'd rather have this landed ...
10 years, 10 months ago (2013-06-29 11:17:58 UTC) #5
jameinel
10 years, 9 months ago (2013-07-09 06:25:13 UTC) #6
Message was sent while issue was closed.
Could this be related to the bug that Frank was investigating (upgrading 1.10 =>
trunk kills everything)?
Sign in to reply to this message.

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