Skip to content
Snippets Groups Projects
Commit 8680cf67 authored by Santiago Elizondo's avatar Santiago Elizondo
Browse files

playbook test y prod

parent 0659edc8
No related branches found
No related tags found
No related merge requests found
cidr_networks:
container: 10.0.1.0/24
tunnel: 10.0.10.0/24
storage: 10.0.2.0/24
used_ips:
- "10.0.1.1,10.0.1.20" # red de management
- "10.0.2.1,10.0.2.20" # red de storage
- "10.0.10.1,10.0.10.20" # red de vxlan
global_overrides:
internal_lb_vip_address: 10.0.1.12
external_lb_vip_address: 10.0.1.12
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: "1:1000"
net_name: "vxlan"
- network:
group_binds:
- neutron_linuxbridge_agent
container_bridge: "br-vlan"
container_type: "veth"
container_interface: "eth11"
type: "vlan"
range: "101:200,301:400"
net_name: "vlan"
- network:
group_binds:
- neutron_linuxbridge_agent
container_bridge: "br-vlan"
container_type: "veth"
container_interface: "eth12"
host_bind_override: "eth12"
type: "flat"
net_name: "flat"
shared-infra_hosts:
infra1:
ip: 10.0.1.11
repo-infra_hosts:
infra1:
ip: 10.0.1.11
haproxy_hosts:
infra2:
ip: 10.0.1.12
os-infra_hosts:
infra1:
ip: 10.0.1.11
identity_hosts:
infra1:
ip: 10.0.1.11
network_hosts:
infra1:
ip: 10.0.1.11
compute_hosts:
infra1:
ip: 10.0.1.11
storage-infra_hosts:
infra1:
ip: 10.0.1.11
storage_hosts:
infra1:
ip: 10.0.1.11
container_vars:
cinder_backends:
lvm:
volume_backend_name: LVM
volume_driver: cinder.volume.drivers.lvm.LVMVolumeDriver
volume_group: cinder-volumes
iscsi_ip_address: "10.0.2.11"
log_hosts:
infra1:
ip: 10.0.1.11
---
cidr_networks:
container: 10.0.1.0/24
tunnel: 10.0.10.0/24
storage: 10.0.2.0/24
used_ips:
- "10.0.1.1,10.0.1.20" # red de management
- "10.0.2.1,10.0.2.20" # red de storage
- "10.0.10.1,10.0.10.20" # red de vxlan
global_overrides:
internal_lb_vip_address: 10.0.1.15
#
# The below domain name must resolve to an IP address
# in the CIDR specified in haproxy_keepalived_external_vip_cidr.
# If using different protocols (https/http) for the public/internal
# endpoints the two addresses must be different.
#
external_lb_vip_address: 192.168.60.160
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: "1:1000"
net_name: "vxlan"
- network:
group_binds:
- neutron_linuxbridge_agent
container_bridge: "br-vlan"
container_type: "veth"
container_interface: "eth11"
type: "vlan"
range: "101:200,301:400"
net_name: "vlan"
- network:
group_binds:
- neutron_linuxbridge_agent
container_bridge: "br-vlan"
container_type: "veth"
container_interface: "eth12"
host_bind_override: "eth12"
type: "flat"
net_name: "flat"
###
### Infrastructure
###
# galera, memcache, rabbitmq, utility
shared-infra_hosts:
infra1:
ip: 10.0.1.11
# repository (apt cache, python packages, etc)
repo-infra_hosts:
infra1:
ip: 10.0.1.11
# load balancer
# Ideally the load balancer should not use the Infrastructure hosts.
# Dedicated hardware is best for improved performance and security.
haproxy_hosts:
infra2:
ip: 10.0.1.15
# rsyslog server
log_hosts:
infra1:
ip: 10.0.1.11
###
### OpenStack
###
# keystone
identity_hosts:
infra1:
ip: 10.0.1.11
# cinder api services
storage-infra_hosts:
infra1:
ip: 10.0.1.11
# glance
image_hosts:
infra1:
ip: 10.0.1.11
# nova api, conductor, etc services
compute-infra_hosts:
infra1:
ip: 10.0.1.11
# heat
orchestration_hosts:
infra1:
ip: 10.0.1.11
# horizon
dashboard_hosts:
infra1:
ip: 10.0.1.11
# neutron server, agents (L3, etc)
network_hosts:
infra1:
ip: 10.0.1.11
# nova hypervisors
compute_hosts:
compute1:
ip: 10.0.1.12
# cinder volume hosts
storage_hosts:
infra1:
ip: 10.0.1.11
container_vars:
cinder_backends:
lvm:
volume_backend_name: LVM
volume_driver: cinder.volume.drivers.lvm.LVMVolumeDriver
volume_group: cinder-volumes
iscsi_ip_address: "10.0.2.13"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment