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
31 lines
760 B
Bash
31 lines
760 B
Bash
#!/bin/bash
|
|
if [ $(id -u) != 0 ]; then
|
|
SUDO='sudo'
|
|
fi
|
|
|
|
echo -e "Generating packstack config for:
|
|
- keystone
|
|
- glance (file backend)
|
|
- nova
|
|
- neutron (ovs+vxlan)
|
|
- ceilometer
|
|
- aodh
|
|
- gnocchi
|
|
- heat
|
|
- tempest (regex: 'smoke TelemetryAlarming')"
|
|
echo "tempest will run if packstack's installation completes successfully."
|
|
echo
|
|
|
|
$SUDO packstack --allinone \
|
|
--debug \
|
|
--service-workers=2 \
|
|
--default-password="packstack" \
|
|
--os-swift-install=n \
|
|
--os-horizon-install=n \
|
|
--glance-backend=file \
|
|
--os-heat-install=y \
|
|
--provision-demo=y \
|
|
--provision-tempest=y \
|
|
--run-tempest=y \
|
|
--run-tempest-tests="smoke TelemetryAlarming" || export FAILURE=true
|