+---
cluster:
domain: baremetal-mcp-ocata-ovs-ha.local
states:
+---
cluster:
domain: baremetal-mcp-ocata-ovs-dpdk-ha.local
states:
+---
cluster:
domain: baremetal-mcp-ocata-odl-ha.local
states:
+---
+# yamllint disable-line rule:line-length
base_image: https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-arm64-uefi1.img
virtual:
default:
vcpus: 6
ram: 4096
-
+---
+# yamllint disable-line rule:line-length
base_image: https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
virtual:
default:
vcpus: 2
ram: 4096
-
+---
cluster:
domain: virtual-mcp-ocata-ovs.local
states:
+---
cluster:
domain: virtual-mcp-ocata-ovs-dpdk.local
states:
+---
cluster:
domain: virtual-mcp-ocata-odl-router.local
states:
+---
applications:
-- opendaylight
+ - opendaylight
parameters:
opendaylight:
server:
- enabled: True
+ enabled: 'True'
logging:
engine: syslog
+---
parameters:
opendaylight:
_support:
+---
parameters:
_param:
+ # yamllint disable-line rule:line-length
salt_control_xenial_image: https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-arm64-uefi1.img
# VMs spawned on Foundation Node / Jump Host net ifaces (max 4)
+---
classes:
-- cluster.all-mcp-ocata-common.arch
-- cluster.all-mcp-ocata-common.opnfv
+ - cluster.all-mcp-ocata-common.arch
+ - cluster.all-mcp-ocata-common.opnfv
+---
classes:
-- cluster.all-mcp-ocata-common.opnfv.runtime
-- cluster.all-mcp-ocata-common.opnfv.pod_config
+ - cluster.all-mcp-ocata-common.opnfv.runtime
+ - cluster.all-mcp-ocata-common.opnfv.pod_config
+---
parameters:
_param:
# infra service addresses
+---
parameters:
_param:
+ # yamllint disable-line rule:line-length
salt_control_xenial_image: http://apt.mirantis.com/images/ubuntu-16-04-x64-latest.qcow2
# VMs spawned on Foundation Node / Jump Host net ifaces (max 4)
+---
parameters:
_param:
haproxy_check: check inter 15s fastinter 2s downinter 4s rise 3 fall 3
type: openstack-service
service_name: cinder
binds:
- - address: ${_param:cluster_vip_address}
- port: 8776
+ - address: ${_param:cluster_vip_address}
+ port: 8776
servers:
- - name: ctl01
- host: ${_param:cluster_node01_address}
- port: 8776
- params: ${_param:haproxy_check}
+ - name: ctl01
+ host: ${_param:cluster_node01_address}
+ port: 8776
+ params: ${_param:haproxy_check}
glance_api:
type: openstack-service
service_name: glance
binds:
- - address: ${_param:cluster_vip_address}
- port: 9292
+ - address: ${_param:cluster_vip_address}
+ port: 9292
servers:
- - name: ctl01
- host: ${_param:cluster_node01_address}
- port: 9292
- params: ${_param:haproxy_check}
+ - name: ctl01
+ host: ${_param:cluster_node01_address}
+ port: 9292
+ params: ${_param:haproxy_check}
glance_registry_api:
type: general-service
service_name: glance
binds:
- - address: ${_param:cluster_vip_address}
- port: 9191
+ - address: ${_param:cluster_vip_address}
+ port: 9191
servers:
- - name: ctl01
- host: ${_param:cluster_node01_address}
- port: 9191
- params: ${_param:haproxy_check}
+ - name: ctl01
+ host: ${_param:cluster_node01_address}
+ port: 9191
+ params: ${_param:haproxy_check}
glare:
type: general-service
service_name: glare
binds:
- - address: ${_param:cluster_vip_address}
- port: 9494
+ - address: ${_param:cluster_vip_address}
+ port: 9494
servers:
- - name: ctl01
- host: ${_param:cluster_node01_address}
- port: 9494
- params: ${_param:haproxy_check}
+ - name: ctl01
+ host: ${_param:cluster_node01_address}
+ port: 9494
+ params: ${_param:haproxy_check}
heat_cloudwatch_api:
type: openstack-service
service_name: heat
binds:
- - address: ${_param:cluster_vip_address}
- port: 8003
+ - address: ${_param:cluster_vip_address}
+ port: 8003
servers:
- - name: ctl01
- host: ${_param:cluster_node01_address}
- port: 8003
- params: ${_param:haproxy_check}
+ - name: ctl01
+ host: ${_param:cluster_node01_address}
+ port: 8003
+ params: ${_param:haproxy_check}
heat_api:
type: openstack-service
service_name: heat
binds:
- - address: ${_param:cluster_vip_address}
- port: 8004
+ - address: ${_param:cluster_vip_address}
+ port: 8004
servers:
- - name: ctl01
- host: ${_param:cluster_node01_address}
- port: 8004
- params: ${_param:haproxy_check}
+ - name: ctl01
+ host: ${_param:cluster_node01_address}
+ port: 8004
+ params: ${_param:haproxy_check}
heat_cfn_api:
type: openstack-service
service_name: heat
binds:
- - address: ${_param:cluster_vip_address}
- port: 8000
+ - address: ${_param:cluster_vip_address}
+ port: 8000
servers:
- - name: ctl01
- host: ${_param:cluster_node01_address}
- port: 8000
- params: ${_param:haproxy_check}
+ - name: ctl01
+ host: ${_param:cluster_node01_address}
+ port: 8000
+ params: ${_param:haproxy_check}
keystone_public_api:
type: openstack-service
service_name: keystone
binds:
- - address: ${_param:cluster_vip_address}
- port: 5000
+ - address: ${_param:cluster_vip_address}
+ port: 5000
servers:
- - name: ctl01
- host: ${_param:cluster_node01_address}
- port: 5000
- params: ${_param:haproxy_check}
+ - name: ctl01
+ host: ${_param:cluster_node01_address}
+ port: 5000
+ params: ${_param:haproxy_check}
keystone_admin_api:
type: openstack-service
service_name: keystone
binds:
- - address: ${_param:cluster_vip_address}
- port: 35357
+ - address: ${_param:cluster_vip_address}
+ port: 35357
servers:
- - name: ctl01
- host: ${_param:cluster_node01_address}
- port: 35357
- params: ${_param:haproxy_check}
+ - name: ctl01
+ host: ${_param:cluster_node01_address}
+ port: 35357
+ params: ${_param:haproxy_check}
neutron_api:
type: openstack-service
service_name: neutron
binds:
- - address: ${_param:cluster_vip_address}
- port: 9696
+ - address: ${_param:cluster_vip_address}
+ port: 9696
servers:
- - name: ctl01
- host: ${_param:cluster_node01_address}
- port: 9696
- params: ${_param:haproxy_check}
+ - name: ctl01
+ host: ${_param:cluster_node01_address}
+ port: 9696
+ params: ${_param:haproxy_check}
nova_placement_api:
mode: http
binds:
- - address: ${_param:cluster_vip_address}
- port: 8778
+ - address: ${_param:cluster_vip_address}
+ port: 8778
options:
- - httpclose
- - httplog
+ - httpclose
+ - httplog
health-check:
http:
options:
- - expect status 401
+ - expect status 401
servers:
- - name: ctl01
- host: ${_param:cluster_node01_address}
- port: 8778
- params: ${_param:haproxy_check}
+ - name: ctl01
+ host: ${_param:cluster_node01_address}
+ port: 8778
+ params: ${_param:haproxy_check}
nova_ec2_api:
type: general-service
service_name: nova
check: false
binds:
- - address: ${_param:cluster_vip_address}
- port: 8773
+ - address: ${_param:cluster_vip_address}
+ port: 8773
servers:
- - name: ctl01
- host: ${_param:cluster_node01_address}
- port: 8773
- params: ${_param:haproxy_check}
+ - name: ctl01
+ host: ${_param:cluster_node01_address}
+ port: 8773
+ params: ${_param:haproxy_check}
nova_api:
type: openstack-service
service_name: nova
binds:
- - address: ${_param:cluster_vip_address}
- port: 8774
+ - address: ${_param:cluster_vip_address}
+ port: 8774
servers:
- - name: ctl01
- host: ${_param:cluster_node01_address}
- port: 8774
- params: ${_param:haproxy_check}
+ - name: ctl01
+ host: ${_param:cluster_node01_address}
+ port: 8774
+ params: ${_param:haproxy_check}
nova_metadata_api:
type: openstack-service
binds:
- - address: ${_param:cluster_vip_address}
- port: 8775
+ - address: ${_param:cluster_vip_address}
+ port: 8775
servers:
- - name: ctl01
- host: ${_param:cluster_node01_address}
- port: 8775
- params: ${_param:haproxy_check}
+ - name: ctl01
+ host: ${_param:cluster_node01_address}
+ port: 8775
+ params: ${_param:haproxy_check}
+---
classes:
-- service.git.client
-- system.linux.system.single
-- system.linux.system.repo.mcp.salt
-- system.linux.system.repo.saltstack.xenial
-- system.salt.master.api
-- system.salt.master.pkg
-- system.salt.minion.ca.salt_master
-- system.reclass.storage.salt
-- system.reclass.storage.system.physical_control_cluster
-- system.reclass.storage.system.openstack_control_cluster
-- system.reclass.storage.system.openstack_proxy_cluster
-- system.reclass.storage.system.openstack_database_cluster
-- system.reclass.storage.system.openstack_message_queue_cluster
-- system.reclass.storage.system.opendaylight_control_single
-- system.reclass.storage.system.openstack_telemetry_cluster
-# - system.reclass.storage.system.stacklight_log_cluster
-# - system.reclass.storage.system.stacklight_monitor_cluster
-# - system.reclass.storage.system.stacklight_telemetry_cluster
-- system.reclass.storage.system.infra_maas_single
-- cluster.baremetal-mcp-ocata-odl-ha.infra
+ - service.git.client
+ - system.linux.system.single
+ - system.linux.system.repo.mcp.salt
+ - system.linux.system.repo.saltstack.xenial
+ - system.salt.master.api
+ - system.salt.master.pkg
+ - system.salt.minion.ca.salt_master
+ - system.reclass.storage.salt
+ - system.reclass.storage.system.physical_control_cluster
+ - system.reclass.storage.system.openstack_control_cluster
+ - system.reclass.storage.system.openstack_proxy_cluster
+ - system.reclass.storage.system.openstack_database_cluster
+ - system.reclass.storage.system.openstack_message_queue_cluster
+ - system.reclass.storage.system.opendaylight_control_single
+ - system.reclass.storage.system.openstack_telemetry_cluster
+ # - system.reclass.storage.system.stacklight_log_cluster
+ # - system.reclass.storage.system.stacklight_monitor_cluster
+ # - system.reclass.storage.system.stacklight_telemetry_cluster
+ - system.reclass.storage.system.infra_maas_single
+ - cluster.baremetal-mcp-ocata-odl-ha.infra
parameters:
_param:
salt_master_base_environment: prd
single_address: ${_param:infra_config_address}
deploy_address: ${_param:infra_config_deploy_address}
salt_master_host: ${_param:infra_config_deploy_address}
+ # yamllint disable rule:line-length
salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1"
linux:
network:
openstack_proxy_node02:
params:
linux_system_codename: xenial
-# stacklight_log_node01:
-# classes:
-# - system.elasticsearch.client.single
-# stacklight_monitor_node01:
-# classes:
-# - system.grafana.client.single
-# - system.kibana.client.single
+ # stacklight_log_node01:
+ # classes:
+ # - system.elasticsearch.client.single
+ # stacklight_monitor_node01:
+ # classes:
+ # - system.grafana.client.single
+ # - system.kibana.client.single
openstack_control_node01:
classes:
- - cluster.${_param:cluster_name}.openstack.control_init
+ - cluster.${_param:cluster_name}.openstack.control_init
params:
linux_system_codename: xenial
openstack_control_node02:
linux_system_codename: xenial
openstack_database_node01:
classes:
- - cluster.${_param:cluster_name}.openstack.database_init
+ - cluster.${_param:cluster_name}.openstack.database_init
params:
linux_system_codename: xenial
openstack_database_node02:
name: ${_param:openstack_compute_node01_hostname}
domain: ${_param:cluster_domain}
classes:
- - cluster.${_param:cluster_name}.openstack.compute
+ - cluster.${_param:cluster_name}.openstack.compute
params:
salt_master_host: ${_param:reclass_config_master}
linux_system_codename: xenial
name: ${_param:openstack_compute_node02_hostname}
domain: ${_param:cluster_domain}
classes:
- - cluster.${_param:cluster_name}.openstack.compute
+ - cluster.${_param:cluster_name}.openstack.compute
params:
salt_master_host: ${_param:reclass_config_master}
linux_system_codename: xenial
external_address: ${_param:openstack_compute_node02_external_address}
opendaylight_control_node01:
classes:
- - cluster.${_param:cluster_name}.opendaylight.control
+ - cluster.${_param:cluster_name}.opendaylight.control
params:
linux_system_codename: xenial
single_address: ${_param:opendaylight_server_node01_single_address}
+---
classes:
-- system.linux.system.single
-- cluster.all-mcp-ocata-common
-- cluster.baremetal-mcp-ocata-odl-ha.openstack
-# - cluster.baremetal-mcp-ocata-odl-ha.stacklight
-# - cluster.baremetal-mcp-ocata-odl-ha.stacklight.client
+ - system.linux.system.single
+ - cluster.all-mcp-ocata-common
+ - cluster.baremetal-mcp-ocata-odl-ha.openstack
+ # - cluster.baremetal-mcp-ocata-odl-ha.stacklight
+ # - cluster.baremetal-mcp-ocata-odl-ha.stacklight.client
parameters:
_param:
apt_mk_version: nightly
mcp_repo_version: 1.1
cluster_name: baremetal-mcp-ocata-odl-ha
cluster_domain: ${_param:cluster_name}.local
-# stacklight_environment: ${_param:cluster_domain}
+ # stacklight_environment: ${_param:cluster_domain}
reclass_data_revision: master
cluster_public_host: ${_param:openstack_proxy_address}
infra_config_hostname: cfg01
address: ${_param:single_address}
netmask: 255.255.255.0
+ # yamllint disable-line rule:line-length
salt_api_password_hash: "$6$WV0P1shnoDh2gI/Z$22/Bcd7ffMv0jDlFpT63cAU4PiXHz9pjXwngToKwqAsgoeK4HNR3PiKaushjxp3JsQ8hNoJmAC6TxzVqfV8WH/"
linux:
system:
cfg01:
address: ${_param:infra_config_address}
names:
- - cfg01
- - cfg01.${_param:cluster_domain}
+ - cfg01
+ - cfg01.${_param:cluster_domain}
cfg:
address: ${_param:infra_config_address}
names:
- - ${_param:infra_config_hostname}
- - ${_param:infra_config_hostname}.${_param:cluster_domain}
+ - ${_param:infra_config_hostname}
+ - ${_param:infra_config_hostname}.${_param:cluster_domain}
mas01:
address: ${_param:infra_maas_node01_address}
names:
- - ${_param:infra_maas_node01_hostname}
- - ${_param:infra_maas_node01_hostname}.${_param:cluster_domain}
+ - ${_param:infra_maas_node01_hostname}
+ - ${_param:infra_maas_node01_hostname}.${_param:cluster_domain}
kvm01:
address: ${_param:infra_kvm_node01_address}
names:
- - ${_param:infra_kvm_node01_hostname}
- - ${_param:infra_kvm_node01_hostname}.${_param:cluster_domain}
+ - ${_param:infra_kvm_node01_hostname}
+ - ${_param:infra_kvm_node01_hostname}.${_param:cluster_domain}
kvm02:
address: ${_param:infra_kvm_node02_address}
names:
- - ${_param:infra_kvm_node02_hostname}
- - ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain}
+ - ${_param:infra_kvm_node02_hostname}
+ - ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain}
kvm03:
address: ${_param:infra_kvm_node03_address}
names:
- - ${_param:infra_kvm_node03_hostname}
- - ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
+ - ${_param:infra_kvm_node03_hostname}
+ - ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
+---
classes:
-- system.linux.system.repo.mcp.openstack
-- system.linux.system.repo.mcp.extra
-- system.linux.system.repo.saltstack.xenial
-- service.keepalived.cluster.single
-- system.glusterfs.server.volume.glance
-- system.glusterfs.server.volume.keystone
-- system.glusterfs.server.cluster
-- system.salt.control.virt
-- system.salt.control.cluster.openstack_control_cluster
-- system.salt.control.cluster.openstack_proxy_cluster
-- system.salt.control.cluster.openstack_database_cluster
-- system.salt.control.cluster.openstack_message_queue_cluster
-- system.salt.control.cluster.openstack_telemetry_cluster
-# - system.salt.control.cluster.stacklight_server_cluster
-# - system.salt.control.cluster.stacklight_log_cluster
-# - system.salt.control.cluster.stacklight_telemetry_cluster
-- cluster.baremetal-mcp-ocata-odl-ha.infra
+ - system.linux.system.repo.mcp.openstack
+ - system.linux.system.repo.mcp.extra
+ - system.linux.system.repo.saltstack.xenial
+ - service.keepalived.cluster.single
+ - system.glusterfs.server.volume.glance
+ - system.glusterfs.server.volume.keystone
+ - system.glusterfs.server.cluster
+ - system.salt.control.virt
+ - system.salt.control.cluster.openstack_control_cluster
+ - system.salt.control.cluster.openstack_proxy_cluster
+ - system.salt.control.cluster.openstack_database_cluster
+ - system.salt.control.cluster.openstack_message_queue_cluster
+ - system.salt.control.cluster.openstack_telemetry_cluster
+ # - system.salt.control.cluster.stacklight_server_cluster
+ # - system.salt.control.cluster.stacklight_log_cluster
+ # - system.salt.control.cluster.stacklight_telemetry_cluster
+ - cluster.baremetal-mcp-ocata-odl-ha.infra
parameters:
_param:
linux_system_codename: xenial
deploy_nic: enp6s0
salt:
control:
- size: #RAM 4096,8192,16384,32768,65536
- ##Default production sizing
+ size: # RAM 4096,8192,16384,32768,65536
+ # Default production sizing
openstack.control:
cpu: 4
ram: 12288
ram: 2048
disk_profile: small
net_profile: default
-# stacklight.log:
-# cpu: 2
-# ram: 4096
-# disk_profile: xxlarge
-# net_profile: default
-# stacklight.server:
-# cpu: 2
-# ram: 4096
-# disk_profile: small
-# net_profile: default
-# stacklight.telemetry:
-# cpu: 2
-# ram: 4096
-# disk_profile: xxlarge
-# net_profile: default
+ # stacklight.log:
+ # cpu: 2
+ # ram: 4096
+ # disk_profile: xxlarge
+ # net_profile: default
+ # stacklight.server:
+ # cpu: 2
+ # ram: 4096
+ # disk_profile: small
+ # net_profile: default
+ # stacklight.telemetry:
+ # cpu: 2
+ # ram: 4096
+ # disk_profile: xxlarge
+ # net_profile: default
opendaylight.server:
cpu: 4
ram: 6144
node:
odl01:
name: ${_param:opendaylight_server_node01_hostname}
+ # yamllint disable-line rule:line-length
provider: ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
image: ${_param:salt_control_xenial_image}
size: opendaylight.server
- ${_param:cluster_node02_address}:/srv/glusterfs/nova_instances
- ${_param:cluster_node03_address}:/srv/glusterfs/nova_instances
options:
- cluster.readdir-optimize: On
- nfs.disable: On
- network.remote-dio: On
+ cluster.readdir-optimize: 'On'
+ nfs.disable: 'On'
+ network.remote-dio: 'On'
diagnostics.client-log-level: WARNING
diagnostics.brick-log-level: WARNING
linux:
proto: dhcp
type: bridge
name_servers:
- - 8.8.8.8
- - 8.8.4.4
+ - 8.8.8.8
+ - 8.8.4.4
use_interfaces:
- - ${_param:deploy_nic}
+ - ${_param:deploy_nic}
noifupdown: true
vlan300:
enabled: true
type: vlan
name: ${_param:deploy_nic}.300
use_interfaces:
- - ${_param:deploy_nic}
+ - ${_param:deploy_nic}
br-ctl:
enabled: true
type: bridge
address: ${_param:single_address}
netmask: 255.255.255.0
use_interfaces:
- - ${_param:deploy_nic}.300
+ - ${_param:deploy_nic}.300
+---
classes:
-- system.linux.system.repo.saltstack.xenial
-- system.maas.region.single
-- cluster.baremetal-mcp-ocata-odl-ha.infra
+ - system.linux.system.repo.saltstack.xenial
+ - system.maas.region.single
+ - cluster.baremetal-mcp-ocata-odl-ha.infra
parameters:
_param:
dhcp_interface: ens3
+---
classes:
-- cluster.all-mcp-ocata-common
-- cluster.baremetal-mcp-ocata-odl-ha.infra
-- cluster.baremetal-mcp-ocata-odl-ha.openstack
+ - cluster.all-mcp-ocata-common
+ - cluster.baremetal-mcp-ocata-odl-ha.infra
+ - cluster.baremetal-mcp-ocata-odl-ha.openstack
+---
classes:
-- system.linux.system.repo.mcp.openstack
-- system.linux.system.repo.mcp.extra
-- system.linux.system.repo.saltstack.xenial
-- system.opendaylight.server.single
-- cluster.baremetal-mcp-ocata-odl-ha
+ - system.linux.system.repo.mcp.openstack
+ - system.linux.system.repo.mcp.extra
+ - system.linux.system.repo.saltstack.xenial
+ - system.opendaylight.server.single
+ - cluster.baremetal-mcp-ocata-odl-ha
parameters:
_param:
linux_system_codename: xenial
+---
classes:
-- cluster.baremetal-mcp-ocata-odl-ha
+ - cluster.baremetal-mcp-ocata-odl-ha
parameters:
linux:
network:
+---
classes:
-- system.linux.system.repo.mcp.openstack
-- system.linux.system.repo.mcp.extra
-- system.linux.system.repo.saltstack.xenial
-- system.linux.storage.loopback
-- system.glusterfs.client.cluster
-- system.nova.compute.cluster
-- system.nova.compute.nfv.hugepages
-- system.nova.compute.nfv.cpu_pinning
-- system.neutron.gateway.opendaylight.single
-- system.neutron.gateway.cluster
-- system.cinder.volume.single
-- system.cinder.volume.backend.lvm
-- system.ceilometer.agent.cluster
-- cluster.baremetal-mcp-ocata-odl-ha.infra
+ - system.linux.system.repo.mcp.openstack
+ - system.linux.system.repo.mcp.extra
+ - system.linux.system.repo.saltstack.xenial
+ - system.linux.storage.loopback
+ - system.glusterfs.client.cluster
+ - system.nova.compute.cluster
+ - system.nova.compute.nfv.hugepages
+ - system.nova.compute.nfv.cpu_pinning
+ - system.neutron.gateway.opendaylight.single
+ - system.neutron.gateway.cluster
+ - system.cinder.volume.single
+ - system.cinder.volume.backend.lvm
+ - system.ceilometer.agent.cluster
+ - cluster.baremetal-mcp-ocata-odl-ha.infra
parameters:
_param:
cluster_vip_address: ${_param:openstack_control_address}
keepalived_vip_virtual_router_id: 69
loopback_device_size: 20
neutron_agents:
- - neutron-dhcp-agent
- - neutron-metadata-agent
+ - neutron-dhcp-agent
+ - neutron-metadata-agent
opendaylight:
client:
ovsdb_server_iface: ptcp:6639:127.0.0.1
server: ${_param:glusterfs_service_host}
user: nova
group: nova
+ # yamllint disable-line rule:line-length
opts: "defaults,backup-volfile-servers=${_param:cluster_node01_address}:${_param:cluster_node02_address}:${_param:cluster_node03_address}"
linux:
system:
netmask: 255.255.255.0
mtu: 1500
use_interfaces:
- - ${_param:tenant_nic}.302
+ - ${_param:tenant_nic}.302
vlan300:
enabled: true
proto: manual
type: vlan
name: ${_param:mgmt_nic}.300
use_interfaces:
- - ${_param:mgmt_nic}
+ - ${_param:mgmt_nic}
vlan302:
enabled: true
proto: manual
type: vlan
name: ${_param:tenant_nic}.302
use_interfaces:
- - ${_param:tenant_nic}
+ - ${_param:tenant_nic}
br-ctl:
enabled: true
type: bridge
address: ${_param:single_address}
netmask: 255.255.255.0
use_interfaces:
- - ${_param:mgmt_nic}.300
+ - ${_param:mgmt_nic}.300
br-floating:
enabled: true
type: ovs_bridge
address: ${_param:external_address}
netmask: 255.255.255.0
use_interfaces:
- - ${_param:external_nic}
+ - ${_param:external_nic}
use_ovs_ports:
- - float-to-ex
-
+ - float-to-ex
+---
classes:
-- system.linux.system.repo.mcp.openstack
-- system.linux.system.repo.mcp.extra
-- system.linux.system.repo.saltstack.xenial
-- system.ceilometer.client
-- system.memcached.server.single
-- system.keystone.server.cluster
-- system.keystone.server.wsgi
-- system.glance.control.cluster
-- system.neutron.control.opendaylight.cluster
-- system.nova.control.cluster
-- system.cinder.control.cluster
-- system.cinder.control.backend.lvm
-- system.heat.server.cluster
-- system.designate.server.cluster
-- system.designate.server.backend.bind
-- system.bind.server.single
-- system.haproxy.proxy.listen.openstack.nova-placement
-- system.haproxy.proxy.listen.openstack.glare
-- system.glusterfs.client.cluster
-- system.glusterfs.client.volume.glance
-- system.glusterfs.client.volume.keystone
-- cluster.baremetal-mcp-ocata-odl-ha.infra
+ - system.linux.system.repo.mcp.openstack
+ - system.linux.system.repo.mcp.extra
+ - system.linux.system.repo.saltstack.xenial
+ - system.ceilometer.client
+ - system.memcached.server.single
+ - system.keystone.server.cluster
+ - system.keystone.server.wsgi
+ - system.glance.control.cluster
+ - system.neutron.control.opendaylight.cluster
+ - system.nova.control.cluster
+ - system.cinder.control.cluster
+ - system.cinder.control.backend.lvm
+ - system.heat.server.cluster
+ - system.designate.server.cluster
+ - system.designate.server.backend.bind
+ - system.bind.server.single
+ - system.haproxy.proxy.listen.openstack.nova-placement
+ - system.haproxy.proxy.listen.openstack.glare
+ - system.glusterfs.client.cluster
+ - system.glusterfs.client.volume.glance
+ - system.glusterfs.client.volume.keystone
+ - cluster.baremetal-mcp-ocata-odl-ha.infra
parameters:
_param:
keepalived_vip_interface: ens3
+---
classes:
-- system.keystone.client.single
-- system.keystone.client.service.aodh
-- system.keystone.client.service.ceilometer
-- system.keystone.client.service.nova21
-- system.keystone.client.service.nova-placement
-- system.keystone.client.service.glare
-- system.keystone.client.service.cinder3
-- system.keystone.client.service.designate
+ - system.keystone.client.single
+ - system.keystone.client.service.aodh
+ - system.keystone.client.service.ceilometer
+ - system.keystone.client.service.nova21
+ - system.keystone.client.service.nova-placement
+ - system.keystone.client.service.glare
+ - system.keystone.client.service.cinder3
+ - system.keystone.client.service.designate
+---
classes:
-- system.horizon.server.single
-- cluster.baremetal-mcp-ocata-odl-ha
+ - system.horizon.server.single
+ - cluster.baremetal-mcp-ocata-odl-ha
parameters:
_param:
horizon_site_branding: OpenStack Dashboard
+---
classes:
-- system.linux.system.repo.mcp.openstack
-- system.linux.system.repo.mcp.extra
-- system.linux.system.repo.saltstack.xenial
-- system.galera.server.cluster
-- system.galera.server.database.aodh
-- system.galera.server.database.ceilometer
-- system.galera.server.database.cinder
-- system.galera.server.database.designate
-- system.galera.server.database.glance
-- system.galera.server.database.grafana
-- system.galera.server.database.heat
-- system.galera.server.database.keystone
-- system.galera.server.database.nova
-- system.galera.server.database.neutron
-- cluster.baremetal-mcp-ocata-odl-ha
+ - system.linux.system.repo.mcp.openstack
+ - system.linux.system.repo.mcp.extra
+ - system.linux.system.repo.saltstack.xenial
+ - system.galera.server.cluster
+ - system.galera.server.database.aodh
+ - system.galera.server.database.ceilometer
+ - system.galera.server.database.cinder
+ - system.galera.server.database.designate
+ - system.galera.server.database.glance
+ - system.galera.server.database.grafana
+ - system.galera.server.database.heat
+ - system.galera.server.database.keystone
+ - system.galera.server.database.nova
+ - system.galera.server.database.neutron
+ - cluster.baremetal-mcp-ocata-odl-ha
parameters:
_param:
keepalived_vip_interface: ens3
+---
classes:
-- system.mysql.client.single
+ - system.mysql.client.single
+---
parameters:
_param:
# opendaylight options
opendaylight_server_node01_single_address: 10.167.4.111
+ # yamllint disable rule:line-length
opendaylight_service_host: ${_param:opendaylight_server_node01_single_address}
opendaylight_server_node01_hostname: odl01
opendaylight_router: odl-router_v2
openstack_region: RegionOne
admin_email: root@localhost
- ##Neutron osv/nodvr
- neutron_control_dvr: False
+ # Neutron osv/nodvr
+ neutron_control_dvr: 'False'
neutron_tenant_network_types: "flat,vxlan"
- neutron_l3_ha: True
+ neutron_l3_ha: 'True'
neutron_global_physnet_mtu: 1500
neutron_external_mtu: 1500
- neutron_gateway_dvr: False
+ neutron_gateway_dvr: 'False'
neutron_gateway_agent_mode: legacy
- neutron_compute_dvr: False
+ neutron_compute_dvr: 'False'
neutron_compute_agent_mode: legacy
- neutron_compute_external_access: True
+ neutron_compute_external_access: 'True'
galera_server_cluster_name: openstack_cluster
galera_server_maintenance_password: opnfv_secret
galera_server_admin_password: opnfv_secret
rndc_key_file: /etc/designate/rndc.key
designate_version: ${_param:openstack_version}
# Billing
- #keystone_billometer_password: opnfv_secret
- #keystone_billometer_address: ${_param:billometer_service_host}
- #billometer_service_host: ${_param:openstack_billing_address}
- #billometer_version: ${_param:openstack_version}
- #billometer_secret_key: opnfv_secretpasswordpasswordpassword
- #billometer_identity_password: ${_param:keystone_billometer_password}
- #billometer_identity_host: ${_param:openstack_control_address}
- #billometer_identity_token: ${_param:keystone_service_token}
+ # keystone_billometer_password: opnfv_secret
+ # keystone_billometer_address: ${_param:billometer_service_host}
+ # billometer_service_host: ${_param:openstack_billing_address}
+ # billometer_version: ${_param:openstack_version}
+ # billometer_secret_key: opnfv_secretpasswordpasswordpassword
+ # billometer_identity_password: ${_param:keystone_billometer_password}
+ # billometer_identity_host: ${_param:openstack_control_address}
+ # billometer_identity_token: ${_param:keystone_service_token}
linux:
system:
repo:
prx:
address: ${_param:openstack_proxy_address}
names:
- - ${_param:openstack_proxy_hostname}
- - ${_param:openstack_proxy_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_proxy_hostname}
+ - ${_param:openstack_proxy_hostname}.${_param:cluster_domain}
prx01:
address: ${_param:openstack_proxy_node01_address}
names:
- - ${_param:openstack_proxy_node01_hostname}
- - ${_param:openstack_proxy_node01_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_proxy_node01_hostname}
+ - ${_param:openstack_proxy_node01_hostname}.${_param:cluster_domain}
prx02:
address: ${_param:openstack_proxy_node02_address}
names:
- - ${_param:openstack_proxy_node02_hostname}
- - ${_param:openstack_proxy_node02_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_proxy_node02_hostname}
+ - ${_param:openstack_proxy_node02_hostname}.${_param:cluster_domain}
ctl:
address: ${_param:openstack_control_address}
names:
- - ${_param:openstack_control_hostname}
- - ${_param:openstack_control_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_control_hostname}
+ - ${_param:openstack_control_hostname}.${_param:cluster_domain}
ctl01:
address: ${_param:openstack_control_node01_address}
names:
- - ${_param:openstack_control_node01_hostname}
- - ${_param:openstack_control_node01_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_control_node01_hostname}
+ - ${_param:openstack_control_node01_hostname}.${_param:cluster_domain}
ctl02:
address: ${_param:openstack_control_node02_address}
names:
- - ${_param:openstack_control_node02_hostname}
- - ${_param:openstack_control_node02_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_control_node02_hostname}
+ - ${_param:openstack_control_node02_hostname}.${_param:cluster_domain}
ctl03:
address: ${_param:openstack_control_node03_address}
names:
- - ${_param:openstack_control_node03_hostname}
- - ${_param:openstack_control_node03_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_control_node03_hostname}
+ - ${_param:openstack_control_node03_hostname}.${_param:cluster_domain}
msg:
address: ${_param:openstack_message_queue_address}
names:
- - ${_param:openstack_message_queue_hostname}
- - ${_param:openstack_message_queue_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_message_queue_hostname}
+ - ${_param:openstack_message_queue_hostname}.${_param:cluster_domain}
msg01:
address: ${_param:openstack_message_queue_node01_address}
names:
- - ${_param:openstack_message_queue_node01_hostname}
- - ${_param:openstack_message_queue_node01_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_message_queue_node01_hostname}
+ - ${_param:openstack_message_queue_node01_hostname}.${_param:cluster_domain}
msg02:
address: ${_param:openstack_message_queue_node02_address}
names:
- - ${_param:openstack_message_queue_node02_hostname}
- - ${_param:openstack_message_queue_node02_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_message_queue_node02_hostname}
+ - ${_param:openstack_message_queue_node02_hostname}.${_param:cluster_domain}
msg03:
address: ${_param:openstack_message_queue_node03_address}
names:
- - ${_param:openstack_message_queue_node03_hostname}
- - ${_param:openstack_message_queue_node03_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_message_queue_node03_hostname}
+ - ${_param:openstack_message_queue_node03_hostname}.${_param:cluster_domain}
dbs:
address: ${_param:openstack_database_address}
names:
- - ${_param:openstack_database_hostname}
- - ${_param:openstack_database_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_database_hostname}
+ - ${_param:openstack_database_hostname}.${_param:cluster_domain}
dbs01:
address: ${_param:openstack_database_node01_address}
names:
- - ${_param:openstack_database_node01_hostname}
- - ${_param:openstack_database_node01_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_database_node01_hostname}
+ - ${_param:openstack_database_node01_hostname}.${_param:cluster_domain}
dbs02:
address: ${_param:openstack_database_node02_address}
names:
- - ${_param:openstack_database_node02_hostname}
- - ${_param:openstack_database_node02_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_database_node02_hostname}
+ - ${_param:openstack_database_node02_hostname}.${_param:cluster_domain}
dbs03:
address: ${_param:openstack_database_node03_address}
names:
- - ${_param:openstack_database_node03_hostname}
- - ${_param:openstack_database_node03_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_database_node03_hostname}
+ - ${_param:openstack_database_node03_hostname}.${_param:cluster_domain}
mdb:
address: ${_param:openstack_telemetry_address}
names:
- - ${_param:openstack_telemetry_hostname}
- - ${_param:openstack_telemetry_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_telemetry_hostname}
+ - ${_param:openstack_telemetry_hostname}.${_param:cluster_domain}
mdb01:
address: ${_param:openstack_telemetry_node01_address}
names:
- - ${_param:openstack_telemetry_node01_hostname}
- - ${_param:openstack_telemetry_node01_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_telemetry_node01_hostname}
+ - ${_param:openstack_telemetry_node01_hostname}.${_param:cluster_domain}
mdb02:
address: ${_param:openstack_telemetry_node02_address}
names:
- - ${_param:openstack_telemetry_node02_hostname}
- - ${_param:openstack_telemetry_node02_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_telemetry_node02_hostname}
+ - ${_param:openstack_telemetry_node02_hostname}.${_param:cluster_domain}
mdb03:
address: ${_param:openstack_telemetry_node03_address}
names:
- - ${_param:openstack_telemetry_node03_hostname}
- - ${_param:openstack_telemetry_node03_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_telemetry_node03_hostname}
+ - ${_param:openstack_telemetry_node03_hostname}.${_param:cluster_domain}
cmp001:
address: ${_param:openstack_compute_node01_control_address}
names:
- - ${_param:openstack_compute_node01_hostname}
- - ${_param:openstack_compute_node01_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_compute_node01_hostname}
+ - ${_param:openstack_compute_node01_hostname}.${_param:cluster_domain}
cmp002:
address: ${_param:openstack_compute_node02_control_address}
names:
- - ${_param:openstack_compute_node02_hostname}
- - ${_param:openstack_compute_node02_hostname}.${_param:cluster_domain}
-# gtw01:
-# address: ${_param:openstack_gateway_node01_address}
-# names:
-# - ${_param:openstack_gateway_node01_hostname}
-# - ${_param:openstack_gateway_node01_hostname}.${_param:cluster_domain}
-# gtw02:
-# address: ${_param:openstack_gateway_node02_address}
-# names:
-# - ${_param:openstack_gateway_node02_hostname}
-# - ${_param:openstack_gateway_node02_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_compute_node02_hostname}
+ - ${_param:openstack_compute_node02_hostname}.${_param:cluster_domain}
+ # gtw01:
+ # address: ${_param:openstack_gateway_node01_address}
+ # names:
+ # - ${_param:openstack_gateway_node01_hostname}
+ # - ${_param:openstack_gateway_node01_hostname}.${_param:cluster_domain}
+ # gtw02:
+ # address: ${_param:openstack_gateway_node02_address}
+ # names:
+ # - ${_param:openstack_gateway_node02_hostname}
+ # - ${_param:openstack_gateway_node02_hostname}.${_param:cluster_domain}
odl01:
address: ${_param:opendaylight_service_host}
names:
- - ${_param:opendaylight_server_node01_hostname}
- - ${_param:opendaylight_server_node01_hostname}.${_param:cluster_domain}
+ - ${_param:opendaylight_server_node01_hostname}
+ - ${_param:opendaylight_server_node01_hostname}.${_param:cluster_domain}
+---
classes:
-- system.linux.system.repo.mcp.openstack
-- system.linux.system.repo.mcp.extra
-- system.linux.system.repo.saltstack.xenial
-- system.rabbitmq.server.cluster
-- system.rabbitmq.server.vhost.openstack
-- cluster.baremetal-mcp-ocata-odl-ha
+ - system.linux.system.repo.mcp.openstack
+ - system.linux.system.repo.mcp.extra
+ - system.linux.system.repo.saltstack.xenial
+ - system.rabbitmq.server.cluster
+ - system.rabbitmq.server.vhost.openstack
+ - cluster.baremetal-mcp-ocata-odl-ha
parameters:
_param:
keepalived_vip_interface: ens3
+---
classes:
-- system.linux.system.repo.mcp.openstack
-- system.linux.system.repo.mcp.extra
-- system.linux.system.repo.saltstack.xenial
-- system.nginx.server.single
-- system.nginx.server.proxy.openstack_api
-- system.nginx.server.proxy.openstack_vnc
-- system.nginx.server.proxy.openstack_web
-- system.nginx.server.proxy.openstack.aodh
-- system.nginx.server.proxy.openstack.ceilometer
-- system.horizon.server.single
-- system.salt.minion.cert.proxy
-- system.sphinx.server.doc.reclass
-- service.keepalived.cluster.single
-- cluster.baremetal-mcp-ocata-odl-ha.infra
-- cluster.baremetal-mcp-ocata-odl-ha.openstack.dashboard
-# - cluster.baremetal-mcp-ocata-odl-ha.stacklight.proxy
+ - system.linux.system.repo.mcp.openstack
+ - system.linux.system.repo.mcp.extra
+ - system.linux.system.repo.saltstack.xenial
+ - system.nginx.server.single
+ - system.nginx.server.proxy.openstack_api
+ - system.nginx.server.proxy.openstack_vnc
+ - system.nginx.server.proxy.openstack_web
+ - system.nginx.server.proxy.openstack.aodh
+ - system.nginx.server.proxy.openstack.ceilometer
+ - system.horizon.server.single
+ - system.salt.minion.cert.proxy
+ - system.sphinx.server.doc.reclass
+ - service.keepalived.cluster.single
+ - cluster.baremetal-mcp-ocata-odl-ha.infra
+ - cluster.baremetal-mcp-ocata-odl-ha.openstack.dashboard
+ # - cluster.baremetal-mcp-ocata-odl-ha.stacklight.proxy
parameters:
_param:
keepalived_vip_interface: ens3
+---
classes:
-- system.linux.system.repo.mcp.openstack
-- system.linux.system.repo.mcp.extra
-- system.linux.system.repo.saltstack.xenial
-- system.mongodb.server.cluster
-- system.mongodb.server.database.ceilometer
-- system.ceilometer.server.backend.mongodb
-# - system.ceilometer.server.backend.influxdb
-# - system.heka.ceilometer_collector.single
-- system.ceilometer.server.cluster
-- system.aodh.server.cluster
-- cluster.baremetal-mcp-ocata-odl-ha.infra
+ - system.linux.system.repo.mcp.openstack
+ - system.linux.system.repo.mcp.extra
+ - system.linux.system.repo.saltstack.xenial
+ - system.mongodb.server.cluster
+ - system.mongodb.server.database.ceilometer
+ - system.ceilometer.server.backend.mongodb
+ # - system.ceilometer.server.backend.influxdb
+ # - system.heka.ceilometer_collector.single
+ - system.ceilometer.server.cluster
+ - system.aodh.server.cluster
+ - cluster.baremetal-mcp-ocata-odl-ha.infra
parameters:
_param:
keepalived_openstack_telemetry_vip_interface: ens3
+---
classes:
-- service.git.client
-- system.linux.system.single
-- system.linux.system.repo.mcp.salt
-- system.linux.system.repo.saltstack.xenial
-- system.salt.master.api
-- system.salt.master.pkg
-- system.salt.minion.ca.salt_master
-- system.reclass.storage.salt
-- system.reclass.storage.system.physical_control_cluster
-- system.reclass.storage.system.openstack_control_cluster
-- system.reclass.storage.system.openstack_proxy_cluster
-- system.reclass.storage.system.openstack_database_cluster
-- system.reclass.storage.system.openstack_message_queue_cluster
-- system.reclass.storage.system.openstack_telemetry_cluster
-# - system.reclass.storage.system.stacklight_log_cluster
-# - system.reclass.storage.system.stacklight_monitor_cluster
-# - system.reclass.storage.system.stacklight_telemetry_cluster
-- system.reclass.storage.system.infra_maas_single
-- cluster.baremetal-mcp-ocata-ovs-dpdk-ha.infra
+ - service.git.client
+ - system.linux.system.single
+ - system.linux.system.repo.mcp.salt
+ - system.linux.system.repo.saltstack.xenial
+ - system.salt.master.api
+ - system.salt.master.pkg
+ - system.salt.minion.ca.salt_master
+ - system.reclass.storage.salt
+ - system.reclass.storage.system.physical_control_cluster
+ - system.reclass.storage.system.openstack_control_cluster
+ - system.reclass.storage.system.openstack_proxy_cluster
+ - system.reclass.storage.system.openstack_database_cluster
+ - system.reclass.storage.system.openstack_message_queue_cluster
+ - system.reclass.storage.system.openstack_telemetry_cluster
+ # - system.reclass.storage.system.stacklight_log_cluster
+ # - system.reclass.storage.system.stacklight_monitor_cluster
+ # - system.reclass.storage.system.stacklight_telemetry_cluster
+ - system.reclass.storage.system.infra_maas_single
+ - cluster.baremetal-mcp-ocata-ovs-dpdk-ha.infra
parameters:
_param:
salt_master_base_environment: prd
single_address: ${_param:infra_config_address}
deploy_address: ${_param:infra_config_deploy_address}
salt_master_host: ${_param:infra_config_deploy_address}
+ # yamllint disable rule:line-length
salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1"
linux:
network:
openstack_proxy_node02:
params:
linux_system_codename: xenial
-# stacklight_log_node01:
-# classes:
-# - system.elasticsearch.client.single
-# stacklight_monitor_node01:
-# classes:
-# - system.grafana.client.single
-# - system.kibana.client.single
+ # stacklight_log_node01:
+ # classes:
+ # - system.elasticsearch.client.single
+ # stacklight_monitor_node01:
+ # classes:
+ # - system.grafana.client.single
+ # - system.kibana.client.single
openstack_control_node01:
classes:
- - cluster.${_param:cluster_name}.openstack.control_init
+ - cluster.${_param:cluster_name}.openstack.control_init
params:
linux_system_codename: xenial
openstack_control_node02:
linux_system_codename: xenial
openstack_database_node01:
classes:
- - cluster.${_param:cluster_name}.openstack.database_init
+ - cluster.${_param:cluster_name}.openstack.database_init
params:
linux_system_codename: xenial
openstack_database_node02:
name: ${_param:openstack_compute_node01_hostname}
domain: ${_param:cluster_domain}
classes:
- - cluster.${_param:cluster_name}.openstack.compute
+ - cluster.${_param:cluster_name}.openstack.compute
params:
salt_master_host: ${_param:reclass_config_master}
linux_system_codename: xenial
name: ${_param:openstack_compute_node02_hostname}
domain: ${_param:cluster_domain}
classes:
- - cluster.${_param:cluster_name}.openstack.compute
+ - cluster.${_param:cluster_name}.openstack.compute
params:
salt_master_host: ${_param:reclass_config_master}
linux_system_codename: xenial
+---
classes:
-- system.linux.system.single
-- cluster.all-mcp-ocata-common
-- cluster.baremetal-mcp-ocata-ovs-dpdk-ha.openstack
-# - cluster.baremetal-mcp-ocata-ovs-dpdk-ha.stacklight
-# - cluster.baremetal-mcp-ocata-ovs-dpdk-ha.stacklight.client
+ - system.linux.system.single
+ - cluster.all-mcp-ocata-common
+ - cluster.baremetal-mcp-ocata-ovs-dpdk-ha.openstack
+ # - cluster.baremetal-mcp-ocata-ovs-dpdk-ha.stacklight
+ # - cluster.baremetal-mcp-ocata-ovs-dpdk-ha.stacklight.client
parameters:
_param:
apt_mk_version: nightly
mcp_repo_version: 1.1
cluster_name: baremetal-mcp-ocata-ovs-dpdk-ha
cluster_domain: ${_param:cluster_name}.local
-# stacklight_environment: ${_param:cluster_domain}
+ # stacklight_environment: ${_param:cluster_domain}
reclass_data_revision: master
cluster_public_host: ${_param:openstack_proxy_address}
infra_config_hostname: cfg01
address: ${_param:single_address}
netmask: 255.255.255.0
+ # yamllint disable-line rule:line-length
salt_api_password_hash: "$6$WV0P1shnoDh2gI/Z$22/Bcd7ffMv0jDlFpT63cAU4PiXHz9pjXwngToKwqAsgoeK4HNR3PiKaushjxp3JsQ8hNoJmAC6TxzVqfV8WH/"
linux:
system:
cfg01:
address: ${_param:infra_config_address}
names:
- - cfg01
- - cfg01.${_param:cluster_domain}
+ - cfg01
+ - cfg01.${_param:cluster_domain}
cfg:
address: ${_param:infra_config_address}
names:
- - ${_param:infra_config_hostname}
- - ${_param:infra_config_hostname}.${_param:cluster_domain}
+ - ${_param:infra_config_hostname}
+ - ${_param:infra_config_hostname}.${_param:cluster_domain}
mas01:
address: ${_param:infra_maas_node01_address}
names:
- - ${_param:infra_maas_node01_hostname}
- - ${_param:infra_maas_node01_hostname}.${_param:cluster_domain}
+ - ${_param:infra_maas_node01_hostname}
+ - ${_param:infra_maas_node01_hostname}.${_param:cluster_domain}
kvm01:
address: ${_param:infra_kvm_node01_address}
names:
- - ${_param:infra_kvm_node01_hostname}
- - ${_param:infra_kvm_node01_hostname}.${_param:cluster_domain}
+ - ${_param:infra_kvm_node01_hostname}
+ - ${_param:infra_kvm_node01_hostname}.${_param:cluster_domain}
kvm02:
address: ${_param:infra_kvm_node02_address}
names:
- - ${_param:infra_kvm_node02_hostname}
- - ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain}
+ - ${_param:infra_kvm_node02_hostname}
+ - ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain}
kvm03:
address: ${_param:infra_kvm_node03_address}
names:
- - ${_param:infra_kvm_node03_hostname}
- - ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
+ - ${_param:infra_kvm_node03_hostname}
+ - ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
+---
classes:
-- system.linux.system.repo.mcp.openstack
-- system.linux.system.repo.mcp.extra
-- system.linux.system.repo.saltstack.xenial
-- service.keepalived.cluster.single
-- system.glusterfs.server.volume.glance
-- system.glusterfs.server.volume.keystone
-- system.glusterfs.server.cluster
-- system.salt.control.virt
-- system.salt.control.cluster.openstack_control_cluster
-- system.salt.control.cluster.openstack_proxy_cluster
-- system.salt.control.cluster.openstack_database_cluster
-- system.salt.control.cluster.openstack_message_queue_cluster
-- system.salt.control.cluster.openstack_telemetry_cluster
-# - system.salt.control.cluster.stacklight_server_cluster
-# - system.salt.control.cluster.stacklight_log_cluster
-# - system.salt.control.cluster.stacklight_telemetry_cluster
-- cluster.baremetal-mcp-ocata-ovs-dpdk-ha.infra
+ - system.linux.system.repo.mcp.openstack
+ - system.linux.system.repo.mcp.extra
+ - system.linux.system.repo.saltstack.xenial
+ - service.keepalived.cluster.single
+ - system.glusterfs.server.volume.glance
+ - system.glusterfs.server.volume.keystone
+ - system.glusterfs.server.cluster
+ - system.salt.control.virt
+ - system.salt.control.cluster.openstack_control_cluster
+ - system.salt.control.cluster.openstack_proxy_cluster
+ - system.salt.control.cluster.openstack_database_cluster
+ - system.salt.control.cluster.openstack_message_queue_cluster
+ - system.salt.control.cluster.openstack_telemetry_cluster
+ # - system.salt.control.cluster.stacklight_server_cluster
+ # - system.salt.control.cluster.stacklight_log_cluster
+ # - system.salt.control.cluster.stacklight_telemetry_cluster
+ - cluster.baremetal-mcp-ocata-ovs-dpdk-ha.infra
parameters:
_param:
linux_system_codename: xenial
deploy_nic: enp6s0
salt:
control:
- size: #RAM 4096,8192,16384,32768,65536
- ##Default production sizing
+ size: # RAM 4096,8192,16384,32768,65536
+ # Default production sizing
openstack.control:
cpu: 4
ram: 12288
ram: 2048
disk_profile: small
net_profile: default
-# stacklight.log:
-# cpu: 2
-# ram: 4096
-# disk_profile: xxlarge
-# net_profile: default
-# stacklight.server:
-# cpu: 2
-# ram: 4096
-# disk_profile: small
-# net_profile: default
-# stacklight.telemetry:
-# cpu: 2
-# ram: 4096
-# disk_profile: xxlarge
-# net_profile: default
+ # stacklight.log:
+ # cpu: 2
+ # ram: 4096
+ # disk_profile: xxlarge
+ # net_profile: default
+ # stacklight.server:
+ # cpu: 2
+ # ram: 4096
+ # disk_profile: small
+ # net_profile: default
+ # stacklight.telemetry:
+ # cpu: 2
+ # ram: 4096
+ # disk_profile: xxlarge
+ # net_profile: default
cluster:
internal:
node:
- ${_param:cluster_node02_address}:/srv/glusterfs/nova_instances
- ${_param:cluster_node03_address}:/srv/glusterfs/nova_instances
options:
- cluster.readdir-optimize: On
- nfs.disable: On
- network.remote-dio: On
+ cluster.readdir-optimize: 'On'
+ nfs.disable: 'On'
+ network.remote-dio: 'On'
diagnostics.client-log-level: WARNING
diagnostics.brick-log-level: WARNING
linux:
proto: dhcp
type: bridge
name_servers:
- - 8.8.8.8
- - 8.8.4.4
+ - 8.8.8.8
+ - 8.8.4.4
use_interfaces:
- - ${_param:deploy_nic}
+ - ${_param:deploy_nic}
noifupdown: true
vlan300:
enabled: true
type: vlan
name: ${_param:deploy_nic}.300
use_interfaces:
- - ${_param:deploy_nic}
+ - ${_param:deploy_nic}
br-ctl:
enabled: true
type: bridge
address: ${_param:single_address}
netmask: 255.255.255.0
use_interfaces:
- - ${_param:deploy_nic}.300
+ - ${_param:deploy_nic}.300
+---
classes:
-- system.linux.system.repo.saltstack.xenial
-- system.maas.region.single
-- cluster.baremetal-mcp-ocata-ovs-dpdk-ha.infra
+ - system.linux.system.repo.saltstack.xenial
+ - system.maas.region.single
+ - cluster.baremetal-mcp-ocata-ovs-dpdk-ha.infra
parameters:
_param:
dhcp_interface: ens3
+---
classes:
-- cluster.all-mcp-ocata-common
-- cluster.baremetal-mcp-ocata-ovs-dpdk-ha.infra
-- cluster.baremetal-mcp-ocata-ovs-dpdk-ha.openstack
+ - cluster.all-mcp-ocata-common
+ - cluster.baremetal-mcp-ocata-ovs-dpdk-ha.infra
+ - cluster.baremetal-mcp-ocata-ovs-dpdk-ha.openstack
+---
classes:
-- cluster.baremetal-mcp-ocata-ovs-dpdk-ha
+ - cluster.baremetal-mcp-ocata-ovs-dpdk-ha
parameters:
linux:
network:
+---
classes:
-- system.linux.system.repo.mcp.openstack
-- system.linux.system.repo.mcp.extra
-- system.linux.system.repo.saltstack.xenial
-- system.linux.storage.loopback
-- system.glusterfs.client.cluster
-- system.nova.compute.cluster
-- system.nova.compute.nfv.hugepages
-- system.nova.compute.nfv.cpu_pinning
-- system.neutron.compute.nfv.dpdk
-- system.neutron.gateway.cluster
-- system.cinder.volume.single
-- system.cinder.volume.backend.lvm
-- system.ceilometer.agent.cluster
-- cluster.baremetal-mcp-ocata-ovs-dpdk-ha.infra
+ - system.linux.system.repo.mcp.openstack
+ - system.linux.system.repo.mcp.extra
+ - system.linux.system.repo.saltstack.xenial
+ - system.linux.storage.loopback
+ - system.glusterfs.client.cluster
+ - system.nova.compute.cluster
+ - system.nova.compute.nfv.hugepages
+ - system.nova.compute.nfv.cpu_pinning
+ - system.neutron.compute.nfv.dpdk
+ - system.neutron.gateway.cluster
+ - system.cinder.volume.single
+ - system.cinder.volume.backend.lvm
+ - system.ceilometer.agent.cluster
+ - cluster.baremetal-mcp-ocata-ovs-dpdk-ha.infra
parameters:
_param:
cluster_vip_address: ${_param:openstack_control_address}
loopback_device_size: 20
neutron:
gateway:
- dpdk: True
+ dpdk: 'True'
backend:
tenant_vlan_range: ${_param:neutron_tenant_vlan_range}
nova:
server: ${_param:glusterfs_service_host}
user: nova
group: nova
+ # yamllint disable-line rule:line-length
opts: "defaults,backup-volfile-servers=${_param:cluster_node01_address}:${_param:cluster_node02_address}:${_param:cluster_node03_address}"
linux:
system:
vm.dirty_background_ratio: 5
repo:
uca:
+ # yamllint disable-line rule:line-length
source: "deb http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/ocata main"
architectures: amd64
key_id: EC4926EA
type: vlan
name: ${_param:mgmt_nic}.300
use_interfaces:
- - ${_param:mgmt_nic}
+ - ${_param:mgmt_nic}
br-ctl:
enabled: true
type: bridge
address: ${_param:single_address}
netmask: 255.255.255.0
use_interfaces:
- - ${_param:mgmt_nic}.300
+ - ${_param:mgmt_nic}.300
br-floating:
enabled: true
type: ovs_bridge
address: ${_param:external_address}
netmask: 255.255.255.0
use_interfaces:
- - ${_param:external_nic}
+ - ${_param:external_nic}
use_ovs_ports:
- - float-to-ex
+ - float-to-ex
dpdk0:
name: ${_param:dpdk0_name}
pci: ${_param:dpdk0_pci}
+---
classes:
-- system.linux.system.repo.mcp.openstack
-- system.linux.system.repo.mcp.extra
-- system.linux.system.repo.saltstack.xenial
-- system.ceilometer.client
-- system.memcached.server.single
-- system.keystone.server.cluster
-- system.keystone.server.wsgi
-- system.glance.control.cluster
-- system.neutron.control.openvswitch.cluster
-- system.nova.control.cluster
-- system.cinder.control.cluster
-- system.cinder.control.backend.lvm
-- system.heat.server.cluster
-- system.designate.server.cluster
-- system.designate.server.backend.bind
-- system.bind.server.single
-- system.haproxy.proxy.listen.openstack.nova-placement
-- system.haproxy.proxy.listen.openstack.glare
-- system.glusterfs.client.cluster
-- system.glusterfs.client.volume.glance
-- system.glusterfs.client.volume.keystone
-- cluster.baremetal-mcp-ocata-ovs-dpdk-ha.infra
+ - system.linux.system.repo.mcp.openstack
+ - system.linux.system.repo.mcp.extra
+ - system.linux.system.repo.saltstack.xenial
+ - system.ceilometer.client
+ - system.memcached.server.single
+ - system.keystone.server.cluster
+ - system.keystone.server.wsgi
+ - system.glance.control.cluster
+ - system.neutron.control.openvswitch.cluster
+ - system.nova.control.cluster
+ - system.cinder.control.cluster
+ - system.cinder.control.backend.lvm
+ - system.heat.server.cluster
+ - system.designate.server.cluster
+ - system.designate.server.backend.bind
+ - system.bind.server.single
+ - system.haproxy.proxy.listen.openstack.nova-placement
+ - system.haproxy.proxy.listen.openstack.glare
+ - system.glusterfs.client.cluster
+ - system.glusterfs.client.volume.glance
+ - system.glusterfs.client.volume.keystone
+ - cluster.baremetal-mcp-ocata-ovs-dpdk-ha.infra
parameters:
_param:
keepalived_vip_interface: ens3
+---
classes:
-- system.keystone.client.single
-- system.keystone.client.service.aodh
-- system.keystone.client.service.ceilometer
-- system.keystone.client.service.nova21
-- system.keystone.client.service.nova-placement
-- system.keystone.client.service.glare
-- system.keystone.client.service.cinder3
-- system.keystone.client.service.designate
+ - system.keystone.client.single
+ - system.keystone.client.service.aodh
+ - system.keystone.client.service.ceilometer
+ - system.keystone.client.service.nova21
+ - system.keystone.client.service.nova-placement
+ - system.keystone.client.service.glare
+ - system.keystone.client.service.cinder3
+ - system.keystone.client.service.designate
+---
classes:
-- system.horizon.server.single
-- cluster.baremetal-mcp-ocata-ovs-dpdk-ha
+ - system.horizon.server.single
+ - cluster.baremetal-mcp-ocata-ovs-dpdk-ha
parameters:
_param:
horizon_site_branding: OpenStack Dashboard
+---
classes:
-- system.linux.system.repo.mcp.openstack
-- system.linux.system.repo.mcp.extra
-- system.linux.system.repo.saltstack.xenial
-- system.galera.server.cluster
-- system.galera.server.database.aodh
-- system.galera.server.database.ceilometer
-- system.galera.server.database.cinder
-- system.galera.server.database.designate
-- system.galera.server.database.glance
-- system.galera.server.database.grafana
-- system.galera.server.database.heat
-- system.galera.server.database.keystone
-- system.galera.server.database.nova
-- system.galera.server.database.neutron
-- cluster.baremetal-mcp-ocata-ovs-dpdk-ha
+ - system.linux.system.repo.mcp.openstack
+ - system.linux.system.repo.mcp.extra
+ - system.linux.system.repo.saltstack.xenial
+ - system.galera.server.cluster
+ - system.galera.server.database.aodh
+ - system.galera.server.database.ceilometer
+ - system.galera.server.database.cinder
+ - system.galera.server.database.designate
+ - system.galera.server.database.glance
+ - system.galera.server.database.grafana
+ - system.galera.server.database.heat
+ - system.galera.server.database.keystone
+ - system.galera.server.database.nova
+ - system.galera.server.database.neutron
+ - cluster.baremetal-mcp-ocata-ovs-dpdk-ha
parameters:
_param:
keepalived_vip_interface: ens3
+---
classes:
-- system.mysql.client.single
+ - system.mysql.client.single
+---
parameters:
_param:
openstack_region: RegionOne
admin_email: root@localhost
- ##Neutron osv/nodvr
- neutron_control_dvr: False
+ # Neutron osv/nodvr
+ neutron_control_dvr: 'False'
neutron_tenant_network_types: "flat,vlan"
- neutron_l3_ha: True
+ neutron_l3_ha: 'True'
neutron_global_physnet_mtu: 1500
neutron_external_mtu: 1500
- neutron_gateway_dvr: False
+ neutron_gateway_dvr: 'False'
neutron_gateway_agent_mode: legacy
- neutron_compute_dvr: False
+ neutron_compute_dvr: 'False'
neutron_compute_agent_mode: legacy
- neutron_compute_external_access: True
+ neutron_compute_external_access: 'True'
galera_server_cluster_name: openstack_cluster
galera_server_maintenance_password: opnfv_secret
galera_server_admin_password: opnfv_secret
keystone_designate_password: opnfv_secret
ceilometer_secret_key: opnfv_secret
horizon_version: ${_param:openstack_version}
+ # yamllint disable rule:line-length
horizon_secret_key: opaesee8Que2yahJoh9fo0eefo1Aeyo6ahyei8zeiboh3aeth5loth7ieNa5xi5e
horizon_identity_host: ${_param:openstack_control_address}
horizon_identity_encryption: none
rndc_key_file: /etc/designate/rndc.key
designate_version: ${_param:openstack_version}
# Billing
- #keystone_billometer_password: opnfv_secret
- #keystone_billometer_address: ${_param:billometer_service_host}
- #billometer_service_host: ${_param:openstack_billing_address}
- #billometer_version: ${_param:openstack_version}
- #billometer_secret_key: opnfv_secretpasswordpasswordpassword
- #billometer_identity_password: ${_param:keystone_billometer_password}
- #billometer_identity_host: ${_param:openstack_control_address}
- #billometer_identity_token: ${_param:keystone_service_token}
+ # keystone_billometer_password: opnfv_secret
+ # keystone_billometer_address: ${_param:billometer_service_host}
+ # billometer_service_host: ${_param:openstack_billing_address}
+ # billometer_version: ${_param:openstack_version}
+ # billometer_secret_key: opnfv_secretpasswordpasswordpassword
+ # billometer_identity_password: ${_param:keystone_billometer_password}
+ # billometer_identity_host: ${_param:openstack_control_address}
+ # billometer_identity_token: ${_param:keystone_service_token}
linux:
system:
repo:
prx:
address: ${_param:openstack_proxy_address}
names:
- - ${_param:openstack_proxy_hostname}
- - ${_param:openstack_proxy_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_proxy_hostname}
+ - ${_param:openstack_proxy_hostname}.${_param:cluster_domain}
prx01:
address: ${_param:openstack_proxy_node01_address}
names:
- - ${_param:openstack_proxy_node01_hostname}
- - ${_param:openstack_proxy_node01_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_proxy_node01_hostname}
+ - ${_param:openstack_proxy_node01_hostname}.${_param:cluster_domain}
prx02:
address: ${_param:openstack_proxy_node02_address}
names:
- - ${_param:openstack_proxy_node02_hostname}
- - ${_param:openstack_proxy_node02_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_proxy_node02_hostname}
+ - ${_param:openstack_proxy_node02_hostname}.${_param:cluster_domain}
ctl:
address: ${_param:openstack_control_address}
names:
- - ${_param:openstack_control_hostname}
- - ${_param:openstack_control_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_control_hostname}
+ - ${_param:openstack_control_hostname}.${_param:cluster_domain}
ctl01:
address: ${_param:openstack_control_node01_address}
names:
- - ${_param:openstack_control_node01_hostname}
- - ${_param:openstack_control_node01_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_control_node01_hostname}
+ - ${_param:openstack_control_node01_hostname}.${_param:cluster_domain}
ctl02:
address: ${_param:openstack_control_node02_address}
names:
- - ${_param:openstack_control_node02_hostname}
- - ${_param:openstack_control_node02_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_control_node02_hostname}
+ - ${_param:openstack_control_node02_hostname}.${_param:cluster_domain}
ctl03:
address: ${_param:openstack_control_node03_address}
names:
- - ${_param:openstack_control_node03_hostname}
- - ${_param:openstack_control_node03_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_control_node03_hostname}
+ - ${_param:openstack_control_node03_hostname}.${_param:cluster_domain}
msg:
address: ${_param:openstack_message_queue_address}
names:
- - ${_param:openstack_message_queue_hostname}
- - ${_param:openstack_message_queue_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_message_queue_hostname}
+ - ${_param:openstack_message_queue_hostname}.${_param:cluster_domain}
msg01:
address: ${_param:openstack_message_queue_node01_address}
names:
- - ${_param:openstack_message_queue_node01_hostname}
- - ${_param:openstack_message_queue_node01_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_message_queue_node01_hostname}
+ - ${_param:openstack_message_queue_node01_hostname}.${_param:cluster_domain}
msg02:
address: ${_param:openstack_message_queue_node02_address}
names:
- - ${_param:openstack_message_queue_node02_hostname}
- - ${_param:openstack_message_queue_node02_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_message_queue_node02_hostname}
+ - ${_param:openstack_message_queue_node02_hostname}.${_param:cluster_domain}
msg03:
address: ${_param:openstack_message_queue_node03_address}
names:
- - ${_param:openstack_message_queue_node03_hostname}
- - ${_param:openstack_message_queue_node03_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_message_queue_node03_hostname}
+ - ${_param:openstack_message_queue_node03_hostname}.${_param:cluster_domain}
dbs:
address: ${_param:openstack_database_address}
names:
- - ${_param:openstack_database_hostname}
- - ${_param:openstack_database_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_database_hostname}
+ - ${_param:openstack_database_hostname}.${_param:cluster_domain}
dbs01:
address: ${_param:openstack_database_node01_address}
names:
- - ${_param:openstack_database_node01_hostname}
- - ${_param:openstack_database_node01_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_database_node01_hostname}
+ - ${_param:openstack_database_node01_hostname}.${_param:cluster_domain}
dbs02:
address: ${_param:openstack_database_node02_address}
names:
- - ${_param:openstack_database_node02_hostname}
- - ${_param:openstack_database_node02_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_database_node02_hostname}
+ - ${_param:openstack_database_node02_hostname}.${_param:cluster_domain}
dbs03:
address: ${_param:openstack_database_node03_address}
names:
- - ${_param:openstack_database_node03_hostname}
- - ${_param:openstack_database_node03_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_database_node03_hostname}
+ - ${_param:openstack_database_node03_hostname}.${_param:cluster_domain}
mdb:
address: ${_param:openstack_telemetry_address}
names:
- - ${_param:openstack_telemetry_hostname}
- - ${_param:openstack_telemetry_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_telemetry_hostname}
+ - ${_param:openstack_telemetry_hostname}.${_param:cluster_domain}
mdb01:
address: ${_param:openstack_telemetry_node01_address}
names:
- - ${_param:openstack_telemetry_node01_hostname}
- - ${_param:openstack_telemetry_node01_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_telemetry_node01_hostname}
+ - ${_param:openstack_telemetry_node01_hostname}.${_param:cluster_domain}
mdb02:
address: ${_param:openstack_telemetry_node02_address}
names:
- - ${_param:openstack_telemetry_node02_hostname}
- - ${_param:openstack_telemetry_node02_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_telemetry_node02_hostname}
+ - ${_param:openstack_telemetry_node02_hostname}.${_param:cluster_domain}
mdb03:
address: ${_param:openstack_telemetry_node03_address}
names:
- - ${_param:openstack_telemetry_node03_hostname}
- - ${_param:openstack_telemetry_node03_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_telemetry_node03_hostname}
+ - ${_param:openstack_telemetry_node03_hostname}.${_param:cluster_domain}
cmp001:
address: ${_param:openstack_compute_node01_control_address}
names:
- - ${_param:openstack_compute_node01_hostname}
- - ${_param:openstack_compute_node01_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_compute_node01_hostname}
+ - ${_param:openstack_compute_node01_hostname}.${_param:cluster_domain}
cmp002:
address: ${_param:openstack_compute_node02_control_address}
names:
- - ${_param:openstack_compute_node02_hostname}
- - ${_param:openstack_compute_node02_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_compute_node02_hostname}
+ - ${_param:openstack_compute_node02_hostname}.${_param:cluster_domain}
# gtw01:
# address: ${_param:openstack_gateway_node01_address}
# names:
+---
classes:
-- system.linux.system.repo.mcp.openstack
-- system.linux.system.repo.mcp.extra
-- system.linux.system.repo.saltstack.xenial
-- system.rabbitmq.server.cluster
-- system.rabbitmq.server.vhost.openstack
-- cluster.baremetal-mcp-ocata-ovs-dpdk-ha
+ - system.linux.system.repo.mcp.openstack
+ - system.linux.system.repo.mcp.extra
+ - system.linux.system.repo.saltstack.xenial
+ - system.rabbitmq.server.cluster
+ - system.rabbitmq.server.vhost.openstack
+ - cluster.baremetal-mcp-ocata-ovs-dpdk-ha
parameters:
_param:
keepalived_vip_interface: ens3
+---
classes:
-- system.linux.system.repo.mcp.openstack
-- system.linux.system.repo.mcp.extra
-- system.linux.system.repo.saltstack.xenial
-- system.nginx.server.single
-- system.nginx.server.proxy.openstack_api
-- system.nginx.server.proxy.openstack_vnc
-- system.nginx.server.proxy.openstack_web
-- system.nginx.server.proxy.openstack.aodh
-- system.nginx.server.proxy.openstack.ceilometer
-- system.horizon.server.single
-- system.salt.minion.cert.proxy
-- system.sphinx.server.doc.reclass
-- service.keepalived.cluster.single
-- cluster.baremetal-mcp-ocata-ovs-dpdk-ha.infra
-- cluster.baremetal-mcp-ocata-ovs-dpdk-ha.openstack.dashboard
+ - system.linux.system.repo.mcp.openstack
+ - system.linux.system.repo.mcp.extra
+ - system.linux.system.repo.saltstack.xenial
+ - system.nginx.server.single
+ - system.nginx.server.proxy.openstack_api
+ - system.nginx.server.proxy.openstack_vnc
+ - system.nginx.server.proxy.openstack_web
+ - system.nginx.server.proxy.openstack.aodh
+ - system.nginx.server.proxy.openstack.ceilometer
+ - system.horizon.server.single
+ - system.salt.minion.cert.proxy
+ - system.sphinx.server.doc.reclass
+ - service.keepalived.cluster.single
+ - cluster.baremetal-mcp-ocata-ovs-dpdk-ha.infra
+ - cluster.baremetal-mcp-ocata-ovs-dpdk-ha.openstack.dashboard
# - cluster.baremetal-mcp-ocata-ovs-dpdk-ha.stacklight.proxy
parameters:
_param:
+---
classes:
-- system.linux.system.repo.mcp.openstack
-- system.linux.system.repo.mcp.extra
-- system.linux.system.repo.saltstack.xenial
-- system.mongodb.server.cluster
-- system.mongodb.server.database.ceilometer
-- system.ceilometer.server.backend.mongodb
-# - system.ceilometer.server.backend.influxdb
-# - system.heka.ceilometer_collector.single
-- system.ceilometer.server.cluster
-- system.aodh.server.cluster
-- cluster.baremetal-mcp-ocata-ovs-dpdk-ha.infra
+ - system.linux.system.repo.mcp.openstack
+ - system.linux.system.repo.mcp.extra
+ - system.linux.system.repo.saltstack.xenial
+ - system.mongodb.server.cluster
+ - system.mongodb.server.database.ceilometer
+ - system.ceilometer.server.backend.mongodb
+ # - system.ceilometer.server.backend.influxdb
+ # - system.heka.ceilometer_collector.single
+ - system.ceilometer.server.cluster
+ - system.aodh.server.cluster
+ - cluster.baremetal-mcp-ocata-ovs-dpdk-ha.infra
parameters:
_param:
keepalived_openstack_telemetry_vip_interface: ens3
+---
classes:
-- service.git.client
-- system.linux.system.single
-- system.linux.system.repo.mcp.salt
-- system.linux.system.repo.saltstack.xenial
-- system.salt.master.api
-- system.salt.master.pkg
-- system.salt.minion.ca.salt_master
-- system.reclass.storage.salt
-- system.reclass.storage.system.physical_control_cluster
-- system.reclass.storage.system.openstack_control_cluster
-- system.reclass.storage.system.openstack_proxy_cluster
-- system.reclass.storage.system.openstack_database_cluster
-- system.reclass.storage.system.openstack_message_queue_cluster
-- system.reclass.storage.system.openstack_telemetry_cluster
-# - system.reclass.storage.system.stacklight_log_cluster
-# - system.reclass.storage.system.stacklight_monitor_cluster
-# - system.reclass.storage.system.stacklight_telemetry_cluster
-- system.reclass.storage.system.infra_maas_single
-- cluster.baremetal-mcp-ocata-ovs-ha.infra
+ - service.git.client
+ - system.linux.system.single
+ - system.linux.system.repo.mcp.salt
+ - system.linux.system.repo.saltstack.xenial
+ - system.salt.master.api
+ - system.salt.master.pkg
+ - system.salt.minion.ca.salt_master
+ - system.reclass.storage.salt
+ - system.reclass.storage.system.physical_control_cluster
+ - system.reclass.storage.system.openstack_control_cluster
+ - system.reclass.storage.system.openstack_proxy_cluster
+ - system.reclass.storage.system.openstack_database_cluster
+ - system.reclass.storage.system.openstack_message_queue_cluster
+ - system.reclass.storage.system.openstack_telemetry_cluster
+ # - system.reclass.storage.system.stacklight_log_cluster
+ # - system.reclass.storage.system.stacklight_monitor_cluster
+ # - system.reclass.storage.system.stacklight_telemetry_cluster
+ - system.reclass.storage.system.infra_maas_single
+ - cluster.baremetal-mcp-ocata-ovs-ha.infra
parameters:
_param:
salt_master_base_environment: prd
single_address: ${_param:infra_config_address}
deploy_address: ${_param:infra_config_deploy_address}
salt_master_host: ${_param:infra_config_deploy_address}
+ # yamllint disable rule:line-length
salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1"
linux:
network:
openstack_proxy_node02:
params:
linux_system_codename: xenial
-# stacklight_log_node01:
-# classes:
-# - system.elasticsearch.client.single
-# stacklight_monitor_node01:
-# classes:
-# - system.grafana.client.single
-# - system.kibana.client.single
+ # stacklight_log_node01:
+ # classes:
+ # - system.elasticsearch.client.single
+ # stacklight_monitor_node01:
+ # classes:
+ # - system.grafana.client.single
+ # - system.kibana.client.single
openstack_control_node01:
classes:
- - cluster.${_param:cluster_name}.openstack.control_init
+ - cluster.${_param:cluster_name}.openstack.control_init
params:
linux_system_codename: xenial
openstack_control_node02:
linux_system_codename: xenial
openstack_database_node01:
classes:
- - cluster.${_param:cluster_name}.openstack.database_init
+ - cluster.${_param:cluster_name}.openstack.database_init
params:
linux_system_codename: xenial
openstack_database_node02:
name: ${_param:openstack_compute_node01_hostname}
domain: ${_param:cluster_domain}
classes:
- - cluster.${_param:cluster_name}.openstack.compute
+ - cluster.${_param:cluster_name}.openstack.compute
params:
salt_master_host: ${_param:reclass_config_master}
linux_system_codename: xenial
name: ${_param:openstack_compute_node02_hostname}
domain: ${_param:cluster_domain}
classes:
- - cluster.${_param:cluster_name}.openstack.compute
+ - cluster.${_param:cluster_name}.openstack.compute
params:
salt_master_host: ${_param:reclass_config_master}
linux_system_codename: xenial
+---
classes:
-- system.linux.system.single
-- cluster.all-mcp-ocata-common
-- cluster.baremetal-mcp-ocata-ovs-ha.openstack
-# - cluster.baremetal-mcp-ocata-ovs-ha.stacklight
-# - cluster.baremetal-mcp-ocata-ovs-ha.stacklight.client
+ - system.linux.system.single
+ - cluster.all-mcp-ocata-common
+ - cluster.baremetal-mcp-ocata-ovs-ha.openstack
+ # - cluster.baremetal-mcp-ocata-ovs-ha.stacklight
+ # - cluster.baremetal-mcp-ocata-ovs-ha.stacklight.client
parameters:
_param:
apt_mk_version: nightly
mcp_repo_version: 1.1
cluster_name: baremetal-mcp-ocata-ovs-ha
cluster_domain: ${_param:cluster_name}.local
-# stacklight_environment: ${_param:cluster_domain}
+ # stacklight_environment: ${_param:cluster_domain}
reclass_data_revision: master
cluster_public_host: ${_param:openstack_proxy_address}
infra_config_hostname: cfg01
address: ${_param:single_address}
netmask: 255.255.255.0
+ # yamllint disable-line rule:line-length
salt_api_password_hash: "$6$WV0P1shnoDh2gI/Z$22/Bcd7ffMv0jDlFpT63cAU4PiXHz9pjXwngToKwqAsgoeK4HNR3PiKaushjxp3JsQ8hNoJmAC6TxzVqfV8WH/"
linux:
system:
cfg01:
address: ${_param:infra_config_address}
names:
- - cfg01
- - cfg01.${_param:cluster_domain}
+ - cfg01
+ - cfg01.${_param:cluster_domain}
cfg:
address: ${_param:infra_config_address}
names:
- - ${_param:infra_config_hostname}
- - ${_param:infra_config_hostname}.${_param:cluster_domain}
+ - ${_param:infra_config_hostname}
+ - ${_param:infra_config_hostname}.${_param:cluster_domain}
mas01:
address: ${_param:infra_maas_node01_address}
names:
- - ${_param:infra_maas_node01_hostname}
- - ${_param:infra_maas_node01_hostname}.${_param:cluster_domain}
+ - ${_param:infra_maas_node01_hostname}
+ - ${_param:infra_maas_node01_hostname}.${_param:cluster_domain}
kvm01:
address: ${_param:infra_kvm_node01_address}
names:
- - ${_param:infra_kvm_node01_hostname}
- - ${_param:infra_kvm_node01_hostname}.${_param:cluster_domain}
+ - ${_param:infra_kvm_node01_hostname}
+ - ${_param:infra_kvm_node01_hostname}.${_param:cluster_domain}
kvm02:
address: ${_param:infra_kvm_node02_address}
names:
- - ${_param:infra_kvm_node02_hostname}
- - ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain}
+ - ${_param:infra_kvm_node02_hostname}
+ - ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain}
kvm03:
address: ${_param:infra_kvm_node03_address}
names:
- - ${_param:infra_kvm_node03_hostname}
- - ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
+ - ${_param:infra_kvm_node03_hostname}
+ - ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
+---
classes:
-- system.linux.system.repo.mcp.openstack
-- system.linux.system.repo.mcp.extra
-- system.linux.system.repo.saltstack.xenial
-- service.keepalived.cluster.single
-- system.glusterfs.server.volume.glance
-- system.glusterfs.server.volume.keystone
-- system.glusterfs.server.cluster
-- system.salt.control.virt
-- system.salt.control.cluster.openstack_control_cluster
-- system.salt.control.cluster.openstack_proxy_cluster
-- system.salt.control.cluster.openstack_database_cluster
-- system.salt.control.cluster.openstack_message_queue_cluster
-- system.salt.control.cluster.openstack_telemetry_cluster
-# - system.salt.control.cluster.stacklight_server_cluster
-# - system.salt.control.cluster.stacklight_log_cluster
-# - system.salt.control.cluster.stacklight_telemetry_cluster
-- cluster.baremetal-mcp-ocata-ovs-ha.infra
+ - system.linux.system.repo.mcp.openstack
+ - system.linux.system.repo.mcp.extra
+ - system.linux.system.repo.saltstack.xenial
+ - service.keepalived.cluster.single
+ - system.glusterfs.server.volume.glance
+ - system.glusterfs.server.volume.keystone
+ - system.glusterfs.server.cluster
+ - system.salt.control.virt
+ - system.salt.control.cluster.openstack_control_cluster
+ - system.salt.control.cluster.openstack_proxy_cluster
+ - system.salt.control.cluster.openstack_database_cluster
+ - system.salt.control.cluster.openstack_message_queue_cluster
+ - system.salt.control.cluster.openstack_telemetry_cluster
+ # - system.salt.control.cluster.stacklight_server_cluster
+ # - system.salt.control.cluster.stacklight_log_cluster
+ # - system.salt.control.cluster.stacklight_telemetry_cluster
+ - cluster.baremetal-mcp-ocata-ovs-ha.infra
parameters:
_param:
linux_system_codename: xenial
deploy_nic: enp6s0
salt:
control:
- size: #RAM 4096,8192,16384,32768,65536
- ##Default production sizing
+ size: # RAM 4096,8192,16384,32768,65536
+ # Default production sizing
openstack.control:
cpu: 4
ram: 12288
ram: 3072
disk_profile: xxlarge
net_profile: default
+ # stacklight.log:
+ # cpu: 2
+ # ram: 4096
+ # disk_profile: xxlarge
+ # net_profile: default
+ # stacklight.server:
+ # cpu: 2
+ # ram: 4096
+ # disk_profile: small
+ # net_profile: default
+ # stacklight.telemetry:
+ # cpu: 2
+ # ram: 4096
+ # disk_profile: xxlarge
+ # net_profile: default
openstack.proxy:
cpu: 2
ram: 2048
disk_profile: small
net_profile: default
-# stacklight.log:
-# cpu: 2
-# ram: 4096
-# disk_profile: xxlarge
-# net_profile: default
-# stacklight.server:
-# cpu: 2
-# ram: 4096
-# disk_profile: small
-# net_profile: default
-# stacklight.telemetry:
-# cpu: 2
-# ram: 4096
-# disk_profile: xxlarge
-# net_profile: default
cluster:
internal:
node:
- prx02:
- provider: kvm03.${_param:cluster_domain}
mdb01:
image: ${_param:salt_control_xenial_image}
mdb02:
image: ${_param:salt_control_xenial_image}
prx02:
image: ${_param:salt_control_xenial_image}
+ provider: kvm03.${_param:cluster_domain}
virt:
nic:
default:
- ${_param:cluster_node02_address}:/srv/glusterfs/nova_instances
- ${_param:cluster_node03_address}:/srv/glusterfs/nova_instances
options:
- cluster.readdir-optimize: On
- nfs.disable: On
- network.remote-dio: On
+ cluster.readdir-optimize: 'On'
+ nfs.disable: 'On'
+ network.remote-dio: 'On'
diagnostics.client-log-level: WARNING
diagnostics.brick-log-level: WARNING
linux:
type: bridge
name_servers: ${_param:opnfv_name_servers}
use_interfaces:
- - ${_param:deploy_nic}
+ - ${_param:deploy_nic}
noifupdown: true
mgmt-vlan:
enabled: true
type: vlan
name: ${_param:deploy_nic}.${_param:opnfv_net_mgmt_vlan}
use_interfaces:
- - ${_param:deploy_nic}
+ - ${_param:deploy_nic}
br-ctl:
enabled: true
type: bridge
address: ${_param:single_address}
netmask: 255.255.255.0
use_interfaces:
- - ${_param:deploy_nic}.${_param:opnfv_net_mgmt_vlan}
+ - ${_param:deploy_nic}.${_param:opnfv_net_mgmt_vlan}
+---
classes:
-- system.linux.system.repo.saltstack.xenial
-- system.maas.region.single
-- cluster.baremetal-mcp-ocata-ovs-ha.infra
+ - system.linux.system.repo.saltstack.xenial
+ - system.maas.region.single
+ - cluster.baremetal-mcp-ocata-ovs-ha.infra
parameters:
_param:
dhcp_interface: ens3
+---
classes:
-- cluster.all-mcp-ocata-common
-- cluster.baremetal-mcp-ocata-ovs-ha.infra
-- cluster.baremetal-mcp-ocata-ovs-ha.openstack
+ - cluster.all-mcp-ocata-common
+ - cluster.baremetal-mcp-ocata-ovs-ha.infra
+ - cluster.baremetal-mcp-ocata-ovs-ha.openstack
+---
classes:
-- cluster.baremetal-mcp-ocata-ovs-ha
+ - cluster.baremetal-mcp-ocata-ovs-ha
parameters:
linux:
network:
+---
classes:
-- system.linux.system.repo.mcp.openstack
-- system.linux.system.repo.mcp.extra
-- system.linux.system.repo.saltstack.xenial
-- system.linux.storage.loopback
-- system.glusterfs.client.cluster
-- system.nova.compute.cluster
-- system.nova.compute.nfv.hugepages
-- system.nova.compute.nfv.cpu_pinning
-- system.neutron.gateway.cluster
-- system.cinder.volume.single
-- system.cinder.volume.backend.lvm
-- system.ceilometer.agent.cluster
-- cluster.baremetal-mcp-ocata-ovs-ha.infra
+ - system.linux.system.repo.mcp.openstack
+ - system.linux.system.repo.mcp.extra
+ - system.linux.system.repo.saltstack.xenial
+ - system.linux.storage.loopback
+ - system.glusterfs.client.cluster
+ - system.nova.compute.cluster
+ - system.nova.compute.nfv.hugepages
+ - system.nova.compute.nfv.cpu_pinning
+ - system.neutron.gateway.cluster
+ - system.cinder.volume.single
+ - system.cinder.volume.backend.lvm
+ - system.ceilometer.agent.cluster
+ - cluster.baremetal-mcp-ocata-ovs-ha.infra
parameters:
_param:
cluster_vip_address: ${_param:openstack_control_address}
server: ${_param:glusterfs_service_host}
user: nova
group: nova
+ # yamllint disable-line rule:line-length
opts: "defaults,backup-volfile-servers=${_param:cluster_node01_address}:${_param:cluster_node02_address}:${_param:cluster_node03_address}"
linux:
system:
netmask: 255.255.255.0
mtu: 1500
use_interfaces:
- - ${_param:tenant_nic}.${_param:opnfv_net_tenant_vlan}
+ - ${_param:tenant_nic}.${_param:opnfv_net_tenant_vlan}
mgmt-vlan:
enabled: true
proto: manual
type: vlan
name: ${_param:mgmt_nic}.${_param:opnfv_net_mgmt_vlan}
use_interfaces:
- - ${_param:mgmt_nic}
+ - ${_param:mgmt_nic}
tenant-vlan:
enabled: true
proto: manual
type: vlan
name: ${_param:tenant_nic}.${_param:opnfv_net_tenant_vlan}
use_interfaces:
- - ${_param:tenant_nic}
+ - ${_param:tenant_nic}
br-ctl:
enabled: true
type: bridge
address: ${_param:single_address}
netmask: 255.255.255.0
use_interfaces:
- - ${_param:mgmt_nic}.${_param:opnfv_net_mgmt_vlan}
+ - ${_param:mgmt_nic}.${_param:opnfv_net_mgmt_vlan}
br-floating:
enabled: true
type: ovs_bridge
address: ${_param:external_address}
netmask: 255.255.255.0
use_interfaces:
- - ${_param:external_nic}
+ - ${_param:external_nic}
use_ovs_ports:
- - float-to-ex
+ - float-to-ex
+---
classes:
-- system.linux.system.repo.mcp.openstack
-- system.linux.system.repo.mcp.extra
-- system.linux.system.repo.saltstack.xenial
-- system.ceilometer.client
-- system.memcached.server.single
-- system.keystone.server.cluster
-- system.keystone.server.wsgi
-- system.glance.control.cluster
-- system.neutron.control.openvswitch.cluster
-- system.nova.control.cluster
-- system.cinder.control.cluster
-- system.cinder.control.backend.lvm
-- system.heat.server.cluster
-- system.designate.server.cluster
-- system.designate.server.backend.bind
-- system.bind.server.single
-- system.haproxy.proxy.listen.openstack.nova-placement
-- system.haproxy.proxy.listen.openstack.glare
-- system.glusterfs.client.cluster
-- system.glusterfs.client.volume.glance
-- system.glusterfs.client.volume.keystone
-- cluster.baremetal-mcp-ocata-ovs-ha.infra
+ - system.linux.system.repo.mcp.openstack
+ - system.linux.system.repo.mcp.extra
+ - system.linux.system.repo.saltstack.xenial
+ - system.ceilometer.client
+ - system.memcached.server.single
+ - system.keystone.server.cluster
+ - system.keystone.server.wsgi
+ - system.glance.control.cluster
+ - system.neutron.control.openvswitch.cluster
+ - system.nova.control.cluster
+ - system.cinder.control.cluster
+ - system.cinder.control.backend.lvm
+ - system.heat.server.cluster
+ - system.designate.server.cluster
+ - system.designate.server.backend.bind
+ - system.bind.server.single
+ - system.haproxy.proxy.listen.openstack.nova-placement
+ - system.haproxy.proxy.listen.openstack.glare
+ - system.glusterfs.client.cluster
+ - system.glusterfs.client.volume.glance
+ - system.glusterfs.client.volume.keystone
+ - cluster.baremetal-mcp-ocata-ovs-ha.infra
parameters:
_param:
keepalived_vip_interface: ens3
+---
classes:
-- system.keystone.client.single
-- system.keystone.client.service.aodh
-- system.keystone.client.service.ceilometer
-- system.keystone.client.service.nova21
-- system.keystone.client.service.nova-placement
-- system.keystone.client.service.glare
-- system.keystone.client.service.cinder3
-- system.keystone.client.service.designate
+ - system.keystone.client.single
+ - system.keystone.client.service.aodh
+ - system.keystone.client.service.ceilometer
+ - system.keystone.client.service.nova21
+ - system.keystone.client.service.nova-placement
+ - system.keystone.client.service.glare
+ - system.keystone.client.service.cinder3
+ - system.keystone.client.service.designate
+---
classes:
-- system.horizon.server.single
-- cluster.baremetal-mcp-ocata-ovs-ha
+ - system.horizon.server.single
+ - cluster.baremetal-mcp-ocata-ovs-ha
parameters:
_param:
horizon_site_branding: OpenStack Dashboard
+---
classes:
-- system.linux.system.repo.mcp.openstack
-- system.linux.system.repo.mcp.extra
-- system.linux.system.repo.saltstack.xenial
-- system.galera.server.cluster
-- system.galera.server.database.aodh
-- system.galera.server.database.ceilometer
-- system.galera.server.database.cinder
-- system.galera.server.database.designate
-- system.galera.server.database.glance
-- system.galera.server.database.grafana
-- system.galera.server.database.heat
-- system.galera.server.database.keystone
-- system.galera.server.database.nova
-- system.galera.server.database.neutron
-- cluster.baremetal-mcp-ocata-ovs-ha
+ - system.linux.system.repo.mcp.openstack
+ - system.linux.system.repo.mcp.extra
+ - system.linux.system.repo.saltstack.xenial
+ - system.galera.server.cluster
+ - system.galera.server.database.aodh
+ - system.galera.server.database.ceilometer
+ - system.galera.server.database.cinder
+ - system.galera.server.database.designate
+ - system.galera.server.database.glance
+ - system.galera.server.database.grafana
+ - system.galera.server.database.heat
+ - system.galera.server.database.keystone
+ - system.galera.server.database.nova
+ - system.galera.server.database.neutron
+ - cluster.baremetal-mcp-ocata-ovs-ha
parameters:
_param:
keepalived_vip_interface: ens3
+---
classes:
-- system.mysql.client.single
+ - system.mysql.client.single
+---
parameters:
_param:
openstack_version: ocata
+ # yamllint disable rule:line-length
openstack_gateway_node01_address: ${_param:opnfv_openstack_gateway_node01_address}
openstack_gateway_node02_address: ${_param:opnfv_openstack_gateway_node02_address}
openstack_gateway_node03_address: ${_param:opnfv_openstack_gateway_node03_address}
openstack_region: RegionOne
admin_email: root@localhost
- ##Neutron osv/nodvr
- neutron_control_dvr: False
+ # Neutron osv/nodvr
+ neutron_control_dvr: 'False'
neutron_tenant_network_types: "flat,vxlan"
- neutron_l3_ha: True
+ neutron_l3_ha: 'True'
neutron_global_physnet_mtu: 1500
neutron_external_mtu: 1500
- neutron_gateway_dvr: False
+ neutron_gateway_dvr: 'False'
neutron_gateway_agent_mode: legacy
- neutron_compute_dvr: False
+ neutron_compute_dvr: 'False'
neutron_compute_agent_mode: legacy
- neutron_compute_external_access: True
+ neutron_compute_external_access: 'True'
galera_server_cluster_name: openstack_cluster
galera_server_maintenance_password: opnfv_secret
galera_server_admin_password: opnfv_secret
rndc_key_file: /etc/designate/rndc.key
designate_version: ${_param:openstack_version}
# Billing
- #keystone_billometer_password: opnfv_secret
- #keystone_billometer_address: ${_param:billometer_service_host}
- #billometer_service_host: ${_param:openstack_billing_address}
- #billometer_version: ${_param:openstack_version}
- #billometer_secret_key: opnfv_secretpasswordpasswordpassword
- #billometer_identity_password: ${_param:keystone_billometer_password}
- #billometer_identity_host: ${_param:openstack_control_address}
- #billometer_identity_token: ${_param:keystone_service_token}
+ # keystone_billometer_password: opnfv_secret
+ # keystone_billometer_address: ${_param:billometer_service_host}
+ # billometer_service_host: ${_param:openstack_billing_address}
+ # billometer_version: ${_param:openstack_version}
+ # billometer_secret_key: opnfv_secretpasswordpasswordpassword
+ # billometer_identity_password: ${_param:keystone_billometer_password}
+ # billometer_identity_host: ${_param:openstack_control_address}
+ # billometer_identity_token: ${_param:keystone_service_token}
linux:
network:
host:
prx:
address: ${_param:openstack_proxy_address}
names:
- - ${_param:openstack_proxy_hostname}
- - ${_param:openstack_proxy_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_proxy_hostname}
+ - ${_param:openstack_proxy_hostname}.${_param:cluster_domain}
prx01:
address: ${_param:openstack_proxy_node01_address}
names:
- - ${_param:openstack_proxy_node01_hostname}
- - ${_param:openstack_proxy_node01_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_proxy_node01_hostname}
+ - ${_param:openstack_proxy_node01_hostname}.${_param:cluster_domain}
prx02:
address: ${_param:openstack_proxy_node02_address}
names:
- - ${_param:openstack_proxy_node02_hostname}
- - ${_param:openstack_proxy_node02_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_proxy_node02_hostname}
+ - ${_param:openstack_proxy_node02_hostname}.${_param:cluster_domain}
ctl:
address: ${_param:openstack_control_address}
names:
- - ${_param:openstack_control_hostname}
- - ${_param:openstack_control_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_control_hostname}
+ - ${_param:openstack_control_hostname}.${_param:cluster_domain}
ctl01:
address: ${_param:openstack_control_node01_address}
names:
- - ${_param:openstack_control_node01_hostname}
- - ${_param:openstack_control_node01_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_control_node01_hostname}
+ - ${_param:openstack_control_node01_hostname}.${_param:cluster_domain}
ctl02:
address: ${_param:openstack_control_node02_address}
names:
- - ${_param:openstack_control_node02_hostname}
- - ${_param:openstack_control_node02_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_control_node02_hostname}
+ - ${_param:openstack_control_node02_hostname}.${_param:cluster_domain}
ctl03:
address: ${_param:openstack_control_node03_address}
names:
- - ${_param:openstack_control_node03_hostname}
- - ${_param:openstack_control_node03_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_control_node03_hostname}
+ - ${_param:openstack_control_node03_hostname}.${_param:cluster_domain}
msg:
address: ${_param:openstack_message_queue_address}
names:
- - ${_param:openstack_message_queue_hostname}
- - ${_param:openstack_message_queue_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_message_queue_hostname}
+ - ${_param:openstack_message_queue_hostname}.${_param:cluster_domain}
msg01:
address: ${_param:openstack_message_queue_node01_address}
names:
- - ${_param:openstack_message_queue_node01_hostname}
- - ${_param:openstack_message_queue_node01_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_message_queue_node01_hostname}
+ - ${_param:openstack_message_queue_node01_hostname}.${_param:cluster_domain}
msg02:
address: ${_param:openstack_message_queue_node02_address}
names:
- - ${_param:openstack_message_queue_node02_hostname}
- - ${_param:openstack_message_queue_node02_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_message_queue_node02_hostname}
+ - ${_param:openstack_message_queue_node02_hostname}.${_param:cluster_domain}
msg03:
address: ${_param:openstack_message_queue_node03_address}
names:
- - ${_param:openstack_message_queue_node03_hostname}
- - ${_param:openstack_message_queue_node03_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_message_queue_node03_hostname}
+ - ${_param:openstack_message_queue_node03_hostname}.${_param:cluster_domain}
dbs:
address: ${_param:openstack_database_address}
names:
- - ${_param:openstack_database_hostname}
- - ${_param:openstack_database_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_database_hostname}
+ - ${_param:openstack_database_hostname}.${_param:cluster_domain}
dbs01:
address: ${_param:openstack_database_node01_address}
names:
- - ${_param:openstack_database_node01_hostname}
- - ${_param:openstack_database_node01_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_database_node01_hostname}
+ - ${_param:openstack_database_node01_hostname}.${_param:cluster_domain}
dbs02:
address: ${_param:openstack_database_node02_address}
names:
- - ${_param:openstack_database_node02_hostname}
- - ${_param:openstack_database_node02_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_database_node02_hostname}
+ - ${_param:openstack_database_node02_hostname}.${_param:cluster_domain}
dbs03:
address: ${_param:openstack_database_node03_address}
names:
- - ${_param:openstack_database_node03_hostname}
- - ${_param:openstack_database_node03_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_database_node03_hostname}
+ - ${_param:openstack_database_node03_hostname}.${_param:cluster_domain}
mdb:
address: ${_param:openstack_telemetry_address}
names:
- - ${_param:openstack_telemetry_hostname}
- - ${_param:openstack_telemetry_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_telemetry_hostname}
+ - ${_param:openstack_telemetry_hostname}.${_param:cluster_domain}
mdb01:
address: ${_param:openstack_telemetry_node01_address}
names:
- - ${_param:openstack_telemetry_node01_hostname}
- - ${_param:openstack_telemetry_node01_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_telemetry_node01_hostname}
+ - ${_param:openstack_telemetry_node01_hostname}.${_param:cluster_domain}
mdb02:
address: ${_param:openstack_telemetry_node02_address}
names:
- - ${_param:openstack_telemetry_node02_hostname}
- - ${_param:openstack_telemetry_node02_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_telemetry_node02_hostname}
+ - ${_param:openstack_telemetry_node02_hostname}.${_param:cluster_domain}
mdb03:
address: ${_param:openstack_telemetry_node03_address}
names:
- - ${_param:openstack_telemetry_node03_hostname}
- - ${_param:openstack_telemetry_node03_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_telemetry_node03_hostname}
+ - ${_param:openstack_telemetry_node03_hostname}.${_param:cluster_domain}
cmp001:
address: ${_param:openstack_compute_node01_control_address}
names:
- - ${_param:openstack_compute_node01_hostname}
- - ${_param:openstack_compute_node01_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_compute_node01_hostname}
+ - ${_param:openstack_compute_node01_hostname}.${_param:cluster_domain}
cmp002:
address: ${_param:openstack_compute_node02_control_address}
names:
- - ${_param:openstack_compute_node02_hostname}
- - ${_param:openstack_compute_node02_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_compute_node02_hostname}
+ - ${_param:openstack_compute_node02_hostname}.${_param:cluster_domain}
gtw01:
address: ${_param:openstack_gateway_node01_address}
names:
- - ${_param:openstack_gateway_node01_hostname}
- - ${_param:openstack_gateway_node01_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_gateway_node01_hostname}
+ - ${_param:openstack_gateway_node01_hostname}.${_param:cluster_domain}
gtw02:
address: ${_param:openstack_gateway_node02_address}
names:
- - ${_param:openstack_gateway_node02_hostname}
- - ${_param:openstack_gateway_node02_hostname}.${_param:cluster_domain}
+ - ${_param:openstack_gateway_node02_hostname}
+ - ${_param:openstack_gateway_node02_hostname}.${_param:cluster_domain}
+---
classes:
-- system.linux.system.repo.mcp.openstack
-- system.linux.system.repo.mcp.extra
-- system.linux.system.repo.saltstack.xenial
-- system.rabbitmq.server.cluster
-- system.rabbitmq.server.vhost.openstack
-- cluster.baremetal-mcp-ocata-ovs-ha
+ - system.linux.system.repo.mcp.openstack
+ - system.linux.system.repo.mcp.extra
+ - system.linux.system.repo.saltstack.xenial
+ - system.rabbitmq.server.cluster
+ - system.rabbitmq.server.vhost.openstack
+ - cluster.baremetal-mcp-ocata-ovs-ha
parameters:
_param:
keepalived_vip_interface: ens3
+---
classes:
-- system.linux.system.repo.mcp.openstack
-- system.linux.system.repo.mcp.extra
-- system.linux.system.repo.saltstack.xenial
-- system.nginx.server.single
-- system.nginx.server.proxy.openstack_api
-- system.nginx.server.proxy.openstack_vnc
-- system.nginx.server.proxy.openstack_web
-- system.nginx.server.proxy.openstack.aodh
-- system.nginx.server.proxy.openstack.ceilometer
-- system.horizon.server.single
-- system.salt.minion.cert.proxy
-- system.sphinx.server.doc.reclass
-- service.keepalived.cluster.single
-- cluster.baremetal-mcp-ocata-ovs-ha.infra
-- cluster.baremetal-mcp-ocata-ovs-ha.openstack.dashboard
-# - cluster.baremetal-mcp-ocata-ovs-ha.stacklight.proxy
+ - system.linux.system.repo.mcp.openstack
+ - system.linux.system.repo.mcp.extra
+ - system.linux.system.repo.saltstack.xenial
+ - system.nginx.server.single
+ - system.nginx.server.proxy.openstack_api
+ - system.nginx.server.proxy.openstack_vnc
+ - system.nginx.server.proxy.openstack_web
+ - system.nginx.server.proxy.openstack.aodh
+ - system.nginx.server.proxy.openstack.ceilometer
+ - system.horizon.server.single
+ - system.salt.minion.cert.proxy
+ - system.sphinx.server.doc.reclass
+ - service.keepalived.cluster.single
+ - cluster.baremetal-mcp-ocata-ovs-ha.infra
+ - cluster.baremetal-mcp-ocata-ovs-ha.openstack.dashboard
+ # - cluster.baremetal-mcp-ocata-ovs-ha.stacklight.proxy
parameters:
_param:
keepalived_vip_interface: ens3
+---
classes:
-- system.linux.system.repo.mcp.openstack
-- system.linux.system.repo.mcp.extra
-- system.linux.system.repo.saltstack.xenial
-- system.mongodb.server.cluster
-- system.mongodb.server.database.ceilometer
-- system.ceilometer.server.backend.mongodb
-# - system.ceilometer.server.backend.influxdb
-# - system.heka.ceilometer_collector.single
-- system.ceilometer.server.cluster
-- system.aodh.server.cluster
-- cluster.baremetal-mcp-ocata-ovs-ha.infra
+ - system.linux.system.repo.mcp.openstack
+ - system.linux.system.repo.mcp.extra
+ - system.linux.system.repo.saltstack.xenial
+ - system.mongodb.server.cluster
+ - system.mongodb.server.database.ceilometer
+ - system.ceilometer.server.backend.mongodb
+ # - system.ceilometer.server.backend.influxdb
+ # - system.heka.ceilometer_collector.single
+ - system.ceilometer.server.cluster
+ - system.aodh.server.cluster
+ - cluster.baremetal-mcp-ocata-ovs-ha.infra
parameters:
_param:
keepalived_openstack_telemetry_vip_interface: ens3
+---
parameters:
_param:
haproxy_check: check inter 15s fastinter 2s downinter 4s rise 3 fall 3
type: openstack-service
service_name: cinder
binds:
- - address: ${_param:cluster_vip_address}
- port: 8776
+ - address: ${_param:cluster_vip_address}
+ port: 8776
servers:
- - name: ctl01
- host: ${_param:cluster_node01_address}
- port: 8776
- params: ${_param:haproxy_check}
+ - name: ctl01
+ host: ${_param:cluster_node01_address}
+ port: 8776
+ params: ${_param:haproxy_check}
glance_api:
type: openstack-service
service_name: glance
binds:
- - address: ${_param:cluster_vip_address}
- port: 9292
+ - address: ${_param:cluster_vip_address}
+ port: 9292
servers:
- - name: ctl01
- host: ${_param:cluster_node01_address}
- port: 9292
- params: ${_param:haproxy_check}
+ - name: ctl01
+ host: ${_param:cluster_node01_address}
+ port: 9292
+ params: ${_param:haproxy_check}
glance_registry_api:
type: general-service
service_name: glance
binds:
- - address: ${_param:cluster_vip_address}
- port: 9191
+ - address: ${_param:cluster_vip_address}
+ port: 9191
servers:
- - name: ctl01
- host: ${_param:cluster_node01_address}
- port: 9191
- params: ${_param:haproxy_check}
+ - name: ctl01
+ host: ${_param:cluster_node01_address}
+ port: 9191
+ params: ${_param:haproxy_check}
glare:
type: general-service
service_name: glare
binds:
- - address: ${_param:cluster_vip_address}
- port: 9494
+ - address: ${_param:cluster_vip_address}
+ port: 9494
servers:
- - name: ctl01
- host: ${_param:cluster_node01_address}
- port: 9494
- params: ${_param:haproxy_check}
+ - name: ctl01
+ host: ${_param:cluster_node01_address}
+ port: 9494
+ params: ${_param:haproxy_check}
heat_cloudwatch_api:
type: openstack-service
service_name: heat
binds:
- - address: ${_param:cluster_vip_address}
- port: 8003
+ - address: ${_param:cluster_vip_address}
+ port: 8003
servers:
- - name: ctl01
- host: ${_param:cluster_node01_address}
- port: 8003
- params: ${_param:haproxy_check}
+ - name: ctl01
+ host: ${_param:cluster_node01_address}
+ port: 8003
+ params: ${_param:haproxy_check}
heat_api:
type: openstack-service
service_name: heat
binds:
- - address: ${_param:cluster_vip_address}
- port: 8004
+ - address: ${_param:cluster_vip_address}
+ port: 8004
servers:
- - name: ctl01
- host: ${_param:cluster_node01_address}
- port: 8004
- params: ${_param:haproxy_check}
+ - name: ctl01
+ host: ${_param:cluster_node01_address}
+ port: 8004
+ params: ${_param:haproxy_check}
heat_cfn_api:
type: openstack-service
service_name: heat
binds:
- - address: ${_param:cluster_vip_address}
- port: 8000
+ - address: ${_param:cluster_vip_address}
+ port: 8000
servers:
- - name: ctl01
- host: ${_param:cluster_node01_address}
- port: 8000
- params: ${_param:haproxy_check}
+ - name: ctl01
+ host: ${_param:cluster_node01_address}
+ port: 8000
+ params: ${_param:haproxy_check}
keystone_public_api:
type: openstack-service
service_name: keystone
binds:
- - address: ${_param:cluster_vip_address}
- port: 5000
+ - address: ${_param:cluster_vip_address}
+ port: 5000
servers:
- - name: ctl01
- host: ${_param:cluster_node01_address}
- port: 5000
- params: ${_param:haproxy_check}
+ - name: ctl01
+ host: ${_param:cluster_node01_address}
+ port: 5000
+ params: ${_param:haproxy_check}
keystone_admin_api:
type: openstack-service
service_name: keystone
binds:
- - address: ${_param:cluster_vip_address}
- port: 35357
+ - address: ${_param:cluster_vip_address}
+ port: 35357
servers:
- - name: ctl01
- host: ${_param:cluster_node01_address}
- port: 35357
- params: ${_param:haproxy_check}
+ - name: ctl01
+ host: ${_param:cluster_node01_address}
+ port: 35357
+ params: ${_param:haproxy_check}
neutron_api:
type: openstack-service
service_name: neutron
binds:
- - address: ${_param:cluster_vip_address}
- port: 9696
+ - address: ${_param:cluster_vip_address}
+ port: 9696
servers:
- - name: ctl01
- host: ${_param:cluster_node01_address}
- port: 9696
- params: ${_param:haproxy_check}
+ - name: ctl01
+ host: ${_param:cluster_node01_address}
+ port: 9696
+ params: ${_param:haproxy_check}
nova_placement_api:
mode: http
binds:
- - address: ${_param:cluster_vip_address}
- port: 8778
+ - address: ${_param:cluster_vip_address}
+ port: 8778
options:
- - httpclose
- - httplog
+ - httpclose
+ - httplog
health-check:
http:
options:
- - expect status 401
+ - expect status 401
servers:
- - name: ctl01
- host: ${_param:cluster_node01_address}
- port: 8778
- params: ${_param:haproxy_check}
+ - name: ctl01
+ host: ${_param:cluster_node01_address}
+ port: 8778
+ params: ${_param:haproxy_check}
nova_ec2_api:
type: general-service
service_name: nova
check: false
binds:
- - address: ${_param:cluster_vip_address}
- port: 8773
+ - address: ${_param:cluster_vip_address}
+ port: 8773
servers:
- - name: ctl01
- host: ${_param:cluster_node01_address}
- port: 8773
- params: ${_param:haproxy_check}
+ - name: ctl01
+ host: ${_param:cluster_node01_address}
+ port: 8773
+ params: ${_param:haproxy_check}
nova_api:
type: openstack-service
service_name: nova
binds:
- - address: ${_param:cluster_vip_address}
- port: 8774
+ - address: ${_param:cluster_vip_address}
+ port: 8774
servers:
- - name: ctl01
- host: ${_param:cluster_node01_address}
- port: 8774
- params: ${_param:haproxy_check}
+ - name: ctl01
+ host: ${_param:cluster_node01_address}
+ port: 8774
+ params: ${_param:haproxy_check}
nova_metadata_api:
type: openstack-service
binds:
- - address: ${_param:cluster_vip_address}
- port: 8775
+ - address: ${_param:cluster_vip_address}
+ port: 8775
servers:
- - name: ctl01
- host: ${_param:cluster_node01_address}
- port: 8775
- params: ${_param:haproxy_check}
+ - name: ctl01
+ host: ${_param:cluster_node01_address}
+ port: 8775
+ params: ${_param:haproxy_check}
ceilometer_api:
type: general-service
check: false
binds:
- - address: ${_param:cluster_vip_address}
- port: 8777
+ - address: ${_param:cluster_vip_address}
+ port: 8777
servers:
- - name: ${_param:cluster_node01_hostname}
- host: ${_param:cluster_node01_address}
- port: 8777
- params: ${_param:haproxy_check}
+ - name: ${_param:cluster_node01_hostname}
+ host: ${_param:cluster_node01_address}
+ port: 8777
+ params: ${_param:haproxy_check}
aodh-api:
type: openstack-service
service_name: aodh
binds:
- - address: ${_param:cluster_vip_address}
- port: 8042
+ - address: ${_param:cluster_vip_address}
+ port: 8042
servers:
- - name: ctl01
- host: ${_param:cluster_node01_address}
- port: 8042
- params: ${_param:haproxy_check}
+ - name: ctl01
+ host: ${_param:cluster_node01_address}
+ port: 8042
+ params: ${_param:haproxy_check}
+---
classes:
-- service.git.client
-- system.linux.system.single
-- system.linux.system.repo.mcp.salt
-- system.salt.master.api
-- system.salt.master.pkg
-- system.reclass.storage.salt
-- system.salt.minion.ca.salt_master
-- system.salt.minion.cert.proxy
-- system.mysql.client.single
-- system.reclass.storage.system.openstack_compute_multi
-- system.reclass.storage.system.openstack_gateway_single
+ - service.git.client
+ - system.linux.system.single
+ - system.linux.system.repo.mcp.salt
+ - system.salt.master.api
+ - system.salt.master.pkg
+ - system.reclass.storage.salt
+ - system.salt.minion.ca.salt_master
+ - system.salt.minion.cert.proxy
+ - system.mysql.client.single
+ - system.reclass.storage.system.openstack_compute_multi
+ - system.reclass.storage.system.openstack_gateway_single
parameters:
_param:
openstack_control_node01_hostname: ctl01
salt_master_host: 127.0.0.1
salt_master_base_environment: prd
salt_minion_ca_host: ${linux:network:fqdn}
+ # yamllint disable-line rule:line-length
salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1"
linux:
network:
name: ${_param:openstack_control_node01_hostname}
domain: ${_param:cluster_domain}
classes:
- - cluster.${_param:cluster_name}.openstack.control
+ - cluster.${_param:cluster_name}.openstack.control
params:
linux_system_codename: xenial
salt_master_host: ${_param:reclass_config_master}
+---
parameters:
linux:
network:
cfg01:
address: ${_param:infra_config_address}
names:
- - cfg01
- - cfg01.${_param:cluster_domain}
+ - cfg01
+ - cfg01.${_param:cluster_domain}
cfg:
address: ${_param:infra_config_address}
names:
- - cfg
- - cfg.${_param:cluster_domain}
+ - cfg
+ - cfg.${_param:cluster_domain}
+---
parameters:
_param:
# infra service addresses
openstack_control_node03_address: 172.16.10.103
openstack_database_address: ${_param:openstack_control_address}
openstack_message_queue_address: ${_param:openstack_control_address}
+ # yamllint disable rule:line-length
openstack_message_queue_node01_address: ${_param:openstack_control_node01_address}
openstack_message_queue_node02_address: ${_param:openstack_control_node02_address}
openstack_message_queue_node03_address: ${_param:openstack_control_node03_address}
+---
classes:
-- system.linux.system.repo.mcp.openstack
-- system.linux.system.repo.mcp.extra
-- system.linux.system.repo.saltstack.xenial
-- system.linux.storage.loopback
-- service.nfs.client
-- system.nova.compute.single
-- service.neutron.compute.single
-- service.cinder.volume.single
-- system.cinder.volume.backend.lvm
-- system.ceilometer.agent.cluster
-- system.ceilometer.client.nova_compute
-- system.ceilometer.client.cinder_volume
+ - system.linux.system.repo.mcp.openstack
+ - system.linux.system.repo.mcp.extra
+ - system.linux.system.repo.saltstack.xenial
+ - system.linux.storage.loopback
+ - service.nfs.client
+ - system.nova.compute.single
+ - service.neutron.compute.single
+ - service.cinder.volume.single
+ - system.cinder.volume.backend.lvm
+ - system.ceilometer.agent.cluster
+ - system.ceilometer.client.nova_compute
+ - system.ceilometer.client.cinder_volume
parameters:
_param:
primary_interface: ${_param:opnfv_fn_vm_secondary_interface}
address: ${_param:single_address}
netmask: 255.255.255.0
use_interfaces:
- - ${_param:primary_interface}
+ - ${_param:primary_interface}
+---
classes:
-- system.linux.system.lowmem
-- system.linux.system.repo.mcp.openstack
-- system.linux.system.repo.mcp.extra
-- system.linux.system.repo.saltstack.xenial
-- service.nfs.server
-- system.mongodb.server.single
-- system.mongodb.server.database.ceilometer
-- system.ceilometer.client
-- system.ceilometer.client.neutron
-- system.memcached.server.single
-- system.rabbitmq.server.single
-- system.rabbitmq.server.vhost.openstack
-- system.keystone.server.wsgi
-- system.keystone.server.single
-- system.keystone.client.single
-- system.keystone.client.service.nova21
-- system.keystone.client.service.nova-placement
-- system.keystone.client.service.glare
-- system.keystone.client.service.cinder3
-- system.keystone.client.service.ceilometer
-- system.keystone.client.service.aodh
-- system.glance.control.single
-- system.nova.control.single
-- system.cinder.control.single
-- system.cinder.control.backend.lvm
-- system.heat.server.single
-- service.mysql.server.single
-- system.galera.server.database.cinder
-- system.galera.server.database.glance
-- system.galera.server.database.grafana
-- system.galera.server.database.heat
-- system.galera.server.database.keystone
-- system.galera.server.database.nova
-- system.galera.server.database.ceilometer
-- system.galera.server.database.aodh
-- service.ceilometer.server.single
-- system.aodh.server.single
-- system.horizon.server.single
-- service.haproxy.proxy.single
-- cluster.virtual-mcp-ocata-common.haproxy_openstack_api
+ - system.linux.system.lowmem
+ - system.linux.system.repo.mcp.openstack
+ - system.linux.system.repo.mcp.extra
+ - system.linux.system.repo.saltstack.xenial
+ - service.nfs.server
+ - system.mongodb.server.single
+ - system.mongodb.server.database.ceilometer
+ - system.ceilometer.client
+ - system.ceilometer.client.neutron
+ - system.memcached.server.single
+ - system.rabbitmq.server.single
+ - system.rabbitmq.server.vhost.openstack
+ - system.keystone.server.wsgi
+ - system.keystone.server.single
+ - system.keystone.client.single
+ - system.keystone.client.service.nova21
+ - system.keystone.client.service.nova-placement
+ - system.keystone.client.service.glare
+ - system.keystone.client.service.cinder3
+ - system.keystone.client.service.ceilometer
+ - system.keystone.client.service.aodh
+ - system.glance.control.single
+ - system.nova.control.single
+ - system.cinder.control.single
+ - system.cinder.control.backend.lvm
+ - system.heat.server.single
+ - service.mysql.server.single
+ - system.galera.server.database.cinder
+ - system.galera.server.database.glance
+ - system.galera.server.database.grafana
+ - system.galera.server.database.heat
+ - system.galera.server.database.keystone
+ - system.galera.server.database.nova
+ - system.galera.server.database.ceilometer
+ - system.galera.server.database.aodh
+ - service.ceilometer.server.single
+ - system.aodh.server.single
+ - system.horizon.server.single
+ - service.haproxy.proxy.single
+ - cluster.virtual-mcp-ocata-common.haproxy_openstack_api
parameters:
_param:
linux_system_codename: xenial
server:
admin_email: ${_param:admin_email}
pkgs:
- - keystone
- - python-keystone
- - python-keystoneclient
- - python-psycopg2
- - python-mysqldb
- - python-six
- - python-memcache
- - python-openstackclient
- - gettext-base
- - python-pycadf
+ - keystone
+ - python-keystone
+ - python-keystoneclient
+ - python-psycopg2
+ - python-mysqldb
+ - python-six
+ - python-memcache
+ - python-openstackclient
+ - gettext-base
+ - python-pycadf
glance:
server:
storage:
nova:
host: ${_param:single_address}/24
params:
- - rw
- - no_root_squash
- - async
+ - rw
+ - no_root_squash
+ - async
+---
classes:
-- system.linux.system.repo.mcp.openstack
-- system.linux.system.repo.mcp.extra
-- system.linux.system.repo.saltstack.xenial
+ - system.linux.system.repo.mcp.openstack
+ - system.linux.system.repo.mcp.extra
+ - system.linux.system.repo.saltstack.xenial
parameters:
_param:
primary_interface: ${_param:opnfv_fn_vm_secondary_interface}
netmask: 255.255.255.0
mtu: ${_param:interface_mtu}
use_interfaces:
- - ${_param:primary_interface}
+ - ${_param:primary_interface}
float-to-ex:
enabled: true
type: ovs_port
address: ${_param:external_address}
netmask: 255.255.255.0
use_interfaces:
- - ${_param:external_interface}
+ - ${_param:external_interface}
use_ovs_ports:
- - float-to-ex
+ - float-to-ex
+---
parameters:
_param:
openstack_version: ocata
cluster_public_protocol: http
cluster_public_host: 10.16.0.101
neutron_public_protocol: http
- neutron_control_dvr: False
- neutron_l3_ha: False
+ neutron_control_dvr: 'False'
+ neutron_l3_ha: 'False'
neutron_global_physnet_mtu: 1500
neutron_external_mtu: 1500
- neutron_gateway_dvr: False
+ neutron_gateway_dvr: 'False'
neutron_gateway_agent_mode: legacy
- neutron_compute_dvr: False
+ neutron_compute_dvr: 'False'
neutron_compute_agent_mode: legacy
- neutron_compute_external_access: False
+ neutron_compute_external_access: 'False'
galera_server_cluster_name: openstack_cluster
galera_server_maintenance_password: opnfv_secret
galera_server_admin_password: opnfv_secret
nova_vncproxy_url: http://${_param:cluster_vip_address}:8060
neutron_version: ${_param:openstack_version}
neutron_service_host: ${_param:cluster_local_address}
- metadata_password: password
mysql_admin_user: root
mysql_admin_password: opnfv_secret
mysql_cinder_password: opnfv_secret
ceilometer_secret_key: opnfv_secret
metadata_password: opnfv_secret
horizon_version: ${_param:openstack_version}
+ # yamllint disable-line rule:line-length
horizon_secret_key: opaesee8Que2yahJoh9fo0eefo1Aeyo6ahyei8zeiboh3aeth5loth7ieNa5xi5e
horizon_identity_host: ${_param:cluster_vip_address}
horizon_identity_encryption: none
mongodb_server_replica_set: ceilometer
mongodb_ceilometer_password: opnfv_secret
mongodb_admin_password: opnfv_secret
+ # yamllint disable-line rule:line-length
mongodb_shared_key: eoTh1AwahlahqueingeejooLughah4tei9feing0eeVaephooDi2li1TaeV1ooth
aodh_version: ${_param:openstack_version}
keystone_aodh_password: opnfv_secret
ctl:
address: ${_param:openstack_control_address}
names:
- - ctl
- - ctl.${_param:cluster_domain}
+ - ctl
+ - ctl.${_param:cluster_domain}
ctl01:
address: ${_param:openstack_control_node01_address}
names:
- - ctl01
- - ctl01.${_param:cluster_domain}
+ - ctl01
+ - ctl01.${_param:cluster_domain}
gtw01:
address: ${_param:openstack_gateway_address}
names:
- - gtw01
- - gtw01.${_param:cluster_domain}
+ - gtw01
+ - gtw01.${_param:cluster_domain}
cmp01:
address: 172.16.10.105
names:
- - cmp01
- - cmp01.${_param:cluster_domain}
+ - cmp01
+ - cmp01.${_param:cluster_domain}
cmp02:
address: 172.16.10.106
names:
- - cmp02
- - cmp02.${_param:cluster_domain}
+ - cmp02
+ - cmp02.${_param:cluster_domain}
+---
classes:
-- system.reclass.storage.system.opendaylight_control_single
-- cluster.virtual-mcp-ocata-common.infra.config
-- cluster.virtual-mcp-ocata-odl-router
+ - system.reclass.storage.system.opendaylight_control_single
+ - cluster.virtual-mcp-ocata-common.infra.config
+ - cluster.virtual-mcp-ocata-odl-router
parameters:
reclass:
storage:
node:
opendaylight_control_node01:
classes:
- - cluster.${_param:cluster_name}.opendaylight.control
+ - cluster.${_param:cluster_name}.opendaylight.control
params:
linux_system_codename: xenial
single_address: ${_param:opendaylight_service_host}
+---
classes:
-- system.linux.system.single
-- cluster.all-mcp-ocata-common
-- cluster.virtual-mcp-ocata-common.init_options
-- cluster.virtual-mcp-ocata-common.infra
-- cluster.virtual-mcp-ocata-odl-router.openstack
+ - system.linux.system.single
+ - cluster.all-mcp-ocata-common
+ - cluster.virtual-mcp-ocata-common.init_options
+ - cluster.virtual-mcp-ocata-common.infra
+ - cluster.virtual-mcp-ocata-odl-router.openstack
parameters:
_param:
+---
classes:
-- system.linux.system.repo.mcp.openstack
-- system.linux.system.repo.mcp.extra
-- system.linux.system.repo.saltstack.xenial
-- system.opendaylight.server.single
-- cluster.virtual-mcp-ocata-odl-router
+ - system.linux.system.repo.mcp.openstack
+ - system.linux.system.repo.mcp.extra
+ - system.linux.system.repo.saltstack.xenial
+ - system.opendaylight.server.single
+ - cluster.virtual-mcp-ocata-odl-router
parameters:
_param:
linux_system_codename: xenial
+---
classes:
-- cluster.virtual-mcp-ocata-common.openstack_compute
-- cluster.virtual-mcp-ocata-odl-router
+ - cluster.virtual-mcp-ocata-common.openstack_compute
+ - cluster.virtual-mcp-ocata-odl-router
parameters:
opendaylight:
client:
netmask: 255.255.255.0
gateway: 10.1.0.110
use_interfaces:
- - ${_param:tenant_interface}
+ - ${_param:tenant_interface}
br-floating:
enabled: true
type: ovs_bridge
address: ${_param:external_address}
netmask: 255.255.255.0
use_interfaces:
- - ${_param:external_interface}
+ - ${_param:external_interface}
use_ovs_ports:
- - float-to-ex
+ - float-to-ex
+---
classes:
-- system.neutron.control.opendaylight.single
-- cluster.virtual-mcp-ocata-common.openstack_control
-- cluster.virtual-mcp-ocata-odl-router
+ - system.neutron.control.opendaylight.single
+ - cluster.virtual-mcp-ocata-common.openstack_control
+ - cluster.virtual-mcp-ocata-odl-router
parameters:
neutron:
server:
type: general-service
service_name: opendaylight
binds:
- - address: ${_param:cluster_vip_address}
- port: 8181
+ - address: ${_param:cluster_vip_address}
+ port: 8181
servers:
- - name: odl01
- host: ${_param:opendaylight_service_host}
- port: 8181
- params: ${_param:haproxy_check}
+ - name: odl01
+ host: ${_param:opendaylight_service_host}
+ port: 8181
+ params: ${_param:haproxy_check}
opendaylight-rest:
type: general-service
service_name: opendaylight
binds:
- - address: ${_param:cluster_vip_address}
- port: 8282
+ - address: ${_param:cluster_vip_address}
+ port: 8282
servers:
- - name: odl01
- host: ${_param:opendaylight_service_host}
- port: 8282
- params: ${_param:haproxy_check}
+ - name: odl01
+ host: ${_param:opendaylight_service_host}
+ port: 8282
+ params: ${_param:haproxy_check}
+---
classes:
-- cluster.virtual-mcp-ocata-common.openstack_gateway
-- system.neutron.gateway.opendaylight.single
-- cluster.virtual-mcp-ocata-odl-router
+ - cluster.virtual-mcp-ocata-common.openstack_gateway
+ - system.neutron.gateway.opendaylight.single
+ - cluster.virtual-mcp-ocata-odl-router
parameters:
_param:
neutron_agents:
- - neutron-dhcp-agent
- - neutron-metadata-agent
+ - neutron-dhcp-agent
+ - neutron-metadata-agent
neutron:
gateway:
pkgs: ${_param:neutron_agents}
address: ${_param:tenant_address}
netmask: 255.255.255.0
use_interfaces:
- - ${_param:tenant_interface}
+ - ${_param:tenant_interface}
+---
classes:
-- cluster.virtual-mcp-ocata-common.openstack_init
+ - cluster.virtual-mcp-ocata-common.openstack_init
parameters:
_param:
neutron_tenant_network_types: "flat,vxlan"
system:
repo:
uca:
+ # yamllint disable-line rule:line-length
source: "deb http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/ocata main"
architectures: amd64
key_id: EC4926EA
odl01:
address: 172.16.10.111
names:
- - odl01
- - odl01.${_param:cluster_domain}
+ - odl01
+ - odl01.${_param:cluster_domain}
+---
classes:
-- cluster.virtual-mcp-ocata-common.infra.config
-- cluster.virtual-mcp-ocata-ovs-dpdk
+ - cluster.virtual-mcp-ocata-common.infra.config
+ - cluster.virtual-mcp-ocata-ovs-dpdk
parameters:
reclass:
storage:
+---
classes:
-- system.linux.system.single
-- cluster.all-mcp-ocata-common
-- cluster.virtual-mcp-ocata-common.init_options
-- cluster.virtual-mcp-ocata-common.infra
-- cluster.virtual-mcp-ocata-ovs-dpdk.openstack
+ - system.linux.system.single
+ - cluster.all-mcp-ocata-common
+ - cluster.virtual-mcp-ocata-common.init_options
+ - cluster.virtual-mcp-ocata-common.infra
+ - cluster.virtual-mcp-ocata-ovs-dpdk.openstack
parameters:
_param:
+---
classes:
-- system.nova.compute.nfv.hugepages
-- system.neutron.compute.nfv.dpdk
-- cluster.virtual-mcp-ocata-common.openstack_compute
-- cluster.virtual-mcp-ocata-ovs-dpdk
+ - system.nova.compute.nfv.hugepages
+ - system.neutron.compute.nfv.dpdk
+ - cluster.virtual-mcp-ocata-common.openstack_compute
+ - cluster.virtual-mcp-ocata-ovs-dpdk
parameters:
neutron:
compute:
system:
repo:
uca:
+ # yamllint disable-line rule:line-length
source: "deb http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/ocata main"
architectures: amd64
key_id: EC4926EA
+---
classes:
-- system.neutron.control.openvswitch.single
-- cluster.virtual-mcp-ocata-common.openstack_control
-- cluster.virtual-mcp-ocata-ovs-dpdk
+ - system.neutron.control.openvswitch.single
+ - cluster.virtual-mcp-ocata-common.openstack_control
+ - cluster.virtual-mcp-ocata-ovs-dpdk
parameters:
neutron:
server:
+---
classes:
-- cluster.virtual-mcp-ocata-common.openstack_gateway
-- service.neutron.gateway.single
-- cluster.virtual-mcp-ocata-ovs-dpdk
+ - cluster.virtual-mcp-ocata-common.openstack_gateway
+ - service.neutron.gateway.single
+ - cluster.virtual-mcp-ocata-ovs-dpdk
parameters:
neutron:
gateway:
+---
classes:
-- cluster.virtual-mcp-ocata-common.openstack_init
+ - cluster.virtual-mcp-ocata-common.openstack_init
parameters:
_param:
neutron_tenant_network_types: "flat,vlan"
+---
classes:
-- cluster.virtual-mcp-ocata-common.infra.config
-- cluster.virtual-mcp-ocata-ovs
+ - cluster.virtual-mcp-ocata-common.infra.config
+ - cluster.virtual-mcp-ocata-ovs
+---
classes:
-- system.linux.system.single
-- cluster.all-mcp-ocata-common
-- cluster.virtual-mcp-ocata-common.init_options
-- cluster.virtual-mcp-ocata-common.infra
-- cluster.virtual-mcp-ocata-ovs.openstack
+ - system.linux.system.single
+ - cluster.all-mcp-ocata-common
+ - cluster.virtual-mcp-ocata-common.init_options
+ - cluster.virtual-mcp-ocata-common.infra
+ - cluster.virtual-mcp-ocata-ovs.openstack
parameters:
_param:
+---
classes:
-- cluster.virtual-mcp-ocata-common.openstack_compute
-- cluster.virtual-mcp-ocata-ovs
+ - cluster.virtual-mcp-ocata-common.openstack_compute
+ - cluster.virtual-mcp-ocata-ovs
parameters:
linux:
network:
address: ${_param:tenant_address}
netmask: 255.255.255.0
use_interfaces:
- - ${_param:tenant_interface}
+ - ${_param:tenant_interface}
+---
classes:
-- system.neutron.control.openvswitch.single
-- cluster.virtual-mcp-ocata-common.openstack_control
-- cluster.virtual-mcp-ocata-ovs
+ - system.neutron.control.openvswitch.single
+ - cluster.virtual-mcp-ocata-common.openstack_control
+ - cluster.virtual-mcp-ocata-ovs
+---
classes:
-- cluster.virtual-mcp-ocata-common.openstack_gateway
-- service.neutron.gateway.single
-- cluster.virtual-mcp-ocata-ovs
+ - cluster.virtual-mcp-ocata-common.openstack_gateway
+ - service.neutron.gateway.single
+ - cluster.virtual-mcp-ocata-ovs
parameters:
linux:
network:
address: ${_param:tenant_address}
netmask: 255.255.255.0
use_interfaces:
- - ${_param:tenant_interface}
+ - ${_param:tenant_interface}
+---
classes:
-- cluster.virtual-mcp-ocata-common.openstack_init
+ - cluster.virtual-mcp-ocata-common.openstack_init
parameters:
_param:
neutron_tenant_network_types: "flat,vxlan"
+---
classes:
-- cluster.baremetal-mcp-ocata-odl-ha.infra.config
+ - cluster.baremetal-mcp-ocata-odl-ha.infra.config
parameters:
_param:
linux_system_codename: xenial
+---
classes:
-- cluster.baremetal-mcp-ocata-ovs-dpdk-ha.infra.config
+ - cluster.baremetal-mcp-ocata-ovs-dpdk-ha.infra.config
parameters:
_param:
linux_system_codename: xenial
+---
classes:
-- cluster.baremetal-mcp-ocata-ovs-ha.infra.config
+ - cluster.baremetal-mcp-ocata-ovs-ha.infra.config
parameters:
_param:
linux_system_codename: xenial
+---
classes:
-- cluster.virtual-mcp-ocata-odl-router.infra.config
+ - cluster.virtual-mcp-ocata-odl-router.infra.config
parameters:
_param:
linux_system_codename: xenial
+---
classes:
-- cluster.virtual-mcp-ocata-odl.infra.config
+ - cluster.virtual-mcp-ocata-odl.infra.config
parameters:
_param:
linux_system_codename: xenial
+---
classes:
-- cluster.virtual-mcp-ocata-ovs-dpdk.infra.config
+ - cluster.virtual-mcp-ocata-ovs-dpdk.infra.config
parameters:
_param:
linux_system_codename: xenial
+---
classes:
-- cluster.virtual-mcp-ocata-ovs.infra.config
+ - cluster.virtual-mcp-ocata-ovs.infra.config
parameters:
_param:
linux_system_codename: xenial
s='[[:space:]]*'
w='[a-zA-Z0-9_]*'
fs="$(echo @|tr @ '\034')"
- sed -ne "s|^\($s\)\($w\)$s:$s\"\(.*\)\"$s\$|\1$fs\2$fs\3|p" \
+ sed -e 's|---||g' -ne "s|^\($s\)\($w\)$s:$s\"\(.*\)\"$s\$|\1$fs\2$fs\3|p" \
-e "s|^\($s\)\($w\)$s[:-]$s\(.*\)$s\$|\1$fs\2$fs\3|p" "$1" |
awk -F"$fs" '{
indent = length($1)/2;