Files
packstack/tests/scenario001.sh
David Moreau-Simard e7c0e05b10 Remove double quotes around additional arguments in tests
It seems quoting the variable had an effect around how the
arguments and their values were interpreted.

With double quotes, passing an extra argument would appear like
so:
     packstack '--nova-libvirt-virt-type=kvm' --allinone [...]
and without double quotes:
     packstack --nova-libvirt-virt-type=kvm --allinone [...]

The first interpretation does not work while the second one does.

Change-Id: Iba47c5e424b7c9517b4e39790b7289b041e250b7
2016-10-09 14:05:35 -04:00

38 lines
1.1 KiB
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 ${ADDITIONAL_ARGS} \
--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 \
--os-horizon-ssl=y \
--amqp-enable-ssl=y \
--glance-backend=file \
--provision-uec-kernel-url="/tmp/cirros/cirros-0.3.4-x86_64-vmlinuz" \
--provision-uec-ramdisk-url="/tmp/cirros/cirros-0.3.4-x86_64-initrd" \
--provision-uec-disk-url="/tmp/cirros/cirros-0.3.4-x86_64-disk.img" \
--provision-demo=y \
--provision-tempest=y \
--run-tempest=y \
--run-tempest-tests="smoke dashboard" || export FAILURE=true