|
Refactor of local provider to use Cloud Images
- Boots a full container with cloud-init each time, No more template container + clone
- Removes upstart job for storage server. Also fixes machine-agent to be killable on destroy-env
- Uses LXC's default networking rather than libvirt. Removes dependency on libvirt entirely.
- Regresses HTTPS apt support for local provider because cloud-init doesn't have a way to make the
distinction.
- Regresses performance for the case where the download is cached. rsync'ing from the debootstrap
is a little faster than extracting the tar.gz. Also we now do a full apt-get upgrade, so all updates
have to be unpacked/configured.
https://code.launchpad.net/~clint-fewbar/juju/local-cloud-img/+merge/126865
(do not edit description out of merge proposal)
Total comments: 7
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+585 lines, -838 lines) |
Patch |
|
M |
Makefile
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
A |
[revision details]
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
juju/agents/tests/test_base.py
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
juju/control/options.py
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
juju/lib/lxc/__init__.py
|
View
|
|
8 chunks |
+42 lines, -93 lines |
2 comments
|
Download
|
|
D |
juju/lib/lxc/data/juju-create
|
View
|
|
1 chunk |
+0 lines, -156 lines |
0 comments
|
Download
|
|
D |
juju/lib/lxc/data/lxc.conf
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
juju/lib/lxc/tests/test_lxc.py
|
View
|
|
13 chunks |
+34 lines, -88 lines |
0 comments
|
Download
|
|
A |
juju/machine/tests/data/test_get_container
|
View
|
|
1 chunk |
+44 lines, -0 lines |
0 comments
|
Download
|
|
M |
juju/machine/tests/test_unit_deployment.py
|
View
|
|
5 chunks |
+22 lines, -40 lines |
4 comments
|
Download
|
|
M |
juju/machine/unit.py
|
View
|
|
5 chunks |
+55 lines, -59 lines |
0 comments
|
Download
|
|
M |
juju/providers/common/cloudinit.py
|
View
|
|
9 chunks |
+78 lines, -6 lines |
0 comments
|
Download
|
|
A |
juju/providers/common/tests/data/cloud_init_no_machine_id
|
View
|
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
|
A |
juju/providers/common/tests/data/cloud_init_ppa_apt_proxy
|
View
|
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
|
M |
juju/providers/common/tests/test_cloudinit.py
|
View
|
|
4 chunks |
+36 lines, -2 lines |
0 comments
|
Download
|
|
M |
juju/providers/common/utils.py
|
View
|
|
3 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
|
M |
juju/providers/local/__init__.py
|
View
|
|
7 chunks |
+17 lines, -14 lines |
0 comments
|
Download
|
|
M |
juju/providers/local/agent.py
|
View
|
|
2 chunks |
+3 lines, -9 lines |
1 comment
|
Download
|
|
M |
juju/providers/local/files.py
|
View
|
|
3 chunks |
+11 lines, -9 lines |
0 comments
|
Download
|
|
M |
juju/providers/local/network.py
|
View
|
|
1 chunk |
+66 lines, -118 lines |
0 comments
|
Download
|
|
M |
juju/providers/local/tests/test_files.py
|
View
|
|
2 chunks |
+9 lines, -51 lines |
0 comments
|
Download
|
|
M |
juju/providers/local/tests/test_network.py
|
View
|
|
1 chunk |
+106 lines, -184 lines |
0 comments
|
Download
|
|
M |
juju/providers/local/tests/test_provider.py
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
setup.py
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
Total messages: 5
|