Files
neutron/neutron/tests/contrib/hooks/stack_base
Ihar Hrachyshka ad99fb0ddb Enable dstat for in-gate functional and fullstack test runs
This may become handy when debugging gate failures like job or test case
or ovsdb timeouts, to see the load of the machine, as well as to
understand whether the machine was e.g. locked by its hypervisor during
test run.

Instead of using devstack as a library, we just enable the service in
local.conf [[localrc]], and then call ./stack.sh.

Now that we install some pypi packages into the system, and since
functional targets were using those system packages, post_gate_hook.sh
broke failing to locate subunit-2to1 script in the tox env directory. To
fix that, we disable sitepackages= for all functional tox targets. This
was enabled back in the times when we attempted to install neutron for
the functional job using devstack [1], and we no longer do it, so it
should be ok to stick to all packages from the tox venv.

[1] Icc38cacd69bc5843ccfcc60237a7102df6d8597f

Change-Id: I73857f63f512e26d595c61a20ec5bf22d2fb0da7
2017-02-11 01:32:24 +00:00

10 lines
378 B
Plaintext

[[local|localrc]]
# set password, otherwise devstack enters interactive mode and fails
ADMIN_PASSWORD=secretadmin
# don't use screen to start services (needed to disable colorization in
# captured service logs)
USE_SCREEN=False
# start with an empty service list, otherwise devstack will configure several
# 'default' services, including rabbitmq and mysql
disable_all_services