Merge "Add docs for LBaaSv2 Horizon panels"

This commit is contained in:
Jenkins 2016-05-19 18:39:08 +00:00 committed by Gerrit Code Review
commit e222096824

View File

@ -60,49 +60,21 @@ dict.
Load balancing service (optional) Load balancing service (optional)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
OpenStack-Ansible currently provides the OpenStack neutron LBaaS service using The `neutron-lbaas`_ plugin for neutron provides a software load balancer
HAProxy as the load balancer. LBaaS has two implementations available: v1 and service and can direct traffic to multiple servers. The service runs as an
v2. agent and it manages `HAProxy`_ configuration files and daemons.
Both implementations use agents that manage `HAProxy`_ daemons. However, LBaaS The Newton release contains only the LBaaS v2 API. For more details about
v1 has a limitation of one port per load balancer. LBaaS v2 allows for multiple transitioning from LBaaS v1 to v2, review the :ref:`lbaas-special-notes`
ports (called listeners) per load balancer. section below.
.. note:: Deployers can make changes to the LBaaS default configuration options via the
``neutron_lbaas_agent_ini_overrides`` dictionary. Review the documentation on
Horizon panels for LBaaS v2 are not yet available. the `conf override`_ mechanism for more details.
.. _neutron-lbaas: https://wiki.openstack.org/wiki/Neutron/LBaaS
.. _HAProxy: http://www.haproxy.org/ .. _HAProxy: http://www.haproxy.org/
Deploying LBaaS v1
------------------
.. note::
We do not recommend LBaaS v1 for new deployments as it is deprecated as of Liberty.
#. Add the LBaaS v1 plugin to the ``neutron_plugin_base`` variable
in ``/etc/openstack_deploy/user_variables.yml``:
.. code-block:: yaml
neutron_plugin_base:
- router
- metering
- lbaas
Ensure that ``neutron_plugin_base`` includes all of the plugins that you
want to deploy with neutron in addition to the LBaaS plugin.
#. Run the neutron and horizon playbooks to deploy the LBaaS v1 agent and enable
the LBaaS panels in horizon:
.. code-block:: console
# cd /opt/openstack-ansible/playbooks
# openstack-ansible os-neutron-install.yml
# openstack-ansible os-horizon-install.yml
Deploying LBaaS v2 Deploying LBaaS v2
------------------ ------------------
@ -119,24 +91,26 @@ Deploying LBaaS v2
Ensure that ``neutron_plugin_base`` includes all of the plugins that you Ensure that ``neutron_plugin_base`` includes all of the plugins that you
want to deploy with neutron in addition to the LBaaS plugin. want to deploy with neutron in addition to the LBaaS plugin.
#. Run the neutron playbook to deploy the LBaaS v2 agent: #. Run the neutron and horizon playbooks to deploy the LBaaS v2 agent and
enable the LBaaS v2 panels in horizon:
.. code-block:: console .. code-block:: console
# cd /opt/openstack-ansible/playbooks # cd /opt/openstack-ansible/playbooks
# openstack-ansible os-neutron-install.yml # openstack-ansible os-neutron-install.yml
# openstack-ansible os-horizon-install.yml
.. _lbaas-special-notes
Special notes about LBaaS Special notes about LBaaS
------------------------- -------------------------
The LBaaS default configuration options are changed through the **LBaaS v1 was deprecated in the Mitaka release and is not available in the
`conf override`_ mechanism using the ``neutron_lbaas_agent_ini_overrides`` Newton release.**
dict.
LBaaS v1 and v2 agents are unable to run at the same time. If you switch LBaaS v1 and v2 agents are unable to run at the same time. If you switch
LBaaS v1 to v2, the v2 agent is the only agent running. The LBaaS v1 agent LBaaS v1 to v2, the v2 agent is the only agent running. The LBaaS v1 agent
stops along with any load balancers provisioned under the v1 agent. stops along with any load balancers provisioned under the v1 agent.
The same is true if you choose to move from LBaaS v2 to v1.
Load balancers are not migrated between LBaaS v1 and v2 automatically. Each Load balancers are not migrated between LBaaS v1 and v2 automatically. Each
implementation has different code paths and database tables. You need implementation has different code paths and database tables. You need