-
Committer:
Francesco Banconi
-
Date:
2013-10-16 16:06:14 UTC
-
mfrom:
(2.2.8 quickstart-real-bootstrap)
-
Revision ID:
francesco.banconi@canonical.com-20131016160614-hfgtmbmkhpa8vsop
Bootstrap the Juju environment.
Wait until the API server is ready.
Retrieve the API address.
Also added --debug support (logging).
Tests: `make check`.
QA: assuming you have a local provider env
named 'local' and an ec2 one named 'ec2'
- run `.venv/bin/python juju-quickstart -e local`
-> error: the local provider is not currently supported;
- run `.venv/bin/python juju-quickstart -e no-such-env`
-> error: environment no-such-env not found in ...;
- run `juju switch ec2`;
- run `.venv/bin/python juju-quickstart --debug`
-> the debug messages are shown, the env is bootstrapped,
the API URL is printed at the end of the process.
- run `.venv/bin/python juju-quickstart`
-? like above but this time no debug messages are shown.
R=bac, gary.poster
CC=
https://codereview.appspot.com/14441074