Comment 10 for bug 1465307

Revision history for this message
John A Meinel (jameinel) wrote :

If you want a non-deployer way to request a lot of stuff at once:

$ juju bootstrap --debug --constraints="mem=4G root-disk=20000"
$ juju deploy ubuntu -n 3
$ for j in `seq 10`; do for i in `seq 0 3`; do juju add-unit ubuntu --to lxc:$i; done & time wait; done

That will do a parallel AddUnit of an lxc onto each machine, tell you whole long it takes and then do it again 10 times. (I was seeing 10s per loop though it slowed down a bit near the end.)

I ran into trouble a couple times (first not passing mem=4G and it just being on m1.smalls, second not passing root-disk and running out of disk space on the 8G default disk size.)

But it did end up running and I do have 42 units running.