Skip to content
Snippets Groups Projects

Network extdouble

Merged Riccardo Bucchi requested to merge network_extdouble into master
4 files
+ 303
127
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -10,70 +10,36 @@ ntp::servers:
timezone::timezone: 'Europe/Rome'
#################################################
iaas:
iaas::region: "test-ocp"
iaas::region: "regionOne"
iaas::public_interface: eth0
# Enable only if public_interface != external_device1
#iaas::public_gateway: 10.10.98.1
iaas::admin_interface: eth0
iaas::verbose: false
iaas::debug: false
# Node
iaas::profile::base::dns_servers: [192.168.0.4]
iaas::profile::base::dns_searchdomain: .openstacklocal
#Keepalived
iaas::profile::keepalived::notification_email: 'account@domain1'
iaas::profile::keepalived::notification_email_from: 'noreply-keepalived-ocpops1@cnaf.infn.it'
iaas::profile::keepalived::smtp_server: 'smtp.server1'
iaas::profile::keepalived::vip_address: '192.168.0.127'
iaas::profile::keepalived::lvs_interface: 'eth0'
iaas::profile::haproxy::stats_enabled: true
iaas::profile::haproxy::stats_ports: [1936]
iaas::profile::haproxy::stats_refresh: "30s"
iaas::profile::haproxy::stats_login: "stats"
iaas::profile::haproxy::stats_password: "stats"
iaas::profile::haproxy::stats_uri: "/"
iaas::profile::base::dns_servers: [131.154.3.1, 131.154.1.3]
iaas::profile::base::dns_searchdomain: cloud.cnaf.infn.it
# Endpoints
iaas::role::endpoint::servers: ['ocp-tb-1','ocp-tb-2','ocp-tb-3'] # List of load-balancers
iaas::role::endpoint::main_hostname: '192.168.0.127' # VIP Hostname
iaas::role::endpoint::main_address: 192.168.0.127 # The main virtual address pointing to the load-balancers
iaas::role::endpoint::coordination: ['192.168.0.39:2181,192.168.0.40:2181']
# Percona
iaas::profile::database::mysql_cluster_servers: 'ocp-tb-1,ocp-tb-2,ocp-tb-3'
iaas::profile::database::mysql_port: 3307
iaas::profile::database::root_password: 'test_pwd'
# Rabbitmq
iaas::profile::rabbitmq::servers: [ocp-tb-1,ocp-tb-2,ocp-tb-3]
iaas::profile::rabbitmq::rhosts: ['ocp-tb-1:5672', 'ocp-tb-2:5672', 'ocp-tb-3:5672']
iaas::profile::rabbitmq::user: openstack
iaas::profile::rabbitmq::password: openstack
iaas::profile::rabbitmq::erlang: JTZEOFFHPRJOTLUWEFQR
# Ceph
iaas::role::storage::cluster_netmask: 255.255.255.0
ceph::profile::params::fsid: 'f65809d3-7961-4cd7-b731-a9bc94bc6e9c'
ceph::profile::params:authentication_type: 'cephx'
ceph::profile::params:mon_initial_members: 'ocp-tb-4,ocp-tb-5,ocp-tb-6'
ceph::profile::params::mon_host: '192.168.0.36,192.168.0.37,192.168.0.38'
ceph::profile::params::osd_pool_default_pg_num: 100
ceph::profile::params::osd_pool_default_pgp_num: 100
ceph::profile::params::osd_pool_default_size: 3
ceph::profile::params::osd_pool_default_min_size: 2
ceph::profile::params::cluster_network: '192.168.0.0/24'
ceph::profile::params::public_network: '192.168.0.0/24'
ceph::profile::params::mon_key: 'AQBxkvVU4F+VDBAArxUf+8s0LbxIxNrbyEC1kw=='
ceph::profile::params::admin_key: 'AQDgL/hUSC2kLBAAnWJaSiqJG+YMk+XV9sapnw=='
ceph::profile::params::admin_key_mode: '0600'
ceph::profile::params::bootstrap_osd_key: 'AQDlL/hUUCpdFBAAZeo6mKj4yeKPmVKfUY5awA=='
ceph::profile::params::bootstrap_mds_key: 'AQApksZUIJhXJxAAEHVW/dbL1OeLA7Om++zdVw=='
ceph::profile::params::osd_journal_size: '5120'
iaas::role::endpoint::servers: [131.154.100.118, 131.154.100.120, 131.154.100.121] # List of load-balancers
iaas::role::endpoint::main_hostname: '131.154.100.102'
iaas::role::endpoint::main_address: 131.154.100.102 # The main virtual address pointing to the load-balancers
#iaas::role::endpoint::coordination: ['131.154.100.118:2181,131.154.100.120:2181,131.154.100.121:2181']
iaas::role::endpoint::coordination: ['10.10.98.107:2181,10.10.98.108:2181']
# Galera MySQL
iaas::profile::database::servers: [131.154.100.118, 131.154.100.120, 131.154.100.121]
iaas::profile:database::galera_master: 131.154.100.118
iaas::profile:database::galera_password: TH4wcMS50Mw1
iaas::mysql::allowed_hosts: ["131.154.100.118", "131.154.100.120", "131.154.100.121", "131.154.100.102"]
iaas::mysql::keystone::user: keystone
iaas::mysql::keystone::password: keystone
iaas::mysql::glance::user: glance
@@ -89,21 +55,28 @@ iaas::mysql::heat::password: heat
iaas::mysql::ceilometer::user: ceilometer
iaas::mysql::ceilometer::password: ceilometer
# Rabbitmq
iaas::profile::rabbitmq::servers: [131.154.100.118, 131.154.100.120, 131.154.100.121]
iaas::profile::rabbitmq::rhosts: ['131.154.100.118:5672', '131.154.100.120:5672', '131.154.100.121:5672']
iaas::profile::rabbitmq::user: openstack
iaas::profile::rabbitmq::password: openstack
# Keystone
iaas::profile::keystone::admin_token: '<ADMIN_TOKEN>'
iaas::profile::keystone::admin_email: 'admin@admin.it'
iaas::profile::keystone::admin_password: '<ADMIN_PASSWORD>'
iaas::profile::keystone::admin_token: '36c428a03be7d4f3cb0c'
iaas::profile::keystone::admin_email: 'alessandro.costantini@cnaf.infn.it'
iaas::profile::keystone::admin_password: 'Benza@CNAF'
iaas::profile::keystone::admin_tenant: 'admin'
iaas::profile::keystone::tenants:
"test":
description: "OCP in HA"
iaas::profile::keystone::users:
"guest":
password: "<PASSWORD_GUEST>"
password: "pippo11"
tenant: "test"
email: "test@test.it"
email: "alessandro.costantini@cnaf.infn.it"
admin: false
# Glance
@@ -114,6 +87,25 @@ iaas::profile::cinder::password: cinder
iaas::profile::cinder::volume_size: 8G
iaas::profile::cinder::secret: 5e899071-df68-40d3-b0ea-6ec22b7c12a0
# Ceph
iaas::role::storage::cluster_netmask: 255.255.255.0
ceph::profile::params::fsid: 'f65809d3-7961-4cd7-b731-a9bc94bc6e9c'
ceph::profile::params:authentication_type: 'cephx'
ceph::profile::params:mon_initial_members: 'ocp-ubuntu20,ocp-ubuntu21,ocp-ubuntu22'
ceph::profile::params::mon_host: '10.10.98.111,10.10.98.112,10.10.98.113'
ceph::profile::params::osd_pool_default_pg_num: 100
ceph::profile::params::osd_pool_default_pgp_num: 100
ceph::profile::params::osd_pool_default_size: 3
ceph::profile::params::osd_pool_default_min_size: 2
ceph::profile::params::cluster_network: '10.10.98.0/24'
ceph::profile::params::public_network: '10.10.98.0/24'
ceph::profile::params::mon_key: 'AQBxkvVU4F+VDBAArxUf+8s0LbxIxNrbyEC1kw=='
ceph::profile::params::admin_key: 'AQDgL/hUSC2kLBAAnWJaSiqJG+YMk+XV9sapnw=='
ceph::profile::params::admin_key_mode: '0600'
ceph::profile::params::bootstrap_osd_key: 'AQDlL/hUUCpdFBAAZeo6mKj4yeKPmVKfUY5awA=='
ceph::profile::params::bootstrap_mds_key: 'AQApksZUIJhXJxAAEHVW/dbL1OeLA7Om++zdVw=='
ceph::profile::params::osd_journal_size: '4096'
# Nova
iaas::profile::nova::common::default_flotting_pool: ext-net
iaas::profile::nova::controller::password: nova
@@ -121,14 +113,11 @@ iaas::profile::nova::controller::password: nova
iaas::profile::nova::compute::libvirt_type: qemu
# Neutron
iaas::profile::neutron::router::external_device: eth0
#Common
iaas::profile::neutron::password: neutron
iaas::profile::neutron::secret: neutron
iaas::profile::neutron::external_network: 192.168.0.0/24
iaas::profile::neutron::external_gateway: 192.168.0.1
iaas::profile::neutron::network_external_ippool_start: 192.168.0.121
iaas::profile::neutron::network_external_ippool_end: 192.168.0.125
iaas::profile::neutron::network_neutron_private: 10.0.1.0/24
iaas::profile::neutron::router::mtu: 1445
iaas::profile::neutron::common::core_plugin: 'ml2'
iaas::profile::neutron::common::service_plugins:
- 'router'
@@ -136,6 +125,19 @@ iaas::profile::neutron::common::service_plugins:
- 'vpnaas'
- 'firewall'
- 'metering'
# External Network 1
iaas::profile::neutron::router::external_device1: eth0
iaas::profile::neutron::external_network1: 10.10.98.0/24
iaas::profile::neutron::external_gateway1: 10.10.98.1
iaas::profile::neutron::network_external1_ippool_start: 10.10.98.121
iaas::profile::neutron::network_external1_ippool_end: 10.10.98.125
#External Network 2, enable if needed
iaas::profile::neutron::router::external_device2: eth1
iaas::profile::neutron::external_network2: 131.154.100.0/24
iaas::profile::neutron::external_gateway2: 131.154.100.1
iaas::profile::neutron::network_external2_ippool_start: 131.154.100.81
iaas::profile::neutron::network_external2_ippool_end: 131.154.100.83
# Heat
iaas::profile::heat::password: heat
@@ -145,6 +147,21 @@ iaas::profile::heat::encryption_key: 12345678912345678912345678912345 # https://
iaas::profile::horizon::secret: horizon
# Ceilometer
iaas::profile::ceilometer::servers: ["192.168.0.39", "192.168.0.40"]
#iaas::profile::ceilometer::servers: ["131.154.100.118:2888:3888", "131.154.100.120:2888:3888", "131.154.100.121:2888:3888"]
iaas::profile::ceilometer::servers: ["10.10.98.107", "10.10.98.108"]
iaas::profile::ceilometer::secret: ceilometer
iaas::profile::ceilometer::password: ceilometer
# Tempest
iaas::profile::tempest::admin_user: admin
iaas::profile::tempest::user: demo
iaas::profile::tempest::alt_user: aacostantini
iaas::profile::tempest::image_id: 5d912738-72df-4379-add1-de88d80d012a
iaas::profile::tempest::alt_image_id: 557fdbe9-0cd1-4abd-8ce0-09e9c7f40745
iaas::profile::tempest::flavor_ref: 1
iaas::profile::tempest::alt_flavor_ref: 2
iaas::profile::tempest::image_ssh_user: cirros
iaas::profile::tempest::alt_image_ssh_user: root
iaas::profile::tempest::public_network_id: 4c02888a-aa76-4438-bfbe-9b7c3ba98a52
iaas::profile::tempest::public_network_name: br-ext
iaas::profile::tempest::floating_ip_range: 192.168.50.64/26
Loading