Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 61 additions & 0 deletions scenarios/sriov.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
---
undercloud:
config:
- section: DEFAULT
option: undercloud_hostname
value: undercloud.localdomain
- section: DEFAULT
option: undercloud_timezone
value: UTC
- section: DEFAULT
option: undercloud_debug
value: true
- section: DEFAULT
option: container_cli
value: podman
- section: DEFAULT
option: undercloud_enable_selinux
value: false
- section: DEFAULT
option: generate_service_certificate
value: false
undercloud_parameters_override: "sriov/hieradata_overrides_undercloud.yaml"
undercloud_parameters_defaults: "sriov/undercloud_parameter_defaults.yaml"
ctlplane_vip: 192.168.122.101
cloud_domain: "localdomain"
hostname_groups_map:
# map ansible groups in the inventory to role hostname format for
# 17.1 deployment
osp-computes: "overcloud-compute"
osp-controllers: "overcloud-controller"
roles_groups_map:
# map ansible groups to tripleo Role names
osp-computes: "Compute"
osp-controllers: "Controller"
stacks:
- stackname: "overcloud"
args:
- "--override-ansible-cfg /home/zuul/ansible_config.cfg"
- "--templates /usr/share/openstack-tripleo-heat-templates"
- "--libvirt-type qemu"
- "--timeout 100"
- "--overcloud-ssh-user zuul"
- "--deployed-server"
- "--validation-warnings-fatal"
- "--disable-validations"
- "--heat-type pod"
- "--disable-protected-resource-types"
vars:
- "/usr/share/openstack-tripleo-heat-templates/environments/services/neutron-ovn-ha.yaml"
- "/usr/share/openstack-tripleo-heat-templates/environments/services/neutron-ovn-sriov.yaml"
- "/usr/share/openstack-tripleo-heat-templates/environments/docker-ha.yaml"
- "/usr/share/openstack-tripleo-heat-templates/environments/podman.yaml"
- "/usr/share/openstack-tripleo-heat-templates/environments/debug.yaml"
- "/usr/share/openstack-tripleo-heat-templates/environments/enable-legacy-telemetry.yaml"
network_data_file: "sriov/network_data.yaml.j2"
vips_data_file: "sriov/vips_data.yaml"
roles_file: "sriov/roles.yaml"
config_download_file: "sriov/config_download.yaml"
stack_nodes:
- osp-controllers

83 changes: 83 additions & 0 deletions scenarios/sriov/config_download.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
---
resource_registry:
# yamllint disable rule:line-length
OS::TripleO::DeployedServer::ControlPlanePort: /usr/share/openstack-tripleo-heat-templates/deployed-server/deployed-neutron-port.yaml
OS::TripleO::OVNMacAddressNetwork: OS::Heat::None
OS::TripleO::OVNMacAddressPort: OS::Heat::None
OS::TripleO::Compute::Ports::InternalApiPort: /usr/share/openstack-tripleo-heat-templates/network/ports/deployed_internal_api.yaml
OS::TripleO::Compute::Ports::StoragePort: /usr/share/openstack-tripleo-heat-templates/network/ports/deployed_storage.yaml
OS::TripleO::Compute::Ports::TenantPort: /usr/share/openstack-tripleo-heat-templates/network/ports/deployed_tenant.yaml
OS::TripleO::Controller::Ports::ExternalPort: /usr/share/openstack-tripleo-heat-templates/network/ports/deployed_external.yaml
OS::TripleO::Controller::Ports::InternalApiPort: /usr/share/openstack-tripleo-heat-templates/network/ports/deployed_internal_api.yaml
OS::TripleO::Controller::Ports::StoragePort: /usr/share/openstack-tripleo-heat-templates/network/ports/deployed_storage.yaml
OS::TripleO::Controller::Ports::TenantPort: /usr/share/openstack-tripleo-heat-templates/network/ports/deployed_tenant.yaml
OS::TripleO::Services::CeilometerAgentCentral: /usr/share/openstack-tripleo-heat-templates/deployment/ceilometer/ceilometer-agent-central-container-puppet.yaml
OS::TripleO::Services::CeilometerAgentNotification: /usr/share/openstack-tripleo-heat-templates/deployment/ceilometer/ceilometer-agent-notification-container-puppet.yaml
OS::TripleO::Services::CeilometerAgentIpmi: /usr/share/openstack-tripleo-heat-templates/deployment/ceilometer/ceilometer-agent-ipmi-container-puppet.yaml
OS::TripleO::Services::ComputeCeilometerAgent: /usr/share/openstack-tripleo-heat-templates/deployment/ceilometer/ceilometer-agent-compute-container-puppet.yaml
OS::TripleO::Services::Collectd: /usr/share/openstack-tripleo-heat-templates/deployment/metrics/collectd-container-puppet.yaml
OS::TripleO::Services::MetricsQdr: /usr/share/openstack-tripleo-heat-templates/deployment/metrics/qdr-container-puppet.yaml
OS::TripleO::Services::OsloMessagingRpc: /usr/share/openstack-tripleo-heat-templates/deployment/rabbitmq/rabbitmq-messaging-rpc-pacemaker-puppet.yaml
OS::TripleO::Services::OsloMessagingNotify: /usr/share/openstack-tripleo-heat-templates/deployment/rabbitmq/rabbitmq-messaging-notify-shared-puppet.yaml
OS::TripleO::Services::HAproxy: /usr/share/openstack-tripleo-heat-templates/deployment/haproxy/haproxy-pacemaker-puppet.yaml
OS::TripleO::Services::Pacemaker: /usr/share/openstack-tripleo-heat-templates/deployment/pacemaker/pacemaker-baremetal-puppet.yaml
OS::TripleO::Services::PacemakerRemote: /usr/share/openstack-tripleo-heat-templates/deployment/pacemaker/pacemaker-remote-baremetal-puppet.yaml
OS::TripleO::Services::Clustercheck: /usr/share/openstack-tripleo-heat-templates/deployment/pacemaker/clustercheck-container-puppet.yaml
OS::TripleO::Services::Redis: /usr/share/openstack-tripleo-heat-templates/deployment/database/redis-pacemaker-puppet.yaml
OS::TripleO::Services::Rsyslog: /usr/share/openstack-tripleo-heat-templates/deployment/logging/rsyslog-container-puppet.yaml
OS::TripleO::Services::MySQL: /usr/share/openstack-tripleo-heat-templates/deployment/database/mysql-pacemaker-puppet.yaml
OS::TripleO::Services::CinderBackup: /usr/share/openstack-tripleo-heat-templates/deployment/cinder/cinder-backup-pacemaker-puppet.yaml
OS::TripleO::Services::CinderVolume: /usr/share/openstack-tripleo-heat-templates/deployment/cinder/cinder-volume-pacemaker-puppet.yaml
OS::TripleO::Services::HeatApi: /usr/share/openstack-tripleo-heat-templates/deployment/heat/heat-api-container-puppet.yaml
OS::TripleO::Services::HeatApiCfn: /usr/share/openstack-tripleo-heat-templates/deployment/heat/heat-api-cfn-container-puppet.yaml
OS::TripleO::Services::HeatApiCloudwatch: /usr/share/openstack-tripleo-heat-templates/deployment/heat/heat-api-cloudwatch-disabled-puppet.yaml
OS::TripleO::Services::HeatEngine: /usr/share/openstack-tripleo-heat-templates/deployment/heat/heat-engine-container-puppet.yaml
OS::TripleO::Controller::Net::SoftwareConfig: OS::Heat::None
OS::TripleO::ComputeSriov::Net::SoftwareConfig: OS::Heat::None
parameter_defaults:
RedisVirtualFixedIPs:
- ip_address: 192.168.122.110
use_neutron: false
OVNDBsVirtualFixedIPs:
- ip_address: 192.168.122.111
use_neutron: false
ControllerExtraConfig:
nova::compute::libvirt::services::libvirt_virt_type: qemu
nova::compute::libvirt::virt_type: qemu
ComputeExtraConfig:
nova::compute::libvirt::services::libvirt_virt_type: qemu
nova::compute::libvirt::virt_type: qemu
Debug: true
DockerPuppetDebug: true
ContainerCli: podman
ControllerCount: 3
ComputeCount: 2
NeutronGlobalPhysnetMtu: 1350
CinderLVMLoopDeviceSize: 20480
CloudName: overcloud.example.com
CloudNameInternal: overcloud.internalapi.example.com
CloudNameStorage: overcloud.storage.example.com
CloudNameStorageManagement: overcloud.storagemgmt.example.com
CloudNameCtlplane: overcloud.ctlplane.example.com
CloudDomain: example.com
NetworkConfigWithAnsible: false
ControllerHostnameFormat: '%stackname%-controller-%index%'
ComputeHostnameFormat: '%stackname%-compute-%index%'
CtlplaneNetworkAttributes:
network:
dns_domain: ctlplane.localdomain.
mtu: 1500
name: ctlplane
tags:
- 192.168.122.0/24

Check failure on line 72 in scenarios/sriov/config_download.yaml

View workflow job for this annotation

GitHub Actions / pre-commit

yaml[indentation]

Wrong indentation: expected 8 but found 6

Check failure on line 72 in scenarios/sriov/config_download.yaml

View workflow job for this annotation

GitHub Actions / pre-commit

yaml[indentation]

Wrong indentation: expected 8 but found 6
subnets:
ctlplane-subnet:
cidr: 192.168.122.0/24
dns_nameservers:
- 172.16.0.1

Check failure on line 77 in scenarios/sriov/config_download.yaml

View workflow job for this annotation

GitHub Actions / pre-commit

yaml[indentation]

Wrong indentation: expected 10 but found 8

Check failure on line 77 in scenarios/sriov/config_download.yaml

View workflow job for this annotation

GitHub Actions / pre-commit

yaml[indentation]

Wrong indentation: expected 10 but found 8
- 10.0.0.1
gateway_ip: 192.168.122.10
host_routes: []
ip_version: 4
name: ctlplane-subnet

6 changes: 6 additions & 0 deletions scenarios/sriov/hieradata_overrides_undercloud.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
parameter_defaults:
UndercloudExtraConfig:
ironic::disk_utils::image_convert_memory_limit: 2048
ironic::conductor::heartbeat_interval: 20
ironic::conductor::heartbeat_timeout: 120
58 changes: 58 additions & 0 deletions scenarios/sriov/network_data.yaml.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
- name: Storage
mtu: 1500
vip: true
name_lower: storage
dns_domain: storage.{{ cloud_domain }}.
service_net_map_replace: storage
subnets:
storage_subnet:
vlan: 14
ip_subnet: '172.18.0.0/24'
allocation_pools: [{'start': '172.18.0.120', 'end': '172.18.0.250'}]

- name: InternalApi
mtu: 1500
vip: true
name_lower: internal_api
dns_domain: internal-api.{{ cloud_domain }}.
service_net_map_replace: internal_api
subnets:
internal_api_subnet:
vlan: 11
ip_subnet: '172.17.0.0/24'
allocation_pools: [{'start': '172.17.0.120', 'end': '172.17.0.250'}]

- name: Tenant
mtu: 1500
vip: false # Tenant network does not use VIPs
name_lower: tenant
dns_domain: tenant.{{ cloud_domain }}.
service_net_map_replace: tenant
subnets:
tenant_subnet:
vlan: 13
ip_subnet: '172.19.0.0/24'
allocation_pools: [{'start': '172.19.0.120', 'end': '172.19.0.250'}]

- name: External
mtu: 1500
vip: true
name_lower: external
dns_domain: external.{{ cloud_domain }}.
service_net_map_replace: external
subnets:
external_subnet:
vlan: 12
ip_subnet: '10.0.0.0/24'
allocation_pools: [{'start': '10.0.0.150', 'end': '10.0.0.250'}]

- name: StorageMgmt
name_lower: storage_mgmt
mtu: 1500
vip: true
subnets:
storage_mgmt_subnet:
vlan: 15
ip_subnet: '172.20.0.0/24'
allocation_pools: [{'start': '172.20.0.150', 'end': '172.20.0.250'}]
3 changes: 3 additions & 0 deletions scenarios/sriov/osd_spec.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
data_devices:
all: true
Loading
Loading