Disable debug for keystone service

As more debug info has been added recently, it will produce large
log file for keyston service untill fullfill the whole disk. So
let's disable debug for this specific service.

Change-Id: Id33c3e5da5d4c49bf6606202c123d0000da6b3e0
This commit is contained in:
Jianghua Wang 2016-08-16 10:25:39 +08:00
parent b914d5c01e
commit 18fe366764

View File

@ -84,10 +84,10 @@ PUBNET=$(run_in_domzero xe network-create name-label=pubnet </dev/null)
PUBVIF=$(run_in_domzero xe vif-create vm-uuid=$APP network-uuid=$PUBNET device=4 </dev/null)
run_in_domzero xe vif-plug uuid=$PUBVIF </dev/null
if [ "$DEVSTACK_GATE_NEUTRON" -eq "1" ]; then
# Set to keep localrc file as we will config localrc during pre_test_hook
export KEEP_LOCALRC=1
# Set to keep localrc file as we will config localrc during pre_test_hook
export KEEP_LOCALRC=1
if [ "$DEVSTACK_GATE_NEUTRON" -eq "1" ]; then
# Create integration network for compute node
INTNET=$(run_in_domzero xe network-create name-label=intnet </dev/null)
export INTBRIDGE=$(run_in_domzero xe network-param-get param-name=bridge uuid=$INTNET </dev/null)
@ -167,6 +167,15 @@ CRONTAB
} | run_in_domzero
)
(
localconf="/opt/stack/new/devstack/local.conf"
cat <<EOF >>"$localconf"
[[post-config|/etc/keystone/keystone.conf]]
[DEFAULT]
debug = False
EOF
)
## config interface and localrc for neutron network
(
if [ "$DEVSTACK_GATE_NEUTRON" -eq "1" ]; then