File tree Expand file tree Collapse file tree 3 files changed +17
-0
lines changed
roles/configure_functional_tests/tasks Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 16
16
OVS_BRANCH={{ OVS_BRANCH }}
17
17
OVN_BRANCH={{ OVN_BRANCH }}
18
18
Q_BUILD_OVS_FROM_GIT={{ Q_BUILD_OVS_FROM_GIT }}
19
+ MEMORY_TRACKER={{ MEMORY_TRACKER }}
19
20
INSTALL_OVN={{ INSTALL_OVN }}
20
21
# This is DB USER used in e.g. pgsql db
21
22
DATABASE_USER=openstack_citest
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ USE_CONSTRAINT_ENV=${USE_CONSTRAINT_ENV:-True}
23
23
MYSQL_USER=${MYSQL_USER:- root}
24
24
DATABASE_USER=${DATABASE_USER:- openstack_citest}
25
25
DATABASE_NAME=${DATABASE_NAME:- openstack_citest}
26
+ MEMORY_TRACKER=${MEMORY_TRACKER:- False}
26
27
27
28
28
29
if [[ " $IS_GATE " != " True" ]] && [[ " $# " -lt 1 ]]; then
@@ -279,6 +280,20 @@ function _install_post_devstack {
279
280
fi
280
281
281
282
enable_kernel_bridge_firewall
283
+
284
+ # install/start memory tracker service if enabled
285
+ if [[ " $MEMORY_TRACKER " == " True" ]]; then
286
+ # is_service_enabled checks for service into ENABLED_SERVICES
287
+ ENABLED_SERVICES+=,dstat,memory_tracker
288
+ source $DEVSTACK_PATH /lib/dstat
289
+ if is_ubuntu; then
290
+ install_package pcp
291
+ else
292
+ install_package pcp-system-tools
293
+ fi
294
+ install_dstat
295
+ start_dstat
296
+ fi
282
297
}
283
298
284
299
Original file line number Diff line number Diff line change 29
29
- ^zuul.d/(?!(project)).*\.yaml
30
30
vars :
31
31
Q_BUILD_OVS_FROM_GIT : True
32
+ MEMORY_TRACKER : True
32
33
INSTALL_OVN : True
33
34
OVN_BRANCH : v21.06.0
34
35
OVS_BRANCH : v2.16.0
You can’t perform that action at this time.
0 commit comments