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

Issue 36910043: Hook up the kvm broker and provisioner

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 5 months ago by thumper
Modified:
10 years, 5 months ago
Reviewers:
mp+197629, wallyworld
Visibility:
Public.

Description

Hook up the kvm broker and provisioner This branch adds a kvm broker and hooks it up to the existing container initialization. The cpu-checker package is added to every machine to allow kvm-ok to be executed. A few drive by fixes related to kvm: * added a default bridge, used by the broker when there is no other config. * the container wasn't removing the container dir * the kvm package isn't actually needed * the local provider was setting the wrong container type (in the case of kvm) https://code.launchpad.net/~thumper/juju-core/kvm-provisioner/+merge/197629 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Hook up the kvm broker and provisioner #

Unified diffs Side-by-side diffs Delta from patch set Stats (+389 lines, -5 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M container/kvm/initialisation.go View 1 chunk +0 lines, -1 line 0 comments Download
M container/kvm/kvm.go View 2 chunks +6 lines, -1 line 0 comments Download
M environs/cloudinit/cloudinit.go View 1 chunk +1 line, -0 lines 0 comments Download
M provider/local/environ.go View 1 chunk +1 line, -1 line 0 comments Download
M worker/provisioner/container_initialisation.go View 1 chunk +5 lines, -1 line 0 comments Download
M worker/provisioner/container_initialisation_test.go View 1 1 chunk +1 line, -1 line 0 comments Download
A worker/provisioner/kvm-broker.go View 1 chunk +117 lines, -0 lines 0 comments Download
A worker/provisioner/kvm-broker_test.go View 1 chunk +256 lines, -0 lines 0 comments Download

Messages

Total messages: 3
thumper
Please take a look.
10 years, 5 months ago (2013-12-04 01:47:09 UTC) #1
thumper
Please take a look.
10 years, 5 months ago (2013-12-04 02:47:00 UTC) #2
wallyworld
10 years, 5 months ago (2013-12-04 03:43:20 UTC) #3
LGTM
Please add a todo to factor out the common lxc and kvm code in the respective
brokers. And a todo to sort out the kvm bridge stuff. I know there's a comment
but a todo is better.
Sign in to reply to this message.

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