[trivial] add debug and verbose to config.yaml

This commit is contained in:
Edward Hope-Morley 2015-04-13 13:29:18 +01:00
commit 7d29703802
6 changed files with 18 additions and 5 deletions

View File

@ -1,4 +1,12 @@
options: options:
debug:
default: False
type: boolean
description: "Enable debug logging"
verbose:
default: False
type: boolean
description: "Enable verbose logging"
openstack-origin: openstack-origin:
default: distro default: distro
type: string type: string

View File

@ -104,7 +104,8 @@ BASE_RESOURCE_MAP = {
context.ZeroMQContext(), context.ZeroMQContext(),
context.NotificationDriverContext(), context.NotificationDriverContext(),
MetadataServiceContext(), MetadataServiceContext(),
HostIPContext()], HostIPContext(),
context.LogLevelContext()],
}, },
} }

View File

@ -7,6 +7,8 @@
{% endif -%} {% endif -%}
############################################################################### ###############################################################################
[DEFAULT] [DEFAULT]
verbose={{ verbose }}
debug={{ debug }}
dhcpbridge_flagfile=/etc/nova/nova.conf dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge dhcpbridge=/usr/bin/nova-dhcpbridge
logdir=/var/log/nova logdir=/var/log/nova
@ -21,7 +23,6 @@ libvirt_disk_prefix=vd
libvirt_use_virtio_for_bridges=True libvirt_use_virtio_for_bridges=True
{% endif -%} {% endif -%}
verbose=True
use_syslog = {{ use_syslog }} use_syslog = {{ use_syslog }}
ec2_private_dns_show_ip=True ec2_private_dns_show_ip=True
api_paste_config=/etc/nova/api-paste.ini api_paste_config=/etc/nova/api-paste.ini

View File

@ -7,6 +7,8 @@
{% endif -%} {% endif -%}
############################################################################### ###############################################################################
[DEFAULT] [DEFAULT]
verbose={{ verbose }}
debug={{ debug }}
dhcpbridge_flagfile=/etc/nova/nova.conf dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge dhcpbridge=/usr/bin/nova-dhcpbridge
logdir=/var/log/nova logdir=/var/log/nova
@ -21,7 +23,6 @@ libvirt_disk_prefix=vd
libvirt_use_virtio_for_bridges=True libvirt_use_virtio_for_bridges=True
{% endif -%} {% endif -%}
verbose=True
use_syslog = {{ use_syslog }} use_syslog = {{ use_syslog }}
ec2_private_dns_show_ip=True ec2_private_dns_show_ip=True
api_paste_config=/etc/nova/api-paste.ini api_paste_config=/etc/nova/api-paste.ini

View File

@ -7,6 +7,8 @@
{% endif -%} {% endif -%}
############################################################################### ###############################################################################
[DEFAULT] [DEFAULT]
verbose={{ verbose }}
debug={{ debug }}
dhcpbridge_flagfile=/etc/nova/nova.conf dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge dhcpbridge=/usr/bin/nova-dhcpbridge
logdir=/var/log/nova logdir=/var/log/nova
@ -21,7 +23,6 @@ libvirt_disk_prefix=vd
libvirt_use_virtio_for_bridges=True libvirt_use_virtio_for_bridges=True
{% endif -%} {% endif -%}
verbose=True
use_syslog = {{ use_syslog }} use_syslog = {{ use_syslog }}
ec2_private_dns_show_ip=True ec2_private_dns_show_ip=True
api_paste_config=/etc/nova/api-paste.ini api_paste_config=/etc/nova/api-paste.ini

View File

@ -7,12 +7,13 @@
{% endif -%} {% endif -%}
############################################################################### ###############################################################################
[DEFAULT] [DEFAULT]
verbose={{ verbose }}
debug={{ debug }}
dhcpbridge_flagfile=/etc/nova/nova.conf dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge dhcpbridge=/usr/bin/nova-dhcpbridge
logdir=/var/log/nova logdir=/var/log/nova
state_path=/var/lib/nova state_path=/var/lib/nova
force_dhcp_release=True force_dhcp_release=True
verbose=True
use_syslog = {{ use_syslog }} use_syslog = {{ use_syslog }}
ec2_private_dns_show_ip=True ec2_private_dns_show_ip=True
api_paste_config=/etc/nova/api-paste.ini api_paste_config=/etc/nova/api-paste.ini