Skip to content

Commit 920d741

Browse files
Merge pull request #946 from fyanac/osp_unideltaipv6
Add unideltaipv6 scenario 17.1 for adoption
2 parents 673bf72 + 888954d commit 920d741

File tree

7 files changed

+523
-0
lines changed

7 files changed

+523
-0
lines changed

scenarios/uni04delta-ipv6.yaml

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
---
2+
undercloud:
3+
config:
4+
- section: DEFAULT
5+
option: undercloud_hostname
6+
value: undercloud.example.com
7+
- section: DEFAULT
8+
option: undercloud_timezone
9+
value: UTC
10+
- section: DEFAULT
11+
option: undercloud_debug
12+
value: true
13+
- section: DEFAULT
14+
option: container_cli
15+
value: podman
16+
- section: DEFAULT
17+
option: undercloud_enable_selinux
18+
value: false
19+
- section: DEFAULT
20+
option: generate_service_certificate
21+
value: false
22+
- section: DEFAULT
23+
option: ipv6_address_mode
24+
value: dhcpv6-stateful
25+
- section: DEFAULT
26+
option: enable_routed_networks
27+
value: true
28+
29+
undercloud_parameters_override: "uni04delta-ipv6/hieradata_overrides_undercloud.yaml"
30+
undercloud_parameters_defaults: "uni04delta-ipv6/undercloud_parameter_defaults.yaml"
31+
ctlplane_vip: 2620:cf:cf:aaaa::98
32+
33+
cloud_domain: "example.com"
34+
hostname_groups_map:
35+
# map ansible groups in the inventory to role hostname format for
36+
# 17.1 deployment
37+
osp-computes: "overcloud-compute"
38+
osp-controllers: "overcloud-controller"
39+
roles_groups_map:
40+
# map ansible groups to tripleo Role names
41+
osp-computes: "Compute"
42+
osp-controllers: "Controller"
43+
stacks:
44+
- stackname: "overcloud"
45+
args:
46+
- "--override-ansible-cfg /home/zuul/ansible_config.cfg"
47+
- "--templates /usr/share/openstack-tripleo-heat-templates"
48+
- "--libvirt-type qemu"
49+
- "--timeout 90"
50+
- "--overcloud-ssh-user zuul"
51+
- "--deployed-server"
52+
- "--validation-warnings-fatal"
53+
- "--disable-validations"
54+
- "--heat-type pod"
55+
- "--disable-protected-resource-types"
56+
vars:
57+
- "/usr/share/openstack-tripleo-heat-templates/environments/docker-ha.yaml"
58+
- "/usr/share/openstack-tripleo-heat-templates/environments/podman.yaml"
59+
- "/usr/share/openstack-tripleo-heat-templates/environments/low-memory-usage.yaml"
60+
- "/usr/share/openstack-tripleo-heat-templates/environments/debug.yaml"
61+
- "/usr/share/openstack-tripleo-heat-templates/environments/enable-legacy-telemetry.yaml"
62+
- "/usr/share/openstack-tripleo-heat-templates/environments/services/barbican.yaml"
63+
- "/usr/share/openstack-tripleo-heat-templates/environments/barbican-backend-simple-crypto.yaml"
64+
network_data_file: "uni04delta-ipv6/network_data.yaml.j2"
65+
vips_data_file: "uni04delta-ipv6/vips_data.yaml"
66+
roles_file: "uni04delta-ipv6/roles.yaml"
67+
config_download_file: "uni04delta-ipv6/config_download.yaml"
68+
stack_nodes:
69+
- osp-computes
70+
- osp-controllers
Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
---
2+
resource_registry:
3+
# yamllint disable rule:line-length
4+
OS::TripleO::DeployedServer::ControlPlanePort: /usr/share/openstack-tripleo-heat-templates/deployed-server/deployed-neutron-port.yaml
5+
OS::TripleO::OVNMacAddressNetwork: OS::Heat::None
6+
OS::TripleO::OVNMacAddressPort: OS::Heat::None
7+
OS::TripleO::Compute::Ports::InternalApiPort: /usr/share/openstack-tripleo-heat-templates/network/ports/deployed_internal_api.yaml
8+
OS::TripleO::Compute::Ports::StoragePort: /usr/share/openstack-tripleo-heat-templates/network/ports/deployed_storage.yaml
9+
OS::TripleO::Compute::Ports::TenantPort: /usr/share/openstack-tripleo-heat-templates/network/ports/deployed_tenant.yaml
10+
OS::TripleO::Controller::Ports::InternalApiPort: /usr/share/openstack-tripleo-heat-templates/network/ports/deployed_internal_api.yaml
11+
OS::TripleO::Controller::Ports::StoragePort: /usr/share/openstack-tripleo-heat-templates/network/ports/deployed_storage.yaml
12+
OS::TripleO::Controller::Ports::TenantPort: /usr/share/openstack-tripleo-heat-templates/network/ports/deployed_tenant.yaml
13+
OS::TripleO::Services::CeilometerAgentCentral: /usr/share/openstack-tripleo-heat-templates/deployment/ceilometer/ceilometer-agent-central-container-puppet.yaml
14+
OS::TripleO::Services::CeilometerAgentNotification: /usr/share/openstack-tripleo-heat-templates/deployment/ceilometer/ceilometer-agent-notification-container-puppet.yaml
15+
OS::TripleO::Services::CeilometerAgentIpmi: /usr/share/openstack-tripleo-heat-templates/deployment/ceilometer/ceilometer-agent-ipmi-container-puppet.yaml
16+
OS::TripleO::Services::ComputeCeilometerAgent: /usr/share/openstack-tripleo-heat-templates/deployment/ceilometer/ceilometer-agent-compute-container-puppet.yaml
17+
OS::TripleO::Services::Collectd: /usr/share/openstack-tripleo-heat-templates/deployment/metrics/collectd-container-puppet.yaml
18+
OS::TripleO::Services::MetricsQdr: /usr/share/openstack-tripleo-heat-templates/deployment/metrics/qdr-container-puppet.yaml
19+
OS::TripleO::Services::OsloMessagingRpc: /usr/share/openstack-tripleo-heat-templates/deployment/rabbitmq/rabbitmq-messaging-rpc-pacemaker-puppet.yaml
20+
OS::TripleO::Services::OsloMessagingNotify: /usr/share/openstack-tripleo-heat-templates/deployment/rabbitmq/rabbitmq-messaging-notify-shared-puppet.yaml
21+
OS::TripleO::Services::HAproxy: /usr/share/openstack-tripleo-heat-templates/deployment/haproxy/haproxy-pacemaker-puppet.yaml
22+
OS::TripleO::Services::Pacemaker: /usr/share/openstack-tripleo-heat-templates/deployment/pacemaker/pacemaker-baremetal-puppet.yaml
23+
OS::TripleO::Services::PacemakerRemote: /usr/share/openstack-tripleo-heat-templates/deployment/pacemaker/pacemaker-remote-baremetal-puppet.yaml
24+
OS::TripleO::Services::Clustercheck: /usr/share/openstack-tripleo-heat-templates/deployment/pacemaker/clustercheck-container-puppet.yaml
25+
OS::TripleO::Services::Redis: /usr/share/openstack-tripleo-heat-templates/deployment/database/redis-pacemaker-puppet.yaml
26+
OS::TripleO::Services::Rsyslog: /usr/share/openstack-tripleo-heat-templates/deployment/logging/rsyslog-container-puppet.yaml
27+
OS::TripleO::Services::MySQL: /usr/share/openstack-tripleo-heat-templates/deployment/database/mysql-pacemaker-puppet.yaml
28+
OS::TripleO::Services::CinderBackup: /usr/share/openstack-tripleo-heat-templates/deployment/cinder/cinder-backup-pacemaker-puppet.yaml
29+
OS::TripleO::Services::CinderVolume: /usr/share/openstack-tripleo-heat-templates/deployment/cinder/cinder-volume-pacemaker-puppet.yaml
30+
OS::TripleO::Services::HeatApi: /usr/share/openstack-tripleo-heat-templates/deployment/heat/heat-api-container-puppet.yaml
31+
OS::TripleO::Services::HeatApiCfn: /usr/share/openstack-tripleo-heat-templates/deployment/heat/heat-api-cfn-container-puppet.yaml
32+
OS::TripleO::Services::HeatApiCloudwatch: /usr/share/openstack-tripleo-heat-templates/deployment/heat/heat-api-cloudwatch-disabled-puppet.yaml
33+
OS::TripleO::Services::HeatEngine: /usr/share/openstack-tripleo-heat-templates/deployment/heat/heat-engine-container-puppet.yaml
34+
parameter_defaults:
35+
RedisVirtualFixedIPs:
36+
- ip_address: 2620:cf:cf:aaaa::82
37+
use_neutron: false
38+
OVNDBsVirtualFixedIPs:
39+
- ip_address: 2620:cf:cf:aaaa::83
40+
use_neutron: false
41+
ControllerExtraConfig:
42+
nova::compute::libvirt::services::libvirt_virt_type: qemu
43+
nova::compute::libvirt::virt_type: qemu
44+
ComputeExtraConfig:
45+
nova::compute::libvirt::services::libvirt_virt_type: qemu
46+
nova::compute::libvirt::virt_type: qemu
47+
ExtraConfig:
48+
neutron::notification_driver: 'noop'
49+
BarbicanSimpleCryptoGlobalDefault: true
50+
Debug: true
51+
DockerPuppetDebug: true
52+
ContainerCli: podman
53+
ControllerCount: 3
54+
ComputeCount: 2
55+
NeutronGlobalPhysnetMtu: 1500
56+
CinderLVMLoopDeviceSize: 20480
57+
CloudName: overcloud.example.com
58+
CloudNameInternal: overcloud.internalapi.example.com
59+
CloudNameStorage: overcloud.storage.example.com
60+
CloudNameStorageManagement: overcloud.storagemgmt.example.com
61+
CloudNameCtlplane: overcloud.ctlplane.example.com
62+
CloudDomain: example.com
63+
NetworkConfigWithAnsible: false
64+
ControllerHostnameFormat: '%stackname%-controller-%index%'
65+
ComputeHostnameFormat: '%stackname%-compute-%index%'
66+
EnableVLANTransparency: true
67+
NeutronServicePlugins: 'qos,ovn-router,trunk,segments,log'
68+
NeutronEnableIgmpSnooping: true
69+
OVNEmitNeedToFrag: false
70+
NeutronNetworkVLANRanges: 'datacentre:1000:2000'
71+
NeutronTypeDrivers: 'geneve,vlan,flat,local'
72+
NeutronNetworkType: 'vlan,flat'
73+
NeutronDnsDomain: 'example.com'
74+
NeutronRouterSchedulerDriver: 'neutron.scheduler.l3_agent_scheduler.ChanceScheduler'
75+
NeutronEnableDVR: true
76+
CtlplaneNetworkAttributes:
77+
network:
78+
dns_domain: example.com
79+
mtu: 1500
80+
name: ctlplane
81+
tags:
82+
- 2620:cf:cf:aaaa::/64
83+
subnets:
84+
ctlplane-subnet:
85+
cidr: 2620:cf:cf:aaaa::/64
86+
dns_nameservers: 2620:cf:cf:aaaa::1
87+
gateway_ip: 2620:cf:cf:aaaa::1
88+
host_routes: []
89+
name: ctlplane-subnet
90+
ip_version: 6
91+
NeutronBridgeMappings:
92+
- datacentre:br-ex
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
parameter_defaults:
3+
UndercloudExtraConfig: {}
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
---
2+
- name: Storage
3+
mtu: 1500
4+
vip: true
5+
ipv6: true
6+
name_lower: storage
7+
dns_domain: storage.{{ cloud_domain }}.
8+
service_net_map_replace: storage
9+
subnets:
10+
storage_subnet:
11+
vlan: 21
12+
ipv6_subnet: '2620:cf:cf:cccc::/64'
13+
ipv6_allocation_pools: [{'start': '2620:cf:cf:cccc::100', 'end': '2620:cf:cf:cccc::250'}]
14+
15+
- name: InternalApi
16+
mtu: 1500
17+
vip: true
18+
ipv6: true
19+
name_lower: internal_api
20+
dns_domain: internal-api.{{ cloud_domain }}.
21+
service_net_map_replace: internal_api
22+
subnets:
23+
internal_api_subnet:
24+
vlan: 20
25+
ipv6_subnet: '2620:cf:cf:bbbb::/64'
26+
ipv6_allocation_pools: [{'start': '2620:cf:cf:bbbb::100', 'end': '2620:cf:cf:bbbb::250'}]
27+
28+
- name: Tenant
29+
mtu: 1500
30+
vip: false # Tenant network does not use VIPs
31+
ipv6: true
32+
name_lower: tenant
33+
dns_domain: tenant.{{ cloud_domain }}.
34+
service_net_map_replace: tenant
35+
subnets:
36+
tenant_subnet:
37+
vlan: 22
38+
ipv6_subnet: '2620:cf:cf:eeee::/64'
39+
ipv6_allocation_pools: [{'start': '2620:cf:cf:eeee::100', 'end': '2620:cf:cf:eeee::250'}]
40+
41+
- name: External
42+
mtu: 1500
43+
vip: true
44+
ipv6: true
45+
name_lower: external
46+
dns_domain: external.{{ cloud_domain }}.
47+
service_net_map_replace: external
48+
subnets:
49+
external_subnet:
50+
ipv6_subnet: '2620:cf:cf:cf02::/64'
51+
ipv6_allocation_pools: [{'start': '2620:cf:cf:cf02::130', 'end': '2620:cf:cf:cf02::250'}]
52+
53+
- name: Ironic
54+
mtu: 1500
55+
vip: true
56+
ipv6: true
57+
name_lower: ironic
58+
dns_domain: ironic.{{ cloud_domain }}.
59+
subnets:
60+
ironic_subnet:
61+
ipv6_subnet: 2620:cf:cf:ffff::/64
62+
ipv6_allocation_pools: [{'start': '2620:cf:cf:ffff::30', 'end': '2620:cf:cf:ffff::70'}]
63+
64+
- name: StorageMgmt
65+
mtu: 1500
66+
vip: true
67+
ipv6: true
68+
name_lower: storagemgmt
69+
dns_domain: storagemgmt.{{ cloud_domain }}.
70+
subnets:
71+
storage_mgmt_subnet:
72+
vlan: 23
73+
ipv6_subnet: "2620:cf:cf:dddd::/64"
74+
ipv6_allocation_pools: [{'start': '2620:cf:cf:dddd::100', 'end': '2620:cf:cf:dddd::250'}]

0 commit comments

Comments
 (0)