Dave Pigott dave.pigott@linaro.org writes:
Really sorry for all the pain.
Ah well. It's working now.
No, you can't resize when an instance is down. You have to decide what you want up front, which is a bit of a pain.
Noted!
Cheers, mwh
Dave
On 2 Oct 2012, at 02:26, Michael Hudson-Doyle wrote:
Michael Hudson-Doyle michael.hudson@linaro.org writes:
Michael Hudson-Doyle michael.hudson@linaro.org writes:
Luckily lava-deployment-tool makes the set up pretty easy :-)
So ftr, here are the steps involved in setting up staging:
- Create the instance-manager account
- Run ldt setup, ldt install
- Set up the devices
- this was the most tedious step
- this includes copying the reset-serial and pdu control scripts
- run ldt restore-db
- Set up the cronjobs to make the deployment-report and do code updates
daily 5) Put branches in /srv/lava/branches/ 6) Set up apache to SetHandler none /deployment-report.xhtml, /staging-updates.txt through + create symlinks for same. 7) Allow instance-manger to run appropriate commands without a password
There is more, sadly:
- realize that you should have run restore-staging-db, not ldt
restore-db. 9) fix the fact that this doesn't work any more due to django being rubbish 10) create /linaro/tmp and /linaro/cache directories 11) Realize that you need to set up Apache so that the device can download the test image tarballs.
Maybe that's it?
Cheers, mwh
Luckily an awful lot of the staging-specific stuff had not been purged from control so I could copy this across. But it was still a pain -- maybe I'll script it up when I do dogfood!
Cheers, mwh