1. Remove optional configuration content in the install guide, which is now located in the developer docs 2. Fixed appendix titles Change-Id: Ie3d7223d38dfda822b18bde123b68baa415418bc Implements: blueprint osa-install-guide-overhaul
4.6 KiB
Home OpenStack-Ansible Installation Guide
Appendix D: Using PLUMgrid Neutron plugin
Installing source and host networking
Clone the PLUMgrid ansible repository under the
/opt/directory:# git clone -b TAG https://github.com/plumgrid/plumgrid-ansible.git /opt/plumgrid-ansibleReplace ``TAG`` with the current stable release tag.
PLUMgrid will take over networking for the entire cluster. The bridges
br-vxlanandbr-vlanonly need to be present to avoid relevant containers from erroring out on infra hosts. They do not need to be attached to any host interface or a valid network.PLUMgrid requires two networks: a Management and a Fabric network. Management is typically shared via the standard
br-mgmtand Fabric must be specified in the PLUMgrid configuration file described below. The Fabric interface must be untagged and unbridged.
Neutron configurations
To setup the neutron configuration to install PLUMgrid as the core
neutron plugin, create a user space variable file
/etc/openstack_deploy/user_pg_neutron.yml and insert the
following parameters.
Set the
neutron_plugin_typeparameter toplumgrid:# Neutron Plugins neutron_plugin_type: plumgridIn the same file, disable the installation of unnecessary
neutron-agentsin theneutron_servicesdictionary, by setting theirservice_enparameters toFalse:neutron_metering: False neutron_l3: False neutron_lbaas: False neutron_lbaasv2: False neutron_vpnaas: False
PLUMgrid configurations
On the deployment host, create a PLUMgrid user variables file using
the sample in
/opt/plumgrid-ansible/etc/user_pg_vars.yml.example and copy
it to /etc/openstack_deploy/user_pg_vars.yml. You must
configure the following parameters.
Replace
PG_REPO_HOSTwith a valid repo URL hosting PLUMgrid packages:plumgrid_repo: PG_REPO_HOSTReplace
INFRA_IPswith comma separated Infrastructure Node IPs andPG_VIPwith an unallocated IP on the management network. This will be used to access the PLUMgrid UI:plumgrid_ip: INFRA_IPs pg_vip: PG_VIPReplace
FABRIC_IFCwith the name of the interface that will be used for PLUMgrid Fabric.Note
PLUMgrid Fabric must be an untagged unbridged raw interface such as
eth0.fabric_interface: FABRIC_IFCFill in the
fabric_ifc_overrideandmgmt_overridedicts with nodehostname: interface_nameto override the default interface names.Obtain a PLUMgrid License file, rename to
pg_licenseand place it under/var/lib/plumgrid/pg_licenseon the deployment host.
Gateway Hosts
PLUMgrid-enabled OpenStack clusters contain one or more gateway nodes
that are used for providing connectivity with external resources, such
as external networks, bare-metal servers, or network service appliances.
In addition to the Management and Fabric networks required by PLUMgrid nodes,
gateways require dedicated external interfaces referred to as
gateway_devs in the configuration files.
Add a
gateway_hostssection to/etc/openstack_deploy/openstack_user_config.yml:gateway_hosts: gateway1: ip: GW01_IP_ADDRESS gateway2: ip: GW02_IP_ADDRESSReplace
*_IP_ADDRESSwith the IP address of thebr-mgmtcontainer management bridge on each Gateway host.Add a
gateway_hostssection to the end of the PLUMgriduser_pg_vars.ymlfile:Note
This must contain hostnames and
gateway_devnames for each gateway in the cluster.gateway_hosts: - hostname: gateway1 gateway_devs: - eth3 - eth4
Installation
Run the PLUMgrid playbooks (do this before the
openstack-setup.ymlplaybook is run):# cd /opt/plumgrid-ansible/plumgrid_playbooks # openstack-ansible plumgrid_all.yml
Note
Contact PLUMgrid for an Installation Pack: info@plumgrid.com This includes a full trial commercial license, packages, deployment documentation, and automation scripts for the entire workflow described above.