7218873050
Set a big timeout for rootwrap daemon in functional and fullstack tests. The value defined in 7800, the same as the Zuul jobs timeout. This timeout increase will prevent the daemon to close when executing a test root command, as described in the bug. An unexpected rootwrap daemon closure is not considered as a normal event during the test execution. The default value set in the configuration file is 600 seconds, the same as daemon default value. This timeout is increased only when OS_SUDO_TESTING=1, that means functional and fullstack tests, when using the script "tools/deploy_rootwrap.sh". Change-Id: I691300a4e9a7cccd8887bc8f95ba9cea32988bac Closes-Bug: #1850558
38 lines
1.3 KiB
Plaintext
38 lines
1.3 KiB
Plaintext
# Configuration for neutron-rootwrap
|
|
# This file should be owned by (and only-writeable by) the root user
|
|
|
|
[DEFAULT]
|
|
# List of directories to load filter definitions from (separated by ',').
|
|
# These directories MUST all be only writeable by root !
|
|
filters_path=/etc/neutron/rootwrap.d,/usr/share/neutron/rootwrap
|
|
|
|
# List of directories to search executables in, in case filters do not
|
|
# explicitely specify a full path (separated by ',')
|
|
# If not specified, defaults to system PATH environment variable.
|
|
# These directories MUST all be only writeable by root !
|
|
exec_dirs=/sbin,/usr/sbin,/bin,/usr/bin,/usr/local/bin,/usr/local/sbin,/etc/neutron/kill_scripts
|
|
|
|
# Enable logging to syslog
|
|
# Default value is False
|
|
use_syslog=False
|
|
|
|
# Which syslog facility to use.
|
|
# Valid values include auth, authpriv, syslog, local0, local1...
|
|
# Default value is 'syslog'
|
|
syslog_log_facility=syslog
|
|
|
|
# Which messages to log.
|
|
# INFO means log all usage
|
|
# ERROR means only log unsuccessful attempts
|
|
syslog_log_level=ERROR
|
|
|
|
# Rootwrap daemon exits after this seconds of inactivity
|
|
daemon_timeout=600
|
|
|
|
[xenapi]
|
|
# XenAPI configuration is only required by the L2 agent if it is to
|
|
# target a XenServer/XCP compute host's dom0.
|
|
xenapi_connection_url=<None>
|
|
xenapi_connection_username=root
|
|
xenapi_connection_password=<None>
|