Adding testenv worker wrapper script

Adds a script 60-setup-testenvs which is run by os-refresh-config. On
first boot this carves up the host into a number of test environments
and starts a gearman worker for each environment, noop if run more
than once. Each test environment will have a seed, 3 vm's all on
their own bridge.

Depends-on: Ie33736850ec8186f0c90b82b6fbb0fd57fe47dc9
Change-Id: I46b2c95ccbda484b4de03585b830ac578df0e937
This commit is contained in:
Derek Higgins
2013-12-10 09:14:57 +00:00
parent 2adf68e075
commit 5d0b87738d
6 changed files with 143 additions and 1 deletions

View File

@@ -0,0 +1,22 @@
Install and configure a tripleo testenv worker
Carves up this host into a number of test environments and registers each one with gearman.
Configuration
-------------
gearman-worker:
host: 127.0.0.1 # gearman broker host
port:
mem-per-env: 16 # Indicates each testenv should have 16G of Mem
cpu-per-env: 4 # Indicates each testenv should have 4 cpu cores
disk-per-env: 80 # Indicates each testenv should have 80G of disk space
auth_user: admin
auth_tenant: admin
auth_url: http://127.0.0.1:5000
auth_passwd: password
neutron:
ovs:
physical_bridge: # A bridge name for the public_interface and seed interfaces
public_interface: # The interface that should be moved onto physical_bridge
# in order to comunicate with seed VM's