Enable monasca in py2 tempest CI job

On bionic, there seems to be a kafka bug which causes some failures
on certain versions of JRE [1].
As a result, the JRE install invoked by Congress devstack plugin
causes Monasca devstack plugin to fail. Here we remove the JRE install
from Congress devstack plugin and enable monasca devstack plugin in
the CI job.

Note: Java is used to generate code for Congress, but not currently
required in Congress devstack install.

[1] https://stackoverflow.com/questions/36970622/kafka-unrecognized-vm-option-printgcdatestamps

Change-Id: Ibce028cb5635fe52275968beb5b4305f855ea851
This commit is contained in:
Eric K 2019-01-18 14:29:51 -08:00 committed by Eric Kao
parent 608703a644
commit 02f45c003c
2 changed files with 1 additions and 9 deletions

View File

@ -74,6 +74,7 @@
devstack_plugins:
aodh: git://git.openstack.org/openstack/aodh
mistral: git://git.openstack.org/openstack/mistral
monasca-api: git://git.openstack.org/openstack/monasca-api
devstack_services:
s-proxy: true
s-object: true

View File

@ -246,15 +246,6 @@ function install_congress_pythonclient() {
# install_congress() - install dependency, collect client source and prepare
function install_congress {
# congress requires java so we install it here
if is_ubuntu; then
install_package default-jre
elif is_fedora; then
install_package jre
else
die $LINENO "Congress devstack only supports Debian and Red Hat-based"
fi
install_congress_pythonclient
if is_service_enabled horizon; then