|
This branch changes how containers are provisioned.
Before, the container provisioner task is started with the machine agent. Now the start up of that task is delayed until a container is actually requested. The basic concept is:
- set up container listener
- when container of type is requested:
* stop container listener
* ensure dependencies of that container type are installed
* start container provisioning task
https://code.launchpad.net/~wallyworld/juju-core/lazy-container-provisioners/+merge/194795
(do not edit description out of merge proposal)
Total comments: 5
Total comments: 8
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+492 lines, -67 lines) |
Patch |
|
A |
[revision details]
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
cmd/jujud/agent.go
|
View
|
1
2
|
3 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
cmd/jujud/machine.go
|
View
|
1
2
3
4
|
10 chunks |
+65 lines, -32 lines |
1 comment
|
Download
|
|
M |
cmd/jujud/unit.go
|
View
|
1
2
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
state/api/params/internal.go
|
View
|
1
2
3
4
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
state/api/provisioner/machine.go
|
View
|
1
2
3
4
|
1 chunk |
+22 lines, -0 lines |
1 comment
|
Download
|
|
M |
state/api/provisioner/provisioner_test.go
|
View
|
1
2
3
4
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
state/apiserver/provisioner/provisioner.go
|
View
|
1
2
3
4
|
1 chunk |
+25 lines, -0 lines |
1 comment
|
Download
|
|
M |
state/apiserver/provisioner/provisioner_test.go
|
View
|
1
2
3
4
|
1 chunk |
+63 lines, -0 lines |
0 comments
|
Download
|
|
M |
state/machine.go
|
View
|
1
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
A |
worker/provisioner/container_initialisation.go
|
View
|
1
2
3
4
5
6
|
1 chunk |
+120 lines, -0 lines |
2 comments
|
Download
|
|
A |
worker/provisioner/container_initialisation_test.go
|
View
|
1
2
3
4
5
6
|
1 chunk |
+114 lines, -0 lines |
0 comments
|
Download
|
|
A |
worker/provisioner/package_test.go
|
View
|
1
2
3
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
|
M |
worker/provisioner/provisioner.go
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
worker/provisioner/provisioner_test.go
|
View
|
1
2
3
4
|
4 chunks |
+13 lines, -15 lines |
0 comments
|
Download
|
|
M |
worker/runner.go
|
View
|
1
2
|
8 chunks |
+19 lines, -10 lines |
0 comments
|
Download
|
Total messages: 6
|