|
Provisioner gets addresses for each new machine.
The addresses are retrieved each time we attempt to start a machine. This
allows the provisioner to take advantage of any new api or state servers that
are started as part of a block of machines being provisioned at one time.
There is some saving of addresses at this stage to make the existing tests
pass, even though this goes a little against what William has mentioned
before. If we have invalid config, the tests assume that we continue with old
info, whereas William has suggested that we pause provisioning while the
config is broken.
One behavioural tweak in this branch. If we do fail to setup authentication,
we no longer kill the task, but instead log and continue. We will attempt to
start it again next time through the loop.
https://code.launchpad.net/~thumper/juju-core/provisioner-reget-state-info/+merge/168562
(do not edit description out of merge proposal)
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+591 lines, -351 lines) |
Patch |
|
M |
.lbox.check
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
A |
[revision details]
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
cmd/juju/plugin_test.go
|
View
|
1
|
4 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
cmd/juju/status.go
|
View
|
1
|
10 chunks |
+88 lines, -45 lines |
0 comments
|
Download
|
|
M |
cmd/juju/status_test.go
|
View
|
1
|
3 chunks |
+97 lines, -0 lines |
0 comments
|
Download
|
|
M |
environs/azure/environ.go
|
View
|
1
|
3 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
environs/azure/instance.go
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
environs/dummy/environs.go
|
View
|
1
|
16 chunks |
+20 lines, -19 lines |
0 comments
|
Download
|
|
M |
environs/ec2/ec2.go
|
View
|
1
|
17 chunks |
+29 lines, -28 lines |
0 comments
|
Download
|
|
M |
environs/ec2/export_test.go
|
View
|
1
|
3 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
environs/ec2/live_test.go
|
View
|
1
|
5 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
environs/interface.go
|
View
|
1
|
5 chunks |
+6 lines, -35 lines |
0 comments
|
Download
|
|
M |
environs/jujutest/livetests.go
|
View
|
1
|
9 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
|
M |
environs/jujutest/tests.go
|
View
|
1
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
environs/maas/environ.go
|
View
|
1
|
10 chunks |
+12 lines, -11 lines |
0 comments
|
Download
|
|
M |
environs/maas/environ_test.go
|
View
|
1
|
4 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
environs/maas/instance.go
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
environs/openstack/local_test.go
|
View
|
1
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
environs/openstack/provider.go
|
View
|
1
|
20 chunks |
+29 lines, -28 lines |
0 comments
|
Download
|
|
M |
environs/openstack/provider_test.go
|
View
|
1
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
A |
instance/instance.go
|
View
|
1
|
1 chunk |
+41 lines, -0 lines |
0 comments
|
Download
|
|
M |
juju/testing/conn.go
|
View
|
1
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
state/container.go
|
View
|
1
|
3 chunks |
+15 lines, -3 lines |
0 comments
|
Download
|
|
M |
state/export_test.go
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
state/machine.go
|
View
|
1
|
2 chunks |
+13 lines, -2 lines |
0 comments
|
Download
|
|
M |
state/machine_test.go
|
View
|
1
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
state/state.go
|
View
|
1
|
1 chunk |
+43 lines, -4 lines |
0 comments
|
Download
|
|
M |
state/state_test.go
|
View
|
1
|
3 chunks |
+64 lines, -0 lines |
0 comments
|
Download
|
|
M |
worker/firewaller/firewaller_test.go
|
View
|
1
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
worker/provisioner/broker.go
|
View
|
1
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
worker/provisioner/export_test.go
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
worker/provisioner/provisioner.go
|
View
|
1
|
5 chunks |
+11 lines, -15 lines |
0 comments
|
Download
|
|
M |
worker/provisioner/provisioner_task.go
|
View
|
1
|
12 chunks |
+43 lines, -32 lines |
0 comments
|
Download
|
|
M |
worker/provisioner/provisioner_test.go
|
View
|
1
|
5 chunks |
+4 lines, -77 lines |
0 comments
|
Download
|
Total messages: 6
|