~frankban/juju-quickstart/ftest-fixes

Viewing all changes in revision 101.

  • Committer: Francesco Banconi
  • Date: 2014-10-10 13:47:08 UTC
  • mfrom: (100.1.11 maas-detect)
  • Revision ID: francesco.banconi@canonical.com-20141010134708-4zu3585o1p9pmwtl
Support automatic detection of a logged in MAAS.

Automatically detect a logged in MAAS API, so that
it is possible to use the stored credentials to 
create and bootstrap a MAAS environment without
user intervention.

QA:
- ssh to the GUI MAAS;
- destroy the existing environment;
- remove the ~/.juju directory;
- use the MAAS UI (http://maas.jujugui.org/MAAS/nodes/)
  to release the nodes if they are not in a ready state;
- this branch is already checked out in ~/juju-quickstart/sandbox/;
- start quickstart from there:
  cd ~/juju-quickstart/sandbox/ && .venv/bin/python juju-quickstart
- quickstart should show the option to automatically create and
  bootstrap the MAAS environment;
- select the option and wait for the envirnment to be ready:
  this can fail due to juju/maas interaction problems we currently
  have, retrying the process should eventually succeed.

Done, thank you!

R=bac, jay.wren
CC=
https://codereview.appspot.com/157830043

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: