Since ansible 2.8, usage of dashes in group names is against convention, so by default Ansible issues a warning for such group names. This patch aims to finaly rename groups for all new deployments, while making the transition for existing ones as smooth as possible. For existing deployments old defenitions will be respected, and a new set of groups produced. It's up do operators to perform the clean up of old groups. We also change the value of ANSIBLE_TRANSFORM_INVALID_GROUP_CHARS to show the warning, but konvert groups names to the new format. This is needed to ensure roles and playbooks will have expected group names in them, even though this may affect negatively cases, where OSA deploy hosts are also being used for internal operations. Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/978458 Change-Id: I94907bcce7947df48f8cd19c3a79a8c7242dbc2d Signed-off-by: Dmitriy Rabotyagov <dmitriy.rabotyagov@cleura.com>
174 lines
4.1 KiB
Plaintext
174 lines
4.1 KiB
Plaintext
---
|
|
cidr_networks: &cidr_networks
|
|
management: 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.50"
|
|
- "172.29.240.1,172.29.240.50"
|
|
- "172.29.244.1,172.29.244.50"
|
|
- "172.29.248.1,172.29.248.50"
|
|
|
|
global_overrides:
|
|
cidr_networks: *cidr_networks
|
|
internal_lb_vip_address: 172.29.236.9
|
|
#
|
|
# 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: openstack.example.com
|
|
management_bridge: "br-mgmt"
|
|
provider_networks:
|
|
- network:
|
|
container_bridge: "br-mgmt"
|
|
container_type: "veth"
|
|
container_interface: "eth1"
|
|
ip_from_q: "management"
|
|
type: "raw"
|
|
group_binds:
|
|
- all_containers
|
|
- hosts
|
|
is_management_address: true
|
|
- network:
|
|
container_bridge: "br-vxlan"
|
|
container_type: "veth"
|
|
container_interface: "eth10"
|
|
ip_from_q: "tunnel"
|
|
type: "vxlan"
|
|
range: "1:1000"
|
|
net_name: "vxlan"
|
|
group_binds:
|
|
- neutron_openvswitch_agent
|
|
- network:
|
|
container_bridge: "br-vlan"
|
|
container_type: "veth"
|
|
container_interface: "eth12"
|
|
host_bind_override: "eth12"
|
|
type: "flat"
|
|
net_name: "physnet1"
|
|
group_binds:
|
|
- neutron_openvswitch_agent
|
|
- network:
|
|
container_bridge: "br-vlan"
|
|
container_type: "veth"
|
|
container_interface: "eth11"
|
|
type: "vlan"
|
|
range: "101:200,301:400"
|
|
net_name: "physnet2"
|
|
group_binds:
|
|
- neutron_openvswitch_agent
|
|
- network:
|
|
container_bridge: "br-storage"
|
|
container_type: "veth"
|
|
container_interface: "eth2"
|
|
ip_from_q: "storage"
|
|
type: "raw"
|
|
group_binds:
|
|
- glance_api
|
|
- cinder_api
|
|
- cinder_volume
|
|
- manila_share
|
|
- nova_compute
|
|
- ceph_mon
|
|
- ceph_osd
|
|
|
|
###
|
|
### Infrastructure
|
|
###
|
|
|
|
_infrastructure_hosts: &infrastructure_hosts
|
|
infra1:
|
|
ip: 172.29.236.11
|
|
infra2:
|
|
ip: 172.29.236.12
|
|
infra3:
|
|
ip: 172.29.236.13
|
|
|
|
# nova hypervisors
|
|
compute_hosts: &compute_hosts
|
|
compute1:
|
|
ip: 172.29.236.16
|
|
compute2:
|
|
ip: 172.29.236.17
|
|
|
|
ceph_osd_hosts:
|
|
osd1:
|
|
ip: 172.29.236.18
|
|
osd2:
|
|
ip: 172.29.236.19
|
|
osd3:
|
|
ip: 172.29.236.20
|
|
|
|
# galera, memcache, rabbitmq, utility
|
|
shared_infra_hosts: *infrastructure_hosts
|
|
|
|
# zookeeper
|
|
coordination_hosts: *infrastructure_hosts
|
|
|
|
# ceph_mon containers
|
|
ceph_mon_hosts: *infrastructure_hosts
|
|
|
|
# ceph_mds containers
|
|
ceph_mds_hosts: *infrastructure_hosts
|
|
|
|
# ganesha-nfs hosts
|
|
ceph_nfs_hosts: *infrastructure_hosts
|
|
|
|
# repository (apt cache, python packages, etc)
|
|
repo_infra_hosts: *infrastructure_hosts
|
|
|
|
# load balancer
|
|
# Ideally the load balancer should not use the Infrastructure hosts.
|
|
# Dedicated hardware is best for improved performance and security.
|
|
load_balancer_hosts: *infrastructure_hosts
|
|
|
|
###
|
|
### OpenStack
|
|
###
|
|
|
|
# keystone
|
|
identity_hosts: *infrastructure_hosts
|
|
|
|
# cinder api services
|
|
storage_infra_hosts: *infrastructure_hosts
|
|
|
|
# cinder volume hosts (Ceph RBD-backed)
|
|
storage_hosts: *infrastructure_hosts
|
|
|
|
# glance
|
|
image_hosts: *infrastructure_hosts
|
|
|
|
# placement
|
|
placement_infra_hosts: *infrastructure_hosts
|
|
|
|
# nova api, conductor, etc services
|
|
compute_infra_hosts: *infrastructure_hosts
|
|
|
|
# heat
|
|
orchestration_hosts: *infrastructure_hosts
|
|
|
|
# horizon
|
|
dashboard_hosts: *infrastructure_hosts
|
|
|
|
# neutron server, agents (L3, etc)
|
|
network_hosts: *infrastructure_hosts
|
|
|
|
# ceilometer (telemetry data collection)
|
|
metering_infra_hosts: *infrastructure_hosts
|
|
|
|
# aodh (telemetry alarm service)
|
|
metering_alarm_hosts: *infrastructure_hosts
|
|
|
|
# gnocchi (telemetry metrics storage)
|
|
metrics_hosts: *infrastructure_hosts
|
|
|
|
# manila (share service)
|
|
manila_infra_hosts: *infrastructure_hosts
|
|
manila_data_hosts: *infrastructure_hosts
|
|
|
|
# ceilometer compute agent (telemetry data collection)
|
|
metering_compute_hosts: *compute_hosts
|