57063e67b9
scenario001 would install successfully but run out of RAM during the tempest run. Create a third scenario and rebalance configuration across these three different tests. Additionnally, use the new --service-workers parameter to hardcode "2" instead of defaulting to $::processorcount which is 8 in the gate to lower memory usage. Change-Id: I92a3f45766d45d6a7ee34f0ff306cf67c26e34f6
35 lines
896 B
Bash
Executable File
35 lines
896 B
Bash
Executable File
#!/bin/bash
|
|
if [ $(id -u) != 0 ]; then
|
|
SUDO='sudo'
|
|
fi
|
|
|
|
echo -e "Generating packstack config for:
|
|
- keystone
|
|
- glance (swift backend)
|
|
- nova
|
|
- neutron (ovs+vxlan)
|
|
- swift
|
|
- sahara
|
|
- trove
|
|
- tempest (regex: 'smoke dashboard')"
|
|
echo "tempest will run if packstack's installation completes successfully."
|
|
echo
|
|
|
|
$SUDO packstack --allinone \
|
|
--debug \
|
|
--service-workers=2 \
|
|
--default-password="packstack" \
|
|
--os-aodh-install=n \
|
|
--os-ceilometer-install=n \
|
|
--os-gnocchi-install=n \
|
|
--os-cinder-install=n \
|
|
--os-horizon-install=n \
|
|
--nagios-install=n \
|
|
--glance-backend=swift \
|
|
--os-sahara-install=y \
|
|
--os-trove-install=y \
|
|
--provision-demo=y \
|
|
--provision-tempest=y \
|
|
--run-tempest=y \
|
|
--run-tempest-tests="smoke" || export FAILURE=true
|