packstack/tests/scenario001.sh
Alfredo Moralejo bd48eb11d2 Revert "Temporary switch to ovs in scenario 001, fix gate"
The bug has been fixed in the kernel already.

This reverts commit e9e6ad87a0.

Depends-On: https://review.openstack.org/#/c/594128/
Change-Id: Ief887a7efc0728333bb633c01b7fbef0a68496a3
2018-08-21 12:15:33 +00:00

49 lines
1.6 KiB
Bash
Executable File

#!/bin/bash
CONTROLLER_NODE=${CONTROLLER_NODE:-}
COMPUTE_NODE=${COMPUTE_NODE:-}
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
- tempest (regex: 'smoke')"
echo "tempest will run if packstack's installation completes successfully."
echo
if [ -z $COMPUTE_NODE ]; then
NODE_FLAGS="--allinone"
else
NODE_FLAGS="--allinone --os-controller-host=$CONTROLLER_NODE --os-network-hosts=$CONTROLLER_NODE --os-compute-hosts=$COMPUTE_NODE"
fi
$SUDO packstack ${ADDITIONAL_ARGS} \
${NODE_FLAGS} \
--cinder-volume-name="aVolume" \
--debug \
--service-workers=2 \
--default-password="packstack" \
--os-aodh-install=n \
--os-ceilometer-install=n \
--os-swift-install=n \
--os-manila-install=y \
--os-horizon-ssl=y \
--amqp-enable-ssl=y \
--glance-backend=file \
--os-neutron-l2-agent=ovn \
--os-neutron-ml2-type-drivers="geneve,flat" \
--os-neutron-ml2-tenant-network-types="geneve" \
--provision-uec-kernel-url="/tmp/cirros/cirros-$CIRROS_VERSION-$CIRROS_ARCH-vmlinuz" \
--provision-uec-ramdisk-url="/tmp/cirros/cirros-$CIRROS_VERSION-$CIRROS_ARCH-initrd" \
--provision-uec-disk-url="/tmp/cirros/cirros-$CIRROS_VERSION-$CIRROS_ARCH-disk.img" \
--provision-demo=y \
--provision-tempest=y \
--run-tempest=y \
--run-tempest-tests="smoke dashboard" || export FAILURE=true