Merge lp://staging/~doanac/lava-lab/lava-scripts into lp://staging/lava-lab
Proposed by
Andy Doan
Status: | Needs review |
---|---|
Proposed branch: | lp://staging/~doanac/lava-lab/lava-scripts |
Merge into: | lp://staging/lava-lab |
Diff against target: |
380 lines (+341/-0) 7 files modified
_grains/lava.py (+6/-0) scripts/lava-add-worker (+22/-0) scripts/lava-start (+20/-0) scripts/lava-status (+19/-0) scripts/lava-stop (+22/-0) scripts/lava-upgrade (+34/-0) scripts/lava_salt.py (+218/-0) |
To merge this branch: | bzr merge lp://staging/~doanac/lava-lab/lava-scripts |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Linaro Validation Team | Pending | ||
Review via email: mp+146547@code.staging.launchpad.net |
Description of the change
start work on some helper functions that should allow us to manage lava deployments using salt
To post a comment you must log in.
Unmerged revisions
- 69. By Andy Doan
-
minor bug from last commit
make sure we return the most interest part of this function
- 68. By Andy Doan
-
add support for installing a remote worker instance
this makes adding a new worker node as simple as possible
- 67. By Andy Doan
-
add some lava scripts to help manage lab
lava-status - shows the nodes contributing to a lava deployment, if
they are running, and which is the master instancelava-{start/stop} - start/stop each lava-instance contributing to a lava deployment
lava-upgrade - performs an upgrade for a lava-deployment
This looks awesome!
One general comment: you don't need to run l-d-t as root. I did the following
on the vagrant-bootstrap script inside the l-d-t repo:
if ! test -d /srv/lava/ instances/ development; then deployment- tool setup -nd' deployment- tool install -nd development'
cd $basedir
su vagrant -c './lava-
su vagrant -c './lava-
fi
so you could do something like that, and you won't need to chown/chmod away, or
even add that check on l-d-t to allow running as root.
-- www.linaro. org
Antonio Terceiro
Software Engineer - Linaro
http://