Add ability to enable debug logging on seed

Because our seed uses a static config json we require special logic to
enable debug logging on it.

Change-Id: If38d9947e6e70ce537219caf1e2835285351d960
This commit is contained in:
Gregory Haynes 2014-10-13 20:57:01 -07:00
parent ccb5f1450d
commit f4d48b19ed
4 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,3 @@
Enable debug logging on the seed
Adding this element will turn on debug for the openstack services.

View File

@ -0,0 +1,23 @@
{
"ceilometer": {
"debug": true
},
"cinder": {
"debug": true
},
"glance": {
"debug": true
},
"heat": {
"debug": true
},
"ironic": {
"debug": true
},
"neutron": {
"debug": true
},
"nova": {
"debug": true
}
}

View File

@ -0,0 +1 @@
seed-stack-config

View File

@ -0,0 +1,6 @@
#!/bin/bash
set -eux
set -o pipefail
install -D -m 0755 -o root -g root "$(dirname $0)/../debug.json" /var/lib/os-collect-config/local-data/debug.json