From e531ea5fb92de526c8b6a0dde49d980017214e9e Mon Sep 17 00:00:00 2001 From: Javier Pena Date: Wed, 1 Jun 2016 18:01:09 +0200 Subject: [PATCH] Enable SSL in scenario001 Let's add SSL coverage to our tests. By enabling it in scenario001, we can cover rabbitmq and horizon. Change-Id: I785b7daf6ea8d6b9016e4438271c11844ea48ba0 --- README.md | 1 + run_tests.sh | 4 ++++ tests/scenario001.sh | 2 ++ 3 files changed, 7 insertions(+) diff --git a/README.md b/README.md index 1383cdbee..47f0494c8 100644 --- a/README.md +++ b/README.md @@ -202,6 +202,7 @@ This is the current matrix of available tests: | horizon | X | | | | manila | X | | | | nagios | X | | | +| SSL | X | | | To run these tests: diff --git a/run_tests.sh b/run_tests.sh index 1c496709b..31e48f11c 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -216,6 +216,10 @@ else $SUDO yum -y install openstack-packstack fi +# Make sure the fqdn is associated to the IP in /etc/hosts +# Needed for Horizon SSL tests in Tempest +echo -e "\n127.0.0.1 $(facter fqdn)" | $SUDO tee -a /etc/hosts + # Generate configuration from selected scenario and run it source ./tests/${SCENARIO}.sh result=$? diff --git a/tests/scenario001.sh b/tests/scenario001.sh index baf8da8b2..b514e27bd 100755 --- a/tests/scenario001.sh +++ b/tests/scenario001.sh @@ -24,6 +24,8 @@ $SUDO packstack --allinone \ --os-gnocchi-install=n \ --os-swift-install=n \ --os-manila-install=y \ + --os-horizon-ssl=y \ + --amqp-enable-ssl=y \ --glance-backend=file \ --provision-demo=y \ --provision-tempest=y \