Map NetworkConfig resource to net-config-noop.yaml

This maps undercloud and standalone NetworkConfig resources to
net-config-noop.yaml

Also changes the standalone to actually use ansible for config
generation which was missed in https://review.opendev.org/752368
with env generation.

Change-Id: Ia8e3bec4a64c8317e0b6996c1b7e587789311ad2
This commit is contained in:
Rabi Mishra 2020-09-29 16:30:05 +05:30
parent d02f9f1004
commit be06f959cd
4 changed files with 22 additions and 9 deletions

View File

@ -42,6 +42,14 @@ parameter_defaults:
# Type: string
StandaloneHostnameFormat: '%stackname%-standalone-%index%'
# Standalone NetworkConfigTemplate
# Type: string
StandaloneNetworkConfigTemplate: templates/net_config_bridge.j2
# Standalone NetworkConfig with ansible flag
# Type: boolean
StandaloneNetworkConfigWithAnsible: True
# How many replicas to use in the swift rings.
# Type: number
SwiftReplicas: 1
@ -97,4 +105,4 @@ resource_registry:
OS::TripleO::Services::SaharaApi: OS::Heat::None
OS::TripleO::Services::SaharaEngine: OS::Heat::None
OS::TripleO::Services::Zaqar: OS::Heat::None
OS::TripleO::Standalone::Net::SoftwareConfig: ../../net-config-bridge.yaml
OS::TripleO::Standalone::Net::SoftwareConfig: ../../net-config-noop.yaml

View File

@ -54,11 +54,11 @@ parameter_defaults:
# Standalone NetworkConfigTemplate
# Type: string
StandaloneNetworkConfigTemplate: ''
StandaloneNetworkConfigTemplate: templates/standalone.j2
# Standalone NetworkConfig with ansible flag
# Type: boolean
StandaloneNetworkConfigWithAnsible: False
StandaloneNetworkConfigWithAnsible: True
# How many replicas to use in the swift rings.
# Type: number
@ -127,4 +127,4 @@ resource_registry:
OS::TripleO::Services::SaharaEngine: OS::Heat::None
OS::TripleO::Services::Tmpwatch: ../../deployment/logrotate/tmpwatch-install.yaml
OS::TripleO::Services::Zaqar: OS::Heat::None
OS::TripleO::Standalone::Net::SoftwareConfig: ../../net-config-standalone.yaml
OS::TripleO::Standalone::Net::SoftwareConfig: ../../net-config-noop.yaml

View File

@ -7,7 +7,7 @@ resource_registry:
OS::TripleO::Network::Ports::RedisVipPort: ../network/ports/noop.yaml
OS::TripleO::Network::Ports::OVNDBsVipPort: ../network/ports/noop.yaml
OS::TripleO::Network::Ports::ControlPlaneVipPort: ../deployed-server/deployed-neutron-port.yaml
OS::TripleO::Undercloud::Net::SoftwareConfig: ../net-config-undercloud.yaml
OS::TripleO::Undercloud::Net::SoftwareConfig: ../net-config-noop.yaml
OS::TripleO::NodeExtraConfigPost: ../extraconfig/post_deploy/undercloud_post.yaml
OS::TripleO::Services::DockerRegistry: ../deployment/image-serve/image-serve-baremetal-ansible.yaml
OS::TripleO::Services::ContainerImagePrepare: ../deployment/container-image-prepare/container-image-prepare-baremetal-ansible.yaml

View File

@ -58,15 +58,15 @@ environments:
EnablePackageInstall: true
SwiftReplicas: 1
SshFirewallAllowAll: true
StandaloneNetworkConfigWithAnsible: false
StandaloneNetworkConfigTemplate: ''
StandaloneNetworkConfigWithAnsible: True
StandaloneNetworkConfigTemplate: templates/standalone.j2
resource_registry:
# this network config is assumed by the tripleo deploy command
OS::TripleO::Network::Ports::RedisVipPort: ../../network/ports/noop.yaml
OS::TripleO::Network::Ports::OVNDBsVipPort: ../../network/ports/noop.yaml
OS::TripleO::Network::Ports::ControlPlaneVipPort: ../../deployed-server/deployed-neutron-port.yaml
OS::TripleO::Standalone::Net::SoftwareConfig: ../../net-config-standalone.yaml
OS::TripleO::Standalone::Net::SoftwareConfig: ../../net-config-noop.yaml
# OVN
OS::TripleO::Services::OVNDBs: ../../deployment/ovn/ovn-dbs-pacemaker-puppet.yaml
@ -186,6 +186,8 @@ environments:
- StandaloneHostnameFormat
- StandaloneCount
- OvercloudStandaloneFlavor
- StandaloneNetworkConfigWithAnsible
- StandaloneNetworkConfigTemplate
overcloud.yaml:
parameters:
- DnsServers
@ -193,8 +195,11 @@ environments:
StandaloneCount: 1
OvercloudStandaloneFlavor: standalone
SwiftReplicas: 1
StandaloneNetworkConfigWithAnsible: True
StandaloneNetworkConfigTemplate: templates/net_config_bridge.j2
resource_registry:
OS::TripleO::Standalone::Net::SoftwareConfig: ../../net-config-bridge.yaml
OS::TripleO::Standalone::Net::SoftwareConfig: ../../net-config-noop.yaml
OS::TripleO::Services::OpenStackClients: ../../deployment/clients/openstack-clients-baremetal-ansible.yaml