lp:~fwereade/juju-core/watch-containers-alternative
- Get this branch:
- bzr branch lp:~fwereade/juju-core/watch-containers-alternative
Branch merges
Branch information
Recent revisions
- 1286. By Tim Penhey
-
[r=thumper] Add lxc to our cloud-init packages
However don't add lxc if the machine itself is an
lxc container as the install fails on precise causing
the lxc container to fail to start. - 1285. By Tim Penhey
-
[r=thumper] Add a MachineIdFromTag function.
There are times (coming in future branches) where you want to be able to
reverse the MachineTag result back into a machineId. - 1284. By Tim Penhey
-
[r=thumper] Move environs.Instance into own package.
Instances are the realizations of state Machines, and could
be either containers or environ provider instances. - 1283. By Madison Scott-Clary
-
[r=wallyworld] Juju status supports containers
juju status shows containers nested against their parent machine.
The machine id less than function needed to be updated to support
container ids. A drive by additional test for adding containers
to an injected machine is also included. - 1282. By Данило Шеган
-
[r=jameinel],[bug=1190560] Ignore Emacs auto-save files in lbox pre-checks
Emacs auto-save files are named '.#...', so if you have a storage.go file open, Emacs will keep a '.#storage.go' file around for auto-saving. However, the way we pass arguments to gofmt means that '.#' will not be properly escaped and gofmt will not be able to open the file, thus stopping an lbox propose.
This change removes any filenames beginning with '.#' with a simple grep.
- 1281. By Tim Penhey
-
[r=jameinel] Fix the cmd/juju tests.
One of the tests was emitting an error, but the suite wasn't
a logging suite, so it was being output to stderr.Also, there was a file called 2 created in the directory. This
was due to an echo >2 line in a plugin test script. This was
wrong anyway, we don't emit missing description as it fails other
tests. This has been removed. - 1280. By Frank Mueller
-
[r=jameinel] cleaner: implemented the cleaner worker
The cleaner worker listens to events raised by
the cleaner watcher. This signals that there are documents
marked for removal. So the worker calls state.Cleanup()
to remove them. - 1279. By John A Meinel
-
[r=jameinel] cmd/juju: Make a test deterministic
TestGatherDescr
iptionsInParall el was timing dependent, and occasionally failed on my system. Rather than just increasing the timeout arbitrarily, I changed the code to be more 'event' based. Each plugin requires another plugin to have started before that plugin will return. Thus, if we don't start the plugins in parallel, the plugin will deadlock. Because the failure mode is 'deadlock', I wrapped the call in a select timeout. This means that if it *does* fail, we have a garbage goroutine and process lying around (but it should never fail).
On the plus side, this makes it actually run faster, since each subprocess
doesn't waste time sleeping just so we can measure it. (from 350ms down to normally around 15ms.)This is the only test that was failing (based on occasional timing hiccups) for me, which allows us to have this in tarmac.
- 1278. By Tim Penhey
-
Update the validMachine regex for containers
Yay regex.
R=wallyworld, fwereade
CC=
https://codereview. appspot. com/10215043
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~go-bot/juju-core/trunk