Lxd master merge #4314

Merged
merged 179 commits into from Feb 8, 2016

Conversation

Projects
None yet
Contributor

tych0 commented Feb 5, 2016

howbazaar and others added some commits Dec 11, 2015

Merge pull request #4111 from alesstimec/worker-metrics-collect-chang…
…es-01

Removed collect metrics manifold dependency on the apicaller.



(Review request: http://reviews.vapour.ws/r/3533/)
Merge pull request #4074 from mattyw/12-metric-debug-facade-cmd
cmd/debugmetrics: Added a metrics debug command

Depends on #3967 

(Review request: http://reviews.vapour.ws/r/3493/)
Merge pull request #4140 from mattyw/13-query-batches-local-only
state/metrics: Querying only returns local charms



(Review request: http://reviews.vapour.ws/r/3561/)
Merge pull request #4138 from alesstimec/ecotools-core-updates-02
Ecotools core updates 02

Merge from the latest master to keep the ecotools branch up to date.

(Review request: http://reviews.vapour.ws/r/3559/)
Merge pull request #4168 from alesstimec/cmd-juju-metricsdebug-test-fix
Fixes metricsdebug tests.

Test were failing using go 1.5.2. This fixes test failures.

(Review request: http://reviews.vapour.ws/r/3594/)
Flatten all machine commands
For example: "juju machine add" changes to "juju add-machine"
Flatten service command
juju service add-unit -> juju add-unit
juju service get -> juju get-config
juju service set -> juju set-config
juju service unset -> juju set-config --to-default
juju service get-constraints -> juju get-constraints
juju service set-constraints -> juju set-constraints
Merge pull request #4231 from cmars/ecotools-pull-upstream
Merge master -> ecotools

Merging [latest blessed master](http://reports.vapour.ws/releases/3545) into ecotools-refactor feature branch.

(Review request: http://reviews.vapour.ws/r/3670/)
Merge pull request #4225 from mattyw/15-set-meter-status-cmd
cmd/setmeterstatus: Added set meter status command



(Review request: http://reviews.vapour.ws/r/3663/)
Add support for EC2 region ap-northeast-2
Change for master, as landed on 1.25 branch.

New AWS region in Korea. Updates to newer amz.v3 revision
for endpoints, and adds instance-type/pricing information
to the EC2 provider.

Drive-by update to eu-central-1 pricing and instance types.
Merge pull request #4254 from mattyw/default-plan-fix
cmd/deploy: Fixed urls for deploy steps



(Review request: http://reviews.vapour.ws/r/3692/)

jujubot and others added some commits Feb 5, 2016

Merge pull request #4299 from AlexisBruemmer/flatten_machine_and_serv…
…ice_commands

Flatten machine and service commands

New Command Format:

machines - list machines in a model
list-machines - list machines in a model
add-machine - adds machine to a model
remove-machine - removes a machine from a model
show-machine - shows details on a machine

get-config - gets the config values for a service
set-config - sets the config value for a service
get-constraints - gets the constraints for a service
set-constraints - sets the constraints for a service
add-unit - add unit[s] to a service
remove-unit - remove unit from a service
Merge pull request #4119 from mjs/env-migration-state
model migration state infrastructure

This change introduces functionality in state to manage a few new model migration related collections. It also introduces some related functionality in core/modelmigrations to define migration phases and the transitions between them.

These changes are reliant on the machine-dep-engine feature branch and can't land in master until it has landed. (The diff on Reviewboard is correct however)

(Review request: http://reviews.vapour.ws/r/3541/)
Merge pull request #4296 from AlexisBruemmer/flatten_sshkey_commands
Flatten authorized-key commands

New Commands Are:

list-ssh-keys (alias ssh-keys)
add-ssh-key
remove-ssh-key
import-ssh-key

Both plural and singular forms of the command work (ie ssh-key and ssh-keys list keys); these have been manually tested on a local lxd model. 

(Review request: http://reviews.vapour.ws/r/3738/)
Merge pull request #4003 from howbazaar/read-only-facade-check
Read only facade check

When an environment user has only read access to the environment, the apiserver adds an extra method lookup filter.

The read only check has been kept quite separate from the user lookup as the read only code will also be used for model migrations.
cmd: report compiler version, not just flavor
With the advent of Go 1.5 and newer on some build servers it is important
to record the _version_ of the compiler, not simply its flavour: gc or gccgo.
Merge pull request #4290 from davecheney/report-compiler-version
cmd: report compiler version, not just flavor

With the advent of Go 1.5 and newer on some build servers it is important
to record the _version_ of the compiler, not simply its flavour: gc or gccgo.

(Review request: http://reviews.vapour.ws/r/3732/)
Merge pull request #4307 from wallyworld/rename-service-methods
Rename Service facade methods: ServiceFoo becomes Foo

When service facade methods were on the Client facade, they needed to be called ServiceGet or ServiceDeploy etc. Now that they're on the Service facade, this is unnecessary. 

Also remove an obsolete method.

(Review request: http://reviews.vapour.ws/r/3749/)
Merge pull request #4131 from tych0/bump-lxd-api
Bump lxd api

update the version of the go LXD bindings, and update some small incompatibilities.
Merge pull request #4253 from wallyworld/remove-local-provider
Remove local provider

Ding dong the witch is dead.
This can't land until trusty has golang 1.5 and lxd in backports.

The LXC based local provider is replaced by LXD, so it is removed. As a consequence, we no longer need to namespace the mongo service name. So a bunch of other stuff is removed also.

(Review request: http://reviews.vapour.ws/r/3691/)
Merge pull request #4302 from fwereade/dependency-run-flag
add dependency.Flag manifold wrapper

main intent is to be able to simply wrap a pre-existing manifold with one of these so we can add simple non-resource dependencies without having to rewrite all the manifold configs that already exist.

(Review request: http://reviews.vapour.ws/r/3744/)
Merge pull request #4244 from bz2/ap_northeast_2_master
Add support for EC2 region ap-northeast-2

Change for master, as landed on 1.25 branch.

New AWS region in Korea. Updates to newer amz.v3 revision
for endpoints, and adds instance-type/pricing information
to the EC2 provider.

Drive-by update to eu-central-1 pricing and instance types.

(Review request: http://reviews.vapour.ws/r/3683/)
Merge branch 'master' into lxd-master-merge
Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
Contributor

ericsnowcurrently commented Feb 5, 2016

$$merge$$

Contributor

jujubot commented Feb 5, 2016

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju

Contributor

jujubot commented Feb 5, 2016

Build failed: Does not match ['fixes-1542336']
build url: http://juju-ci.vapour.ws:8080/job/github-merge-juju/6246

cherylj commented Feb 5, 2016

$$fixes-1542336$$

Contributor

jujubot commented Feb 5, 2016

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju

Contributor

jujubot commented Feb 5, 2016

Build failed: Generating tarball failed
build url: http://juju-ci.vapour.ws:8080/job/github-merge-juju/6249

restrict lxd container type to go1.3
natefinch | tych0: the landing bot runs go 1.2, which means we have to mark
all LXD code as // +build go1.3  so it only builds with 1.3 or higher

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
Contributor

tych0 commented Feb 5, 2016

Ok, I believe I've fixed that error as part of this branch, so perhaps it might work this time? :)

cherylj commented Feb 5, 2016

$$fixes-1542336$$

Contributor

jujubot commented Feb 5, 2016

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju

Contributor

jujubot commented Feb 5, 2016

Build failed: Generating tarball failed
build url: http://juju-ci.vapour.ws:8080/job/github-merge-juju/6251

add build directive to instance.go too
Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>

cherylj commented Feb 5, 2016

$$fixes-1542336$$

Contributor

jujubot commented Feb 5, 2016

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju

Contributor

jujubot commented Feb 5, 2016

Build failed: Generating tarball failed
build url: http://juju-ci.vapour.ws:8080/job/github-merge-juju/6252

add go 1.2 stubs for LXD
Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
Contributor

tych0 commented Feb 5, 2016

$$merge$$

cherylj commented Feb 5, 2016

$$merge$$

Contributor

jujubot commented Feb 5, 2016

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju

Contributor

jujubot commented Feb 6, 2016

Build failed: Generating tarball failed
build url: http://juju-ci.vapour.ws:8080/job/github-merge-juju/6257

use real build tag for <1.3
Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
Contributor

tych0 commented Feb 8, 2016

$$merge$$

Contributor

jujubot commented Feb 8, 2016

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju

Contributor

jujubot commented Feb 8, 2016

Build failed: Generating tarball failed
build url: http://juju-ci.vapour.ws:8080/job/github-merge-juju/6270

fix compiler error w/ go1.2
Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
Contributor

tych0 commented Feb 8, 2016

$$merge$$

Contributor

tych0 commented Feb 8, 2016

At some point I should probably install a go1.2 compiler...

Contributor

jujubot commented Feb 8, 2016

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju

Contributor

jujubot commented Feb 8, 2016

Build failed: Tests failed
build url: http://juju-ci.vapour.ws:8080/job/github-merge-juju/6271

lxd: blacklist some tests on go1.2
Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
Contributor

tych0 commented Feb 8, 2016

$$merge$$

Contributor

jujubot commented Feb 8, 2016

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju

Contributor

jujubot commented Feb 8, 2016

Build failed: Generating tarball failed
build url: http://juju-ci.vapour.ws:8080/job/github-merge-juju/6272

fix go fmt
Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
Contributor

tych0 commented Feb 8, 2016

$$merge$$

Contributor

jujubot commented Feb 8, 2016

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju

jujubot added a commit that referenced this pull request Feb 8, 2016

@jujubot jujubot merged commit 2be2e05 into juju:lxd-container-type Feb 8, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment