]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
update state_path default to be the same value
authorMark McClain <mark.mcclain@dreamhost.com>
Fri, 30 Nov 2012 23:03:52 +0000 (18:03 -0500)
committerMark McClain <mark.mcclain@dreamhost.com>
Fri, 30 Nov 2012 23:05:46 +0000 (18:05 -0500)
fixes bug 1085249

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

Change-Id: Ib0c10621d91760588a68a62df8a60682d780e015

etc/dhcp_agent.ini
etc/l3_agent.ini
etc/metadata_agent.ini
quantum/common/config.py

index 784b4db648df03306b4b82c68c8a4441a70b360a..3c86847bf9592d2d48b4754733b713a243ad1fd5 100644 (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
index f495436d043887a47bd04a574a54213a7f284cd6..1e6ad199d7ad2b89fae24ea509b080dd8dfb4c63 100644 (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 =
 
index bb5aac160bc1cb23a52125c2b0f101a86f20344b..51169210a5d3d12514f0b2215f9f19a94dc51076 100644 (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
index 78e9a0b14e873fee242ef1d361c0a1174591699d..ee5c514e36a7276bde58d7e04186c4e398b6ebd0 100644 (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',