This document describes the steps required to deploy Project Calico Neutron networking with OpenStack-Ansible (OSA). These steps include:
For additional configuration about Project Calico and its architecture, please reference the networking-calico and Project Calico documentation.
Add hosts to the /etc/openstack_deploy/conf.d/etcd.conf
configuration file
to add container hosts for the etcd cluster. See
etc/openstack_deploy/conf.d/etcd.conf.example
in the openstack-ansible repo
or adjust the example below to match your infrastructure hosts:
etcd_hosts:
infra1:
ip: 172.20.236.111
infra2:
ip: 172.20.236.112
infra3:
ip: 172.20.236.113
Copy the neutron environment overrides to
/etc/openstack_deploy/env.d/neutron.yml
to disable the creation of the
neutron agents container, and implement the calico-dhcp-agent hosts group
containing all compute hosts.
component_skel:
neutron_calico_dhcp_agent:
belongs_to:
- neutron_all
container_skel:
neutron_agents_container:
contains: {}
neutron_calico_dhcp_agent_container:
belongs_to:
- compute_containers
contains:
- neutron_calico_dhcp_agent
properties:
is_metal: true
service_name: neutron
Set the following in /etc/openstack_deploy/user_variables.yml
.
neutron_plugin_type: ml2.calico
nova_network_type: calico
After multi-node OpenStack cluster is configured as detailed above; start the OpenStack deployment as listed in the OpenStack-Ansible Install guide by running all playbooks in sequence on the deployment host
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.