11 Commits

Author SHA1 Message Date
Daniel Alvarez
b4c11103bf Add OVNController service to Networker role
If Networker role is used, we want to deploy OVNController service
on such nodes and configure the right CMS options in OVN.

Change-Id: I09de4a764fa1a2bb7dff6056e903173220300cb4
Signed-off-by: Daniel Alvarez <dalvarez@redhat.com>
2018-01-25 15:45:27 +01:00
Numan Siddique
71d59bb0a3 ovn: Provide the option to configure OVNCMSOptions ('ovn-cms-options') as a role parameter
This option was recently supported in ovn-controller [1]. If this value is configured
in the external_ids column of OpenvSwitch table of OVS database, ovn-controller copies
it to the chassis table, which will be read by Neutron OVN mechanism driver. OVN mech driver can
take certain decisions based on the value. One such use case is setting the value
'enable-chassis-as-gw' in this option. Only those chassis which has this option set,
will be considered as a candidate to schedule a neutron router. So, the administrator
can decide to use only controller nodes (or networker nodes) for scheduling the
router.

[1] - 4705963f2c

Change-Id: Iabe5aec30c740447b9714e1b1ace366768488bdb
Signed-off-by: Numan Siddique <nusiddiq@redhat.com>
2018-01-25 19:46:22 +05:30
Zuul
0236d8d480 Merge "Define 'NeutronPluginExtensions' in OVN environment files with dns extension" 2018-01-18 13:07:04 +00:00
Daniel Alvarez
85e006d19d Add support for OVN Metadata Agent
This patch adds support for networking-ovn-metadata-agent.
It will deploy the agent on compute nodes and disable Nova
force_config_drive.

The following two patches have been squashed into this one:
* https://review.openstack.org/#/c/525164/
* https://review.openstack.org/#/c/522813/
The reason behind the squash is that we had interdepenencies
and this patch alone wouldn't be testing the code properly
without the two other ones since scenario007 job in baremetal
has been removed for this cycle.

UpgradeImpact

Depends-On: I678652294cb8f964c34b742a0bc0ea360d736fb9
Depends-On: If3dffde5e0db8f7607a9708d36d54d1600fe5da8
Depends-On: I38f775479d178f5b252619635b67f876bc8c5ed5
Depends-On: Ifdd42437333730a3b3e6f36cbab6df0a2971a5a1
Depends-On: I940cec6d670df39ac6e2a3559a028acbeee99331

Change-Id: Idc2bb4e31a64502ac6fcdac771d823509dc328e7
Signed-off-by: Daniel Alvarez <dalvarez@redhat.com>
2018-01-12 09:40:06 +00:00
Numan Siddique
42497c886e Define 'NeutronPluginExtensions' in OVN environment files with dns extension
Neutron OVN ML2 driver supports dns extension driver. This patch adds this
in the OVN environment files.

Change-Id: If36ec8a9a139f0a52bb8910c2048cf6e9993c198
2018-01-03 19:08:12 +05:30
Numan Siddique
1e43e5b08f OVN: Provide the option to define NeutronBridgeMappings as a role parameter
In order for a node to provide external connectivity to tenant traffic,
ovn-bridge-mappings should be defined which is read by ovn-controller service.
This value comes from the T-H-T param 'NeutronBridgeMappings'. Presently
this param is defined with the default value "datacentre:br-ex" and is configured
on every node where ovn-controller service is enabled. This would cause problems
if some of the hosts do not provide external connectvity.

To solve this problem, this patch adds 'NeutronBridgeMappings' as a role parameter
so that it can set to empty string if the role doesn't provide external connectivity.

In the OVN environment template files, this param is set to empty for Compute role.

Since NeutronBridgeMappings is also used by neutron-ovs-agent service, this patch
also modifies puppet/services/neutron-ovs-agent.yaml to define NeutronBridgeMappings
as a role parameter.

Change-Id: I6a00b8dc1ff387cc5e1e62b4d9d7da5e1239ee31
Closes-bug: #1730711
2017-11-14 12:19:10 +05:30
Zuul
a47d2bcfd2 Merge "Add trunk service plugin to OVN environment files" 2017-11-09 22:37:30 +00:00
Assaf Muller
fe8551a056 Add trunk service plugin to OVN environment files
Change-Id: I0116168d525d219c1c5a0de1980b0e0162dfbf90
Closes-Bug: #1715087
2017-11-03 05:14:29 +00:00
Numan Siddique
79fd87358a ovn: Remove setting of DockerNeutronApiImage param
tripleo-common sets the DockerNeutronApiImage and DockerNeutronConfigImage
to appropriate neutron ovn image when "openstack image prepare" is called
for OVN deployments.

Closes-bug: #1722543
Change-Id: I26e619488be8bd2ae180969e522879f446753404
2017-10-30 11:24:38 +00:00
Assaf Muller
317ca9c0a9 Remove VXLAN type driver from OVN environment files
ML2/OVN doesn't support VXLAN, it doesn't make sense
to configure it as a Type Driver and may confuse
operators.

Change-Id: I1810663ad57e378f3fd995566262511a03663743
2017-09-07 18:59:49 -04:00
Numan Siddique
444a39f598 Support HA for OVN DBs containers using pacemaker bundle
ovn-dbs pacemaker bundle resources are created for supporting
Master/Slave HA. puppet-tripleo already supports creating
ovn-dbs bundle resources. The heat template added in this patch
makes use of this.

Closes-bug: #1699085
Change-Id: I23c2d312cfb144f9afc14f0982a92670dc29d74c
2017-08-28 06:29:17 +05:30