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

Issue 21740043: Fix local provider again.

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

Description

Fix local provider again. The cloud-init data for local provider machines was trying to install lxc. This has been avoided as a container due to the problem with nested lxc and the default profiles in precise. The fact that lxc was being installed on these machines was an oversight, and one that is now biting us due to a change to cgroups-lite which is triggering apparmor to complain. This leaves apt in a partial install state so while the agent itself will start, all install hooks fail. The solution is to specify in the machine config that the container type is LXC. This stops LXC from being added to the package list to install. https://code.launchpad.net/~thumper/juju-core/local-provider-machines-no-lxc/+merge/193848 (do not edit description out of merge proposal)

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -0 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M provider/local/environ.go View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 2
thumper
Please take a look.
10 years, 6 months ago (2013-11-04 21:15:25 UTC) #1
natefinch
10 years, 6 months ago (2013-11-04 21:17:21 UTC) #2
LGTM
Sign in to reply to this message.

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