]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Move metadata proxy shared options to neutron.conf
authorCedric Brandily <zzelle@gmail.com>
Fri, 20 Mar 2015 16:11:53 +0000 (16:11 +0000)
committerCedric Brandily <zzelle@gmail.com>
Fri, 20 Mar 2015 20:04:52 +0000 (20:04 +0000)
This change moves metadata proxy options shared between dhcp and l3
agents to neutron.conf. This change prepares follow-up changes allowing
to run metadata proxy with nobody user/group

Change-Id: I1828e322791b8a697765cad2f12857e3d6deae68
Related-bug: #1427228

etc/dhcp_agent.ini
etc/l3_agent.ini
etc/neutron.conf

index ea13ba6c0ceb1998b0ab58135dfc2e1c785b16b6..e259ad86a271c6ae8d9eeb4811ed441eb48eefc2 100644 (file)
 # Use broadcast in DHCP replies
 # dhcp_broadcast_reply = False
 
-# User (uid or name) running metadata proxy after its initialization
-# (if empty: dhcp agent effective user)
-# metadata_proxy_user =
-
-# Group (gid or name) running metadata proxy after its initialization
-# (if empty: dhcp agent effective group)
-# metadata_proxy_group =
-
-# Location of Metadata Proxy UNIX domain socket
-# metadata_proxy_socket = $state_path/metadata_proxy
-
 # dhcp_delete_namespaces, which is false by default, can be set to True if
 # namespaces can be deleted cleanly on the host running the dhcp agent.
 # Do not enable this until you understand the problem with the Linux iproute
index eca07f0f362ce064b926d17a5ae7410cc0bd98b6..2c4b7275fc9911e4f69e14c5a2a89fae498893dd 100644 (file)
 # TCP Port used by Neutron metadata server
 # metadata_port = 9697
 
-# User (uid or name) running metadata proxy after its initialization
-# (if empty: L3 agent effective user)
-# metadata_proxy_user =
-
-# Group (gid or name) running metadata proxy after its initialization
-# (if empty: L3 agent effective group)
-# metadata_proxy_group =
-
 # Send this many gratuitous ARPs for HA setup. Set it below or equal to 0
 # to disable this feature.
 # send_arp_for_ha = 3
@@ -74,9 +66,6 @@
 # Iptables mangle mark used to mark metadata valid requests
 # metadata_access_mark = 0x1
 
-# Location of Metadata Proxy UNIX domain socket
-# metadata_proxy_socket = $state_path/metadata_proxy
-
 # router_delete_namespaces, which is false by default, can be set to True if
 # namespaces can be deleted cleanly on the host running the L3 agent.
 # Do not enable this until you understand the problem with the Linux iproute
index 95d2e5561bbf5b024dd9d8e7c38e96cc271ca6b5..6374417f771690305cf94f0aab410d0570074ffa 100644 (file)
@@ -224,6 +224,19 @@ lock_path = $state_path/lock
 # l3_ha_net_cidr = 169.254.192.0/18
 # =========== end of items for l3 extension =======
 
+# =========== items for metadata proxy configuration ==============
+# User (uid or name) running metadata proxy after its initialization
+# (if empty: agent effective user)
+# metadata_proxy_user =
+
+# Group (gid or name) running metadata proxy after its initialization
+# (if empty: agent effective group)
+# metadata_proxy_group =
+
+# Location of Metadata Proxy UNIX domain socket
+# metadata_proxy_socket = $state_path/metadata_proxy
+# =========== end of items for metadata proxy configuration ==============
+
 # ========== items for VLAN trunking networks ==========
 # Setting this flag to True will allow plugins that support it to
 # create VLAN transparent networks. This flag has no effect for