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
32 lines
808 B
Bash
Executable File
32 lines
808 B
Bash
Executable File
#!/bin/bash
|
|
if [ $(id -u) != 0 ]; then
|
|
SUDO='sudo'
|
|
fi
|
|
|
|
echo -e "Generating packstack config for:
|
|
- keystone
|
|
- glance (file backend)
|
|
- nova
|
|
- neutron (ovs+vxlan)
|
|
- cinder (lvm+iscsi)
|
|
- manila
|
|
- nagios
|
|
- tempest (regex: 'smoke')"
|
|
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-swift-install=n \
|
|
--os-manila-install=y \
|
|
--glance-backend=file \
|
|
--provision-demo=y \
|
|
--provision-tempest=y \
|
|
--run-tempest=y \
|
|
--run-tempest-tests="smoke dashboard" || export FAILURE=true
|