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

Issue 11327044: Have the lxc manager log dir be configurable.

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

Description

Have the lxc manager log dir be configurable. Since the local provider wants to store the log files in a different location, the ContainerManager needs to be configured with the location. The default log location is still the same, but is now able to be configured. Also factored out the function for getting the IPv4 address for a named interface. The containers have "eth0" as their network interface, so this is used to get the DNSName. https://code.launchpad.net/~thumper/juju-core/lxc-identity/+merge/174922 Requires: https://code.launchpad.net/~thumper/juju-core/local-provider-machine-0/+merge/174921 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -23 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/jujud/upgradevalidation.go View 1 chunk +1 line, -1 line 0 comments Download
M container/lxc/lxc.go View 4 chunks +19 lines, -7 lines 0 comments Download
M container/lxc/lxc_test.go View 4 chunks +6 lines, -6 lines 0 comments Download
M environs/local/environ.go View 1 chunk +8 lines, -4 lines 0 comments Download
M environs/local/environprovider.go View 2 chunks +5 lines, -2 lines 2 comments Download
M environs/local/instance.go View 1 chunk +3 lines, -2 lines 0 comments Download
M worker/provisioner/lxc-broker.go View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 3
thumper
Please take a look.
10 years, 9 months ago (2013-07-16 05:16:27 UTC) #1
gz
LGTM. https://codereview.appspot.com/11327044/diff/1/environs/local/environprovider.go File environs/local/environprovider.go (right): https://codereview.appspot.com/11327044/diff/1/environs/local/environprovider.go#newcode124 environs/local/environprovider.go:124: // TODO(thumper): refactor this method out of existance ...
10 years, 9 months ago (2013-07-16 10:18:34 UTC) #2
wallyworld
10 years, 9 months ago (2013-07-17 02:37:28 UTC) #3
LGTM

https://codereview.appspot.com/11327044/diff/1/environs/local/environprovider.go
File environs/local/environprovider.go (right):

https://codereview.appspot.com/11327044/diff/1/environs/local/environprovider...
environs/local/environprovider.go:124: // TODO(thumper): refactor this method
out of existance from the interface
On 2013/07/16 10:18:35, gz wrote:
> Ian already tackled this to a large extent, see:
> 
> <https://codereview.appspot.com/11318043/>

This method is gone in my unlanded work. I guess whoever gets to land first wins
the prize of not having to fix stuff up.
Sign in to reply to this message.

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