Skip to content

Commit cd1af69

Browse files
Merge pull request #1083 from tosky/uni09iota
Add the uni09iota adoption scenario
2 parents cbac00e + 1dd61ef commit cd1af69

File tree

9 files changed

+509
-0
lines changed

9 files changed

+509
-0
lines changed

scenarios/uni09iota.yaml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
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+
undercloud_parameters_override: "uni09iota/hieradata_overrides_undercloud.yaml"
23+
undercloud_parameters_defaults: "uni09iota/undercloud_parameter_defaults.yaml"
24+
ctlplane_vip: 192.168.122.101
25+
cloud_domain: "example.com"
26+
hostname_groups_map:
27+
# map ansible groups in the inventory to role hostname format for
28+
# 17.1 deployment
29+
osp-computes: "overcloud-compute"
30+
osp-controllers: "overcloud-controller"
31+
roles_groups_map:
32+
# map ansible groups to tripleo Role names
33+
osp-computes: "Compute"
34+
osp-controllers: "Controller"
35+
stacks:
36+
- stackname: "overcloud"
37+
args:
38+
- "--override-ansible-cfg /home/zuul/ansible_config.cfg"
39+
- "--templates /usr/share/openstack-tripleo-heat-templates"
40+
- "--libvirt-type qemu"
41+
- "--timeout 90"
42+
- "--overcloud-ssh-user zuul"
43+
- "--deployed-server"
44+
- "--validation-warnings-fatal"
45+
- "--disable-validations"
46+
- "--heat-type pod"
47+
- "--disable-protected-resource-types"
48+
vars:
49+
- "/usr/share/openstack-tripleo-heat-templates/environments/docker-ha.yaml"
50+
- "/usr/share/openstack-tripleo-heat-templates/environments/podman.yaml"
51+
- "/usr/share/openstack-tripleo-heat-templates/environments/low-memory-usage.yaml"
52+
- "/usr/share/openstack-tripleo-heat-templates/environments/debug.yaml"
53+
- "/usr/share/openstack-tripleo-heat-templates/environments/multipathd.yaml"
54+
- "/usr/share/openstack-tripleo-heat-templates/environments/cinder-pure-config.yaml"
55+
additional_files:
56+
- "uni09iota/multipath_pure.conf"
57+
network_data_file: "uni09iota/network_data.yaml.j2"
58+
vips_data_file: "uni09iota/vips_data.yaml"
59+
roles_file: "uni09iota/roles.yaml"
60+
ceph_osd_spec_file: "uni09iota/osd_spec.yaml"
61+
config_download_file: "uni09iota/config_download.yaml"
62+
stack_nodes:
63+
- osp-computes
64+
- osp-controllers
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
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::ExternalPort: /usr/share/openstack-tripleo-heat-templates/network/ports/deployed_external.yaml
11+
OS::TripleO::Controller::Ports::InternalApiPort: /usr/share/openstack-tripleo-heat-templates/network/ports/deployed_internal_api.yaml
12+
OS::TripleO::Controller::Ports::StoragePort: /usr/share/openstack-tripleo-heat-templates/network/ports/deployed_storage.yaml
13+
OS::TripleO::Controller::Ports::TenantPort: /usr/share/openstack-tripleo-heat-templates/network/ports/deployed_tenant.yaml
14+
OS::TripleO::Services::CeilometerAgentCentral: /usr/share/openstack-tripleo-heat-templates/deployment/ceilometer/ceilometer-agent-central-container-puppet.yaml
15+
OS::TripleO::Services::CeilometerAgentNotification: /usr/share/openstack-tripleo-heat-templates/deployment/ceilometer/ceilometer-agent-notification-container-puppet.yaml
16+
OS::TripleO::Services::CeilometerAgentIpmi: /usr/share/openstack-tripleo-heat-templates/deployment/ceilometer/ceilometer-agent-ipmi-container-puppet.yaml
17+
OS::TripleO::Services::ComputeCeilometerAgent: /usr/share/openstack-tripleo-heat-templates/deployment/ceilometer/ceilometer-agent-compute-container-puppet.yaml
18+
OS::TripleO::Services::Collectd: /usr/share/openstack-tripleo-heat-templates/deployment/metrics/collectd-container-puppet.yaml
19+
OS::TripleO::Services::MetricsQdr: /usr/share/openstack-tripleo-heat-templates/deployment/metrics/qdr-container-puppet.yaml
20+
OS::TripleO::Services::OsloMessagingRpc: /usr/share/openstack-tripleo-heat-templates/deployment/rabbitmq/rabbitmq-messaging-rpc-pacemaker-puppet.yaml
21+
OS::TripleO::Services::OsloMessagingNotify: /usr/share/openstack-tripleo-heat-templates/deployment/rabbitmq/rabbitmq-messaging-notify-shared-puppet.yaml
22+
OS::TripleO::Services::HAproxy: /usr/share/openstack-tripleo-heat-templates/deployment/haproxy/haproxy-pacemaker-puppet.yaml
23+
OS::TripleO::Services::Pacemaker: /usr/share/openstack-tripleo-heat-templates/deployment/pacemaker/pacemaker-baremetal-puppet.yaml
24+
OS::TripleO::Services::PacemakerRemote: /usr/share/openstack-tripleo-heat-templates/deployment/pacemaker/pacemaker-remote-baremetal-puppet.yaml
25+
OS::TripleO::Services::Clustercheck: /usr/share/openstack-tripleo-heat-templates/deployment/pacemaker/clustercheck-container-puppet.yaml
26+
OS::TripleO::Services::Redis: /usr/share/openstack-tripleo-heat-templates/deployment/database/redis-pacemaker-puppet.yaml
27+
OS::TripleO::Services::Rsyslog: /usr/share/openstack-tripleo-heat-templates/deployment/logging/rsyslog-container-puppet.yaml
28+
OS::TripleO::Services::MySQL: /usr/share/openstack-tripleo-heat-templates/deployment/database/mysql-pacemaker-puppet.yaml
29+
OS::TripleO::Services::CinderBackup: /usr/share/openstack-tripleo-heat-templates/deployment/cinder/cinder-backup-container-puppet.yaml
30+
OS::TripleO::Services::CinderVolume: /usr/share/openstack-tripleo-heat-templates/deployment/cinder/cinder-volume-pacemaker-puppet.yaml
31+
OS::TripleO::Services::HeatApi: /usr/share/openstack-tripleo-heat-templates/deployment/heat/heat-api-container-puppet.yaml
32+
OS::TripleO::Services::HeatApiCfn: /usr/share/openstack-tripleo-heat-templates/deployment/heat/heat-api-cfn-container-puppet.yaml
33+
OS::TripleO::Services::HeatApiCloudwatch: /usr/share/openstack-tripleo-heat-templates/deployment/heat/heat-api-cloudwatch-disabled-puppet.yaml
34+
OS::TripleO::Services::HeatEngine: /usr/share/openstack-tripleo-heat-templates/deployment/heat/heat-engine-container-puppet.yaml
35+
parameter_defaults:
36+
RedisVirtualFixedIPs:
37+
- ip_address: 192.168.122.110
38+
use_neutron: false
39+
OVNDBsVirtualFixedIPs:
40+
- ip_address: 192.168.122.111
41+
use_neutron: false
42+
ControllerExtraConfig:
43+
nova::compute::libvirt::services::libvirt_virt_type: qemu
44+
nova::compute::libvirt::virt_type: qemu
45+
ComputeExtraConfig:
46+
nova::compute::libvirt::services::libvirt_virt_type: qemu
47+
nova::compute::libvirt::virt_type: qemu
48+
BarbicanSimpleCryptoGlobalDefault: true
49+
Debug: true
50+
DockerPuppetDebug: true
51+
ContainerCli: podman
52+
ControllerCount: 1
53+
ComputeCount: 2
54+
NeutronGlobalPhysnetMtu: 1350
55+
CloudName: overcloud.example.com
56+
CloudNameInternal: overcloud.internalapi.example.com
57+
CloudNameStorage: overcloud.storage.example.com
58+
CloudNameStorageManagement: overcloud.storagemgmt.example.com
59+
CloudNameCtlplane: overcloud.ctlplane.example.com
60+
CloudDomain: example.com
61+
NetworkConfigWithAnsible: false
62+
ControllerHostnameFormat: '%stackname%-controller-%index%'
63+
ComputeHostnameFormat: '%stackname%-compute-%index%'
64+
CtlplaneNetworkAttributes:
65+
network:
66+
dns_domain: example.com
67+
mtu: 1500
68+
name: ctlplane
69+
tags:
70+
- 192.168.122.0/24
71+
subnets:
72+
ctlplane-subnet:
73+
cidr: 192.168.122.0/24
74+
dns_nameservers: 192.168.122.10
75+
gateway_ip: 192.168.122.10
76+
host_routes: []
77+
name: ctlplane-subnet
78+
ip_version: 4
79+
GlanceBackend: 'cinder'
80+
CinderBackupBackend: 'swift'
81+
MultipathdCustomConfigFile: /home/zuul/multipath_pure.conf
82+
ExtraConfig:
83+
cinder::config::cinder_config:
84+
backend_defaults/use_multipath_for_image_xfer:
85+
value: true
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: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# source: https://pure-storage-openstack-docs.readthedocs.io/en/latest/cinder/configuration/cinder_config_files/section_rhosp171_director_flasharray_configuration.html#prepare-the-environment-files
2+
defaults {
3+
polling_interval 10
4+
skip_kpartx yes
5+
user_friendly_names no
6+
find_multipaths yes
7+
}
8+
devices {
9+
device {
10+
vendor "PURE"
11+
product "FlashArray"
12+
path_selector "service-time 0"
13+
hardware_handler "1 alua"
14+
path_grouping_policy group_by_prio
15+
prio alua
16+
failback immediate
17+
path_checker tur
18+
fast_io_fail_tmo 10
19+
no_path_retry 0
20+
features 0
21+
dev_loss_tmo 600
22+
}
23+
}
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
- name: Storage
3+
mtu: 1500
4+
vip: true
5+
name_lower: storage
6+
dns_domain: storage.{{ cloud_domain }}.
7+
service_net_map_replace: storage
8+
subnets:
9+
storage_subnet:
10+
vlan: 21
11+
ip_subnet: '172.18.0.0/24'
12+
allocation_pools: [{'start': '172.18.0.120', 'end': '172.18.0.250'}]
13+
14+
- name: InternalApi
15+
mtu: 1500
16+
vip: true
17+
name_lower: internal_api
18+
dns_domain: internal-api.{{ cloud_domain }}.
19+
service_net_map_replace: internal_api
20+
subnets:
21+
internal_api_subnet:
22+
vlan: 20
23+
ip_subnet: '172.17.0.0/24'
24+
allocation_pools: [{'start': '172.17.0.120', 'end': '172.17.0.250'}]
25+
26+
- name: Tenant
27+
mtu: 1500
28+
vip: false # Tenant network does not use VIPs
29+
name_lower: tenant
30+
dns_domain: tenant.{{ cloud_domain }}.
31+
service_net_map_replace: tenant
32+
subnets:
33+
tenant_subnet:
34+
vlan: 22
35+
ip_subnet: '172.19.0.0/24'
36+
allocation_pools: [{'start': '172.19.0.120', 'end': '172.19.0.250'}]
37+
38+
- name: External
39+
mtu: 1500
40+
vip: true
41+
name_lower: external
42+
dns_domain: external.{{ cloud_domain }}.
43+
service_net_map_replace: external
44+
subnets:
45+
external_subnet:
46+
vlan: 44
47+
ip_subnet: '10.0.0.0/24'
48+
allocation_pools: [{'start': '10.0.0.150', 'end': '10.0.0.250'}]

scenarios/uni09iota/osd_spec.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
data_devices:
3+
all: true

0 commit comments

Comments
 (0)