Update undercloud MTU docs

Now that all current upstream releases support local_mtu, let's
use that for setting MTU.  It's much simpler.

The previous docs are left as-is in a note for anyone deploying
older releases.
This commit is contained in:
Ben Nemec 2017-05-30 14:39:27 -05:00
parent ac08a2f6eb
commit 1bef041283
1 changed files with 16 additions and 10 deletions

View File

@ -32,8 +32,14 @@ host cloud.
If this cannot be done (perhaps because you don't have access to make If this cannot be done (perhaps because you don't have access to make
such a change on the host cloud), it will likely be necessary to such a change on the host cloud), it will likely be necessary to
configure a smaller MTU on the deployed virtual instances. For a configure a smaller MTU on the deployed virtual instances. For a
TripleO undercloud, Neutron should be configured to advertise a TripleO undercloud, this can be done by setting the ``local_mtu``
smaller MTU to instances. Run the following as root:: option in ``undercloud.conf`` to a smaller value (1450 will
usually work).
.. note::
In older versions of TripleO it may be necessary to do the MTU
configuration manually. That can be done with the following
commands (as root)::
# Replace 'eth1' with the actual device to be used for the # Replace 'eth1' with the actual device to be used for the
# provisioning network # provisioning network
@ -41,9 +47,9 @@ host cloud.
echo -e "\ndhcp-option-force=26,1350" >> /etc/dnsmasq-ironic.conf echo -e "\ndhcp-option-force=26,1350" >> /etc/dnsmasq-ironic.conf
systemctl restart 'neutron-*' systemctl restart 'neutron-*'
If network isolation is in use, the templates must also configure If network isolation is used in the virtual deployment, the templates must
mtu as discussed above, except the mtu should be set to 1350 instead also configure mtu as discussed above, except the mtu should be set to 1350
of 1550. instead of 1550.
#. Restart ``nova-compute`` and ``neutron-openvswitch-agent`` to apply the #. Restart ``nova-compute`` and ``neutron-openvswitch-agent`` to apply the
changes above. changes above.