lp://staging/~thumper/juju-core/local-update-template

Created by Tim Penhey and last modified
Get this branch:
bzr branch lp://staging/~thumper/juju-core/local-update-template
Only Tim Penhey can upload to this branch. If you are Tim Penhey please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Tim Penhey
Project:
juju-core
Status:
Development

Recent revisions

2418. By Tim Penhey

Use the new function.

2417. By Tim Penhey

Merged local-ensure-root into local-update-template.

2416. By Tim Penhey

Merged pipe-base into local-update-template.

2415. By Tim Penhey

More scaffolding

2414. By Tim Penhey

Merged pipe-base into local-update-template.

2413. By Tim Penhey

boilerplate

2412. By Tim Penhey

[r=thumper] Use lxc clone on trusty

This branch speeds up lxc containers for the local
provider only by creating a template as needed that
persists between environments, and this template is
then used as a basis for the machines created in the
environment using lxc-clone.

If /var/lib/lxc is a btrfs filesystem, the containers
use btrfs snapshots. If not, the containers are
created using aufs snapshots.

In addition to this, the apt-get update/upgrade step
is skipped during cloud-init for the cloned machines.

https://codereview.appspot.com/74370044/

2411. By Tim Penhey

[r=thumper] Update golxc version

Since the new golxc version also depends on the
github juju/testing repo, this has also been added
to the dependency file.

https://codereview.appspot.com/74200043/

2410. By Ian Booth

[r=dimitern],[bug=1290684] Ensure agentconfig datadir is not empty

When reading format 1.16 agent config files, the new
1.18 datadir attribute was not being set to the new
default value and instead was being written out as "".
This broke upgrades.

I also included some drive by changes to better log
errors so that we can diagnose issues by looking at
debug-log.

https://codereview.appspot.com/74330044/

2409. By Dimiter Naydenov

[r=dimitern],[bug=1221134] various: production code and logging improvements

Fixed 4 slightly annoying, unrelated minor issues:
1. Refactored production code not to depend on
gocheck (manual provider and apiserver/charms).
As a drive-by fix, I refactored environs/manual
tests to be proper black-box unit tests, rather
than white-box tests in the manual package.
2. Fixed and improved tools download output via
curl and better handling of errors.
3. Added debug logging to environs sshstorage and
httpstorage, and the manual provider.
4. Reformatted and unified generated boilerplate
config across all providers, fixing bug #1221134 in
the process (-e env not properly explained).

Changes tested live with a manual and local environs
with added manually provisioned machines.

While testing I found out and filed this bug #1291292
(basically manual bootstrap is broken with ssl-hostname-
verification set to false, but this is due to a deeper
issue).

I tried to unify and fix when all commands report
"environment not bootstrapped", consistently across
providers, but it turned out like more work than I
originally thought, so I'll do a follow-up on that
(which will entail dropping support for 1.14 environments
without a .jenv file).

https://codereview.appspot.com/72860045/

R=jameinel, rogpeppe

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp://staging/~go-bot/juju-core/trunk
This branch contains Public information 
Everyone can see this information.

Subscribers