Some feedback - I made this mostly work with automated template
deployment, but had to include puppet classes and fix some class
references -
I used an ExtraConfig template file to achieve this -
parameters:
NovaComputeExtraConfig:
'neutron::agents::l3::agent_mode': 'dvr'
'neutron::agents::ml2::ovs::enable_distributed_routing': 'True'
'neutron::agents::l3::interface_driver':
'neutron.agent.linux.interface.OVSInterfaceDriver'
compute_classes:
- '::neutron::agents::l3'
- '::neutron::plugins::ml2'
controllerExtraConfig:
'neutron::agents::l3::agent_mode': 'dvr_snat'
'neutron::server::router_distributed': 'True'
'neutron::plugins::ml2::network_vlan_ranges': 'datacentre:3510:3600'
controller_classes:
- '::neutron::plugins::ml2'
and included it with -e
For example a class reference in
/usr/share/openstack-tripleo-heat-templates/puppet/controller.yaml was
not there, so the above template corrects that
>
NeutronDVR:
default: 'False'
description: Whether to configure Neutron Distributed Virtual Routers
type: string
...
neutron_router_distributed: {get_param: NeutronDVR}
...
neutron_router_distributed: {get_input: neutron_router_distributed}
>
I now have other bits to automate to get DVR fully working
- -
1) The class property dvr_base_mac does not exist in
/usr/share/openstack-puppet/modules/neutron/manifests/server.pp, and it
really should as it needs to be set.
2) The metadata_agent.ini file on the compute nodes needs to reference
the metadata server on the controller nodes (and the agent needs to be
running on the compute nodes.)
I will work on these last two steps
Charles
On 24/02/2016 22:24, Charles Short wrote:
Hi,
I am trying to deploy DVR with RDO manager.
I can find template references to DVR in -
/usr/share/openstack-tripleo-heat-templates/puppet/controller.yaml
/usr/share/openstack-tripleo-heat-templates/puppet/compute.yaml
I altered the defaults to enable DVR and deployed the Overcloud
successfully.
Unfortunately the DVR changes I made do not appear in the config files
on the nodes.
Has anyone managed to deploy DVR with RDO Manager?
Thanks
Charles
--
Charles Short
Cloud Engineer
Virtualization and Cloud Team
European Bioinformatics Institute (EMBL-EBI)
Tel: +44 (0)1223 494205