Skip to content

Instantly share code, notes, and snippets.

@a1git
Created March 28, 2018 10:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save a1git/2a97980035633966c242bd5c094e25cb to your computer and use it in GitHub Desktop.
Save a1git/2a97980035633966c242bd5c094e25cb to your computer and use it in GitHub Desktop.
## config , variables and overrides
user_config
---
cidr_networks:
container: 172.29.236.0/22
tunnel: 172.29.240.0/22
storage: 172.29.244.0/22
used_ips:
- "172.29.236.1,172.29.236.199"
- "172.29.239.200,172.29.239.255"
- "172.29.240.1,172.29.240.199"
- "172.29.243.200,172.29.243.255"
- "172.29.244.1,172.29.244.199"
- "172.29.247.200,172.29.247.255"
global_overrides:
external_lb_vip_address: atl.domain.cloud
internal_lb_vip_address: int.atl.domain.cloud
tunnel_bridge: "br-vxlan"
management_bridge: "br-mgmt"
provider_networks:
- network:
group_binds:
- all_containers
- hosts
type: "raw"
container_bridge: "br-mgmt"
container_interface: "eth1"
container_type: "veth"
ip_from_q: "container"
is_container_address: true
is_ssh_address: true
- network:
group_binds:
- glance_api
- cinder_api
- cinder_volume
- nova_compute
type: "raw"
container_bridge: "br-storage"
container_type: "veth"
container_interface: "eth2"
container_mtu: "9000"
ip_from_q: "storage"
- network:
group_binds:
- neutron_linuxbridge_agent
container_bridge: "br-vxlan"
container_type: "veth"
container_interface: "eth10"
container_mtu: "9000"
ip_from_q: "tunnel"
type: "vxlan"
range: "100001:999999"
net_name: "vxlan"
group_binds:
- neutron_openvswitch_agent
- network:
group_binds:
- neutron_linuxbridge_agent
container_bridge: "br-vlan"
container_type: "veth"
container_interface: "eth11"
type: "vlan"
range: "2:4090"
net_name: "vlan"
group_binds:
- neutron_openvswitch_agent
shared-infra_hosts:
c1:
ip: 172.29.236.1
c2:
ip: 172.29.236.2
c3:
ip: 172.29.236.3
repo-infra_hosts:
c1:
ip: 172.29.236.1
c2:
ip: 172.29.236.2
c3:
ip: 172.29.236.3
os-infra_hosts:
c1:
ip: 172.29.236.1
c2:
ip: 172.29.236.2
c3:
ip: 172.29.236.3
identity_hosts:
c1:
ip: 172.29.236.1
c2:
ip: 172.29.236.2
c3:
ip: 172.29.236.3
network_hosts:
b4:
ip: 172.29.236.4
b5:
ip: 172.29.236.5
b6:
ip: 172.29.236.6
b8:
ip: 172.29.236.8
kvm-compute_hosts:
b4:
ip: 172.29.236.4
b5:
ip: 172.29.236.5
b6:
ip: 172.29.236.6
b8:
ip: 172.29.236.8
metering-infra_hosts:
c1:
ip: 172.29.236.1
c2:
ip: 172.29.236.2
c3:
ip: 172.29.236.3
metering-alarm_hosts:
c1:
ip: 172.29.236.1
c2:
ip: 172.29.236.2
c3:
ip: 172.29.236.3
metrics_hosts:
c1:
ip: 172.29.236.1
c2:
ip: 172.29.236.2
c3:
ip: 172.29.236.3
image_hosts:
c1:
ip: 172.29.236.1
container_vars:
limit_container_types: glance
glance_nfs_client:
- server: "172.29.247.254"
remote_path: "/glance"
local_path: "/var/lib/glance/images"
type: "nfs"
options: "_netdev,auto"
c2:
ip: 172.29.236.2
container_vars:
limit_container_types: glance
glance_nfs_client:
- server: "172.29.247.251"
remote_path: "/glance"
local_path: "/var/lib/glance/images"
type: "nfs"
options: "_netdev,auto"
c3:
ip: 172.29.236.3
container_vars:
limit_container_types: glance
glance_nfs_client:
- server: "172.29.247.254"
remote_path: "/glance"
local_path: "/var/lib/glance/images"
type: "nfs"
options: "_netdev,auto"
storage-infra_hosts:
c1:
ip: 172.29.236.1
c2:
ip: 172.29.236.2
c3:
ip: 172.29.236.3
storage_hosts:
c1:
ip: 172.29.236.1
container_vars:
cinder_backends:
limit_container_types: cinder_volume
nvme:
volume_backend_name: "QNAP NVME"
volume_driver: cinder.volume.drivers.qnap.QnapISCSIDriver
qnap_management_url : http://172.29.247.254:8080
qnap_poolname: "Storage Pool 2"
qnap_storage_protocol: iscsi
qnap_server_port: 8080
iscsi_ip_address: 172.26.247.254
san_login: admin
san_password: pass
san_thin_provision: True
ssd:
volume_backend_name: "QNAP SSD"
volume_driver: cinder.volume.drivers.qnap.QnapISCSIDriver
qnap_management_url : http://172.29.247.254:8080
qnap_poolname: "Storage Pool 1"
qnap_storage_protocol: iscsi
qnap_server_port: 8080
iscsi_ip_address: 172.26.247.254
san_login: admin
san_password: pass
san_thin_provision: True
c2:
ip: 172.29.236.2
container_vars:
cinder_backends:
limit_container_types: cinder_volume
nvme:
volume_backend_name: "QNAP NVME"
volume_driver: cinder.volume.drivers.qnap.QnapISCSIDriver
qnap_management_url : http://172.29.247.251:8080
qnap_poolname: "Storage Pool 2"
qnap_storage_protocol: iscsi
qnap_server_port: 8080
iscsi_ip_address: 172.26.247.251
san_login: admin
san_password: pass
san_thin_provision: True
ssd:
volume_backend_name: "QNAP SSD"
volume_driver: cinder.volume.drivers.qnap.QnapISCSIDriver
qnap_management_url : http://172.29.247.251:8080
qnap_poolname: "Storage Pool 1"
qnap_storage_protocol: iscsi
qnap_server_port: 8080
iscsi_ip_address: 172.26.247.251
san_login: admin
san_password: pass
san_thin_provision: True
c3:
ip: 172.29.236.3
container_vars:
cinder_backends:
limit_container_types: cinder_volume
nvme:
volume_backend_name: "QNAP NVME"
volume_driver: cinder.volume.drivers.qnap.QnapISCSIDriver
qnap_management_url : http://172.29.247.254:8080
qnap_poolname: "Storage Pool 2"
qnap_storage_protocol: iscsi
qnap_server_port: 8080
iscsi_ip_address: 172.26.247.254
san_login: admin
san_password: pass
san_thin_provision: True
ssd:
volume_backend_name: "QNAP SSD"
volume_driver: cinder.volume.drivers.qnap.QnapISCSIDriver
qnap_management_url : http://172.29.247.254:8080
qnap_poolname: "Storage Pool 1"
qnap_storage_protocol: iscsi
qnap_server_port: 8080
iscsi_ip_address: 172.26.247.254
san_login: admin
san_password: pass
san_thin_provision: True
log_hosts:
logs:
ip: 172.29.239.201
haproxy_hosts:
c1:
ip: 172.29.236.1
c2:
ip: 172.29.236.2
c3:
ip: 172.29.236.3
variables
---
debug: true
lxc_host_machine_volume_size: 500
lxc_cache_prep_timeout: 12000
galera_max_connections: 6000
openstack_domain: "atl.domain.cloud"
dhcp_domain: "atl.domain.cloud"
service_region: "atl"
openstack_host_specific_kernel_modules:
- name: "openvswitch"
pattern: "CONFIG_OPENVSWITCH"
group: "network_hosts"
nova_nova_conf_overrides:
DEFAULT:
force_config_drive: true
resume_guests_state_on_host_boot: true
neutron_plugin_type: ml2.ovs
neutron_ml2_drivers_type: "vxlan,vlan,local"
neutron_ml2_conf_ini_overrides:
securitygroup:
firewall_driver: openvswitch
neutron_openvswitch_agent_ini_overrides:
securitygroup:
firewall_driver: openvswitch
neutron_provider_networks:
network_flat_networks: "*"
network_types: "vxlan,vlan"
network_vlan_ranges: "vlan:2:4090"
network_mappings: "vlan:br-vlan,vxlan:br-vxlan"
network_vxlan_ranges: "100001:999999"
neutron_vxlan_enabled: true
haproxy_keepalived_external_vip_cidr: "10.110.0.10/22"
haproxy_keepalived_internal_vip_cidr: "172.29.239.253/22"
haproxy_keepalived_external_interface: eno1
haproxy_keepalived_internal_interface: br-mgmt
haproxy_keepalived_external_virtual_router_id: 120
haproxy_keepalived_internal_virtual_router_id: 172
haproxy_ssl_self_signed_regen: false
haproxy_user_ssl_cert: /opt/ssl/domain.crt
haproxy_user_ssl_key: /opt/ssl/domain.key
neutron_plugin_base:
- router
- metering
- qos
- trunk
- neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPluginv2
env.d overrides
neutron.yml
---
container_skel:
neutron_server_container:
belongs_to:
- shared-infra_containers
neutron_agents_container:
properties:
is_metal: true
nova.yml
---
container_skel:
nova_compute_container:
belongs_to:
- kvm-compute_containers
- lxd-compute_containers
physical_skel:
kvm-compute_containers:
belongs_to:
- compute_containers
lxd-compute_containers:
belongs_to:
- compute_containers
kvm-compute_hosts:
belongs_to:
- compute_hosts
lxd-compute_hosts:
belongs_to:
- compute_hosts
cinder.yml
---
container_skel:
cinder_volumes_container:
properties:
is_metal: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment