
This patch is changing the default driver used in Packstack from ML2/OVS to ML2/OVN. It also flips jobs running with OVS to OVN and viceversa while keeping the lbaas scenario with OVS. Also, the encapsulation used by default changes from vxlan to geneve. Change-Id: I0abfdb1de66730101a27ca3a949f056b50fc9c98 Signed-off-by: Daniel Alvarez <dalvarez@redhat.com>
53 lines
1.7 KiB
Bash
Executable File
53 lines
1.7 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 (swift backend)
|
|
- nova
|
|
- neutron (ovs+vxlan)
|
|
- lbaasv2
|
|
- swift
|
|
- sahara
|
|
- trove
|
|
- tempest (regex: 'smoke dashboard')"
|
|
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} \
|
|
--debug \
|
|
--os-debug-mode=y \
|
|
--service-workers=2 \
|
|
--default-password="packstack" \
|
|
--os-aodh-install=n \
|
|
--os-ceilometer-install=n \
|
|
--os-cinder-install=n \
|
|
--os-horizon-install=n \
|
|
--glance-backend=swift \
|
|
--os-neutron-l2-agent=openvswitch \
|
|
--os-neutron-ml2-type-drivers="vxlan,flat" \
|
|
--os-neutron-ml2-tenant-network-types="vxlan" \
|
|
--os-neutron-lbaas-install=y \
|
|
--os-neutron-vpnaas-install=n \
|
|
--os-sahara-install=y \
|
|
--os-trove-install=y \
|
|
--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" || export FAILURE=true
|