update state_path default to be the same value

fixes bug 1085249

This patch sets the default state_path to match a reasonable deployment
value instead of the devstack default.

Change-Id: Ib0c10621d91760588a68a62df8a60682d780e015
This commit is contained in:
Mark McClain 2012-11-30 18:03:52 -05:00
parent 87e9b62fff
commit dc107a5ba5
4 changed files with 5 additions and 12 deletions

View File

@ -3,9 +3,8 @@
# debug = true
# Where to store dnsmasq state files. This directory must be writable by the
# user executing the agent. The value below is compatible with a default
# devstack installation.
state_path = /opt/stack/data
# user executing the agent.
# state_path = /var/lib/quantum
# The DHCP agent will resync its state with Quantum to recover from any
# transient notification or rpc errors. The interval is number of

View File

@ -28,11 +28,6 @@ root_helper = sudo
# If use_namespaces is set as False then the agent can only configure one router.
# Where to store metadata state files. This directory must be writable by the
# user executing the agent. The value below is compatible with a default
# devstack installation.
state_path = /opt/stack/data/quantum
# This is done by setting the specific router_id.
# router_id =

View File

@ -15,9 +15,8 @@ admin_password = %SERVICE_PASSWORD%
root_helper = sudo
# Where to store metadata state files. This directory must be writable by the
# user executing the agent. The value below is compatible with a default
# devstack installation.
state_path = /opt/stack/data/quantum
# user executing the agent.
# state_path = /var/lib/quantum
# IP address used by Nova metadata server
# nova_metadata_ip = 127.0.0.1

View File

@ -48,7 +48,7 @@ core_opts = [
cfg.BoolOpt('allow_bulk', default=True),
cfg.IntOpt('max_dns_nameservers', default=5),
cfg.IntOpt('max_subnet_host_routes', default=20),
cfg.StrOpt('state_path', default='.'),
cfg.StrOpt('state_path', default='/var/lib/quantum'),
cfg.IntOpt('dhcp_lease_duration', default=120),
cfg.BoolOpt('allow_overlapping_ips', default=False),
cfg.StrOpt('control_exchange',