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

Issue 6408047: cmd/jujud: create machine/0 on bootstrap (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 9 months ago by dave
Modified:
11 years, 9 months ago
Reviewers:
mp+115051
Visibility:
Public.

Description

cmd/jujud: create machine/0 on bootstrap During initzk, machine/0 needs to be created in the state. https://code.launchpad.net/~dave-cheney/juju-core/go-cmd-jujud-set-machine-id/+merge/115051 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : cmd/jujud: create machine/0 on bootstrap #

Patch Set 3 : cmd/jujud: create machine/0 on bootstrap #

Patch Set 4 : cmd/jujud: create machine/0 on bootstrap #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -4 lines) Patch
A [revision details] View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/jujud/initzk.go View 1 2 1 chunk +17 lines, -2 lines 0 comments Download
M cmd/jujud/initzk_test.go View 3 chunks +24 lines, -2 lines 0 comments Download

Messages

Total messages: 10
dave_cheney.net
Please take a look.
11 years, 9 months ago (2012-07-16 01:17:50 UTC) #1
rog
On 2012/07/16 01:17:50, dfc wrote: > Please take a look. LGTM
11 years, 9 months ago (2012-07-16 11:30:09 UTC) #2
fwereade
Can we put this code inside state.Initialize please? I'd prefer not to write the /initialized ...
11 years, 9 months ago (2012-07-16 22:45:15 UTC) #3
dave_cheney.net
On 2012/07/16 22:45:15, fwereade wrote: > Can we put this code inside state.Initialize please? I'd ...
11 years, 9 months ago (2012-07-16 23:49:36 UTC) #4
dave_cheney.net
> FWIW, we should IMNSHO be writing /environment inside Initialize as well; and we > ...
11 years, 9 months ago (2012-07-16 23:51:55 UTC) #5
dave_cheney.net
Please take a look.
11 years, 9 months ago (2012-07-17 00:09:49 UTC) #6
dave_cheney.net
Please take a look.
11 years, 9 months ago (2012-07-17 22:40:19 UTC) #7
niemeyer
LGTM
11 years, 9 months ago (2012-07-17 23:04:58 UTC) #8
niemeyer
For the record, the /initialized node was really a mechanism to prevent having to catch ...
11 years, 9 months ago (2012-07-17 23:08:37 UTC) #9
dave_cheney.net
11 years, 9 months ago (2012-07-17 23:14:01 UTC) #10
*** Submitted:

cmd/jujud: create machine/0 on bootstrap

During initzk, machine/0 needs to be created in the state.

R=rog, fwereade, niemeyer
CC=
https://codereview.appspot.com/6408047
Sign in to reply to this message.

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