aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Slagle <jslagle@redhat.com>2014-03-25 08:34:29 -0400
committerJames Slagle <jslagle@redhat.com>2014-04-23 12:28:16 -0400
commitb8d42f54c6ca193d6b24162d01f3e0a56bd8c6e6 (patch)
tree827cc854d9acafcc8df59c6081c8ef6463087c6d
parent439825b1b079d7bbf7f65f9c85f3adbed9ec204a (diff)
Expose dnsmasq options
Adds a new parameter, NeutronDnsmasqOptions, to the overcloud template. Allows the ability to set dnsmasq options for neutron dhcp agent. This will allow us to configure mtu to be 1400 for tenant instances on the overcloud. This should help with poor network performance and vm's that are just plain unreachable via ssh due to the GRE tunnel overhead. The default here has been set to: dhcp-option-force=26,1400 This is the recommended way to configure OpenStack with the Open vSwitch plugin per: http://docs.openstack.org/admin-guide-cloud/content/openvswitch_plugin.html All the documentation I can find on the web (openstack-dev, ask.openstack.org, etc), recommend applying this setting. Others have reported slow vm performance as well, and this resolves that issue (apparently anyway...we'd need to test). Change-Id: If24326045987b5a484ba2f71f591092987966536 Partial-Bug: #1270646
-rw-r--r--overcloud-source.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/overcloud-source.yaml b/overcloud-source.yaml
index ecdf05c0..3aafb6dd 100644
--- a/overcloud-source.yaml
+++ b/overcloud-source.yaml
@@ -163,6 +163,10 @@ Parameters:
Default: ''
Description: If set, the public interface is a vlan with this device as the raw device.
Type: String
+ NeutronDnsmasqOptions:
+ Default: 'dhcp-option-force=26,1400'
+ Description: Dnsmasq options for neutron-dhcp-agent. The default value here forces MTU to be set to 1400 to account for the gre tunnel overhead.
+ Type: String
controllerImage:
Type: String
Default: overcloud-control
@@ -371,6 +375,8 @@ Resources:
ovs_db: mysql://neutron:unset@localhost/ovs_neutron?charset=utf8
service-password:
Ref: NeutronPassword
+ dnsmasq-options:
+ Ref: NeutronDnsmasqOptions
ceilometer:
db: mysql://ceilometer:unset@localhost/ceilometer
metering_secret: {Ref: CeilometerMeteringSecret}