Support containerized DVR in compute role

This patch adds the required parameters to the Compute role so the
agents are configured properly on upgrade.

Related-Bug: #1774199
Change-Id: Iab42ae0fb13e8e92cc9903432a95e04a94a5913c
This commit is contained in:
Brent Eagles 2018-05-29 10:10:58 -02:30
parent 8ad7ce315b
commit f51f84e781
2 changed files with 16 additions and 10 deletions

View File

@ -2,20 +2,16 @@
# This works by configuring L3 and Metadata agents on the
# compute nodes.
resource_registry:
# FIXME(bogdando): switch it, once it is containerized
OS::TripleO::Services::ComputeNeutronL3Agent: ../puppet/services/neutron-l3-compute-dvr.yaml
OS::TripleO::Services::ComputeNeutronL3Agent: ../docker/services/neutron-l3.yaml
OS::TripleO::Services::ComputeNeutronMetadataAgent: ../docker/services/neutron-metadata.yaml
# With DVR enabled, the Compute nodes also need the br-ex bridge to be
# connected to a physical network.
# With using default template values, the Compute nodes also need the br-ex
# bridge to be connected to a physical network.
OS::TripleO::Compute::Net::SoftwareConfig: ../net-config-bridge.yaml
# DVR requires a port on the external network for each compute node.
# This will usually match the one currently in use for
# OS::TripleO::Controller::Ports::ExternalPort.
# Please review your network configuration before deploying to ensure that
# this is appropriate.
OS::TripleO::Compute::Ports::ExternalPort: ../network/ports/noop.yaml
# When using defaults, DVR requires access to the External API network
# for floating IP access. Please check your configuration to ensure that
# networks are configured appropriately.
parameter_defaults:
@ -43,3 +39,6 @@ parameter_defaults:
# routers and is an example value *only* and should be reviewed and modified
# if necessary before deploying.
NovaReservedHostMemory: 2560
ComputeParameters:
NeutronL3AgentMode: 'dvr'

View File

@ -0,0 +1,7 @@
---
upgrade:
- |
Upgrading DVR deployments may require customization of the Compute role if
they depend on the overcloud's external API network for floating IP
connectivity. If necessary, please add "External" to the list of
networks for the Compute role in roles_data.yaml before upgrading.