export CUSTOMPROP=/tmp/${BUNDLEFOLDER}/etc/custom.properties
export LOGCONF=/tmp/${BUNDLEFOLDER}/etc/org.ops4j.pax.logging.cfg
export MEMCONF=/tmp/${BUNDLEFOLDER}/bin/setenv
-export CONTROLLERMEM="2048m"
+export CONTROLLERMEM=${CONTROLLERMAXMEM}
# Cluster specific configuration settings
export AKKACONF=/tmp/${BUNDLEFOLDER}/configuration/initial/akka.conf
BUNDLE_URL: ${BUNDLE_URL}
CONTROLLERFEATURES: ${CONTROLLERFEATURES}
CONTROLLERDEBUGMAP: ${CONTROLLERDEBUGMAP}
+CONTROLLERMAXMEM: ${CONTROLLERMAXMEM}
SCRIPTPLAN: ${SCRIPTPLAN}
CONFIGPLAN: ${CONFIGPLAN}
STREAMTESTPLAN: ${STREAMTESTPLAN}
function get_features() {
if [ "${CONTROLLERSCOPE}" == 'all' ]; then
ACTUALFEATURES="odl-integration-compatible-with-all,${CONTROLLERFEATURES}"
- export CONTROLLERMEM="3072m"
+ # if CONTROLLERMEM still is the default 2G and was not overridden by a
+ # custom job, then we need to make sure to increase it because "all"
+ # features can be heavy
+ if [ "${CONTROLLERMEM}" == "2048m" ]; then
+ export CONTROLLERMEM="3072m"
+ fi
else
ACTUALFEATURES="odl-infrautils-ready,${CONTROLLERFEATURES}"
fi
- integration-controller-parameters:
controller-debug-map: '{debug-map}'
controller-features: '{install-features}'
+ controller-max-mem: '{controller-max-mem}'
controller-scope: '{controller-scope}'
controller-use-features-boot: '{use-features-boot}'
feature-elasticsearch-attribute: '{elasticsearch-attribute}'
name: CONTROLLERFEATURES
default: '{controller-features}'
description: |
- Features to install in the controller separated by comma
+ Features to install in the controller separated by comma.
(note: Do not include decanter* features used for harvesting JVM metrics.
They are inserted in install scripts.)
The levels must be one of: ERROR, WARN, INFO, DEBUG, TRACE.
(ex. ovsdb.lib:ERROR netvirt.vpnservice:INFO)
+ - string:
+ name: CONTROLLERMAXMEM
+ default: '{controller-max-mem}'
+ description: |
+ Max Heap size to use when starting the controller.
+
- string:
name: ELASTICSEARCHATTRIBUTE
default: '{feature-elasticsearch-attribute}'
odl_system_flavor: 'odl-highcpu-4'
odl_system_image: 'ZZCI - CentOS 7 - builder - x86_64 - 20191201-060129.829'
+ controller-max-mem: '2048m'
tools_system_count: 1
tools_system_flavor: 'odl-highcpu-2'
tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20190415-091034.881'
robot-options: '{robot-options}'
# Controller
controller-scope: only
+ controller-max-mem: '{controller-max-mem}'
debug-map: '{debug-map}'
install-features: '{install-features}'
use-features-boot: 'True'
odl_system_flavor: 'odl-highcpu-4'
odl_system_image: 'ZZCI - CentOS 7 - builder - x86_64 - 20191201-060129.829'
+ controller-max-mem: '2048m'
tools_system_count: 1
tools_system_flavor: 'odl-highcpu-2'
tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20190415-091034.881'
robot-options: '{robot-options}'
# Controller
controller-scope: '{scope}'
+ controller-max-mem: '{controller-max-mem}'
debug-map: '{debug-map}'
install-features: '{install-features}'
use-features-boot: 'True'
robot-options: '{robot-options}'
# Controller
controller-scope: '{scope}'
+ controller-max-mem: '{controller-max-mem}'
debug-map: '{debug-map}'
install-features: '{install-features}'
use-features-boot: 'True'
odl_system_flavor: 'odl-highcpu-4'
odl_system_image: 'ZZCI - CentOS 7 - builder - x86_64 - 20191201-060129.829'
+ controller-max-mem: '2048m'
tools_system_count: 1
tools_system_flavor: 'odl-highcpu-2'
tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20190415-091034.881'
robot-options: '{robot-options}'
# Controller
controller-scope: only
+ controller-max-mem: '{controller-max-mem}'
debug-map: '{debug-map}'
install-features: 'odl-jolokia,{install-features}'
use-features-boot: 'True'
odl_system_flavor: 'odl-highcpu-4'
odl_system_image: 'ZZCI - CentOS 7 - builder - x86_64 - 20191201-060129.829'
+ controller-max-mem: '2048m'
tools_system_count: 1
tools_system_flavor: 'odl-highcpu-2'
tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20190415-091034.881'
robot-options: '{robot-options}'
# Controller
controller-scope: '{scope}'
+ controller-max-mem: '{controller-max-mem}'
debug-map: '{debug-map}'
install-features: 'odl-jolokia,{install-features}'
use-features-boot: 'True'
robot-options: '{robot-options}'
# Controller
controller-scope: '{scope}'
+ controller-max-mem: '{controller-max-mem}'
debug-map: '{debug-map}'
install-features: 'odl-jolokia,{install-features}'
use-features-boot: 'True'
odl_system_count: 1
odl_system_flavor: 'odl-highcpu-4'
odl_system_image: 'ZZCI - CentOS 7 - builder - x86_64 - 20191201-060129.829'
+ controller-max-mem: '2048m'
docker_system_count: 1
docker_system_flavor: 'odl-standard-1'
docker_system_image: 'ZZCI - CentOS 7 - docker - x86_64 - 20191004-045622.840'
robot-options: '{robot-options}'
# Controller
controller-scope: '{scope}'
+ controller-max-mem: '{controller-max-mem}'
debug-map: '{debug-map}'
install-features: 'odl-jolokia,{install-features}'
use-features-boot: 'True'
odl_system_count: 1
odl_system_flavor: 'odl-highcpu-4'
odl_system_image: 'ZZCI - CentOS 7 - builder - x86_64 - 20191201-060129.829'
+ controller-max-mem: '2048m'
openstack_system_count: 1
openstack_system_flavor: 'odl-standard-4'
openstack_system_image: 'ZZCI - CentOS 7 - devstack - x86_64 - 20191004-045548.485'
robot-options: '{robot-options}'
# Controller
controller-scope: ''
+ controller-max-mem: '{controller-max-mem}'
debug-map: '{debug-map}'
install-features: '{install-features}'
use-features-boot: '{use-features-boot}'
robot-options: '{robot-options}'
# Controller
controller-scope: ''
+ controller-max-mem: '{controller-max-mem}'
debug-map: '{debug-map}'
install-features: '{install-features}'
use-features-boot: '{use-features-boot}'
odl_system_count: 1
odl_system_flavor: 'odl-highcpu-4'
odl_system_image: 'ZZCI - CentOS 7 - builder - x86_64 - 20191201-060129.829'
+ controller-max-mem: '2048m'
openstack_system_count: 1
openstack_system_flavor: 'odl-standard-4'
openstack_system_image: 'ZZCI - CentOS 7 - devstack - x86_64 - 20191004-045548.485'
robot-options: '{robot-options}'
# Controller
controller-scope: ''
+ controller-max-mem: '{controller-max-mem}'
debug-map: '{debug-map}'
install-features: '{install-features}'
use-features-boot: '{use-features-boot}'
robot-options: '{robot-options}'
# Controller
controller-scope: ''
+ controller-max-mem: '{controller-max-mem}'
debug-map: '{debug-map}'
install-features: '{install-features}'
use-features-boot: '{use-features-boot}'
openstack-cloud: vex
openstack-heat-template: csit-apex-3-instance-type.yaml
openstack-heat-template-dir: openstack-hot
+ controller-max-mem: '2048m'
#####################
# Job configuration #
robot-options: '{robot-options}'
# Controller
controller-scope: ''
+ controller-max-mem: '{controller-max-mem}'
debug-map: '{debug-map}'
install-features: '{install-features}'
use-features-boot: '{use-features-boot}'
robot-options: '{robot-options}'
# Controller
controller-scope: ''
+ controller-max-mem: '{controller-max-mem}'
debug-map: '{debug-map}'
install-features: '{install-features}'
use-features-boot: '{use-features-boot}'