From 8a21f096577a20be1aafdb2e3656cf5b06ff2f90 Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Thu, 22 Jan 2015 14:29:00 +0000 Subject: [PATCH] Adjust os-ansible-aio-check to work for all branches The icehouse branch does not currently have support for using the conf.d directory for additional user configuration. This patch implements all the configuration, except swift (which is not available in the icehouse branch) into a monolothic user configuration file. This ensures compatibility of the configuration process for all branches. This patch also ensures that the plays executed are appropriate for the branches - the icehouse branch has different names for some of the plays. Change-Id: Iffad2ffce93e8173da68863210afba0aa105622d Closes-Bug: #1413606 --- scripts/os-ansible-aio-check.sh | 92 ++++++++++++++++++++------------- 1 file changed, 55 insertions(+), 37 deletions(-) diff --git a/scripts/os-ansible-aio-check.sh b/scripts/os-ansible-aio-check.sh index 75259989b4..79834985e9 100755 --- a/scripts/os-ansible-aio-check.sh +++ b/scripts/os-ansible-aio-check.sh @@ -271,36 +271,6 @@ global_overrides: external_lb_vip_address: $(ip -o -4 addr show dev eth0 | awk -F '[ /]+' '/global/ {print $4}') tunnel_bridge: "br-vxlan" management_bridge: "br-mgmt" -infra_hosts: - aio1: - ip: 172.29.236.100 -compute_hosts: - aio1: - ip: 172.29.236.100 -storage_hosts: - aio1: - ip: 172.29.236.100 - container_vars: - cinder_backends: - limit_container_types: cinder_volume - lvm: - volume_group: cinder-volumes - volume_driver: cinder.volume.drivers.lvm.LVMISCSIDriver - volume_backend_name: LVM_iSCSI -log_hosts: - aio1: - ip: 172.29.236.100 -network_hosts: - aio1: - ip: 172.29.236.100 -haproxy_hosts: - aio1: - ip: 172.29.236.100 -EOF - -cat > /etc/rpc_deploy/conf.d/provider_networks.yml <> /etc/rpc_deploy/conf.d/provider_networks.yml <> /etc/rpc_deploy/rpc_user_config.yml <> /etc/rpc_deploy/rpc_user_config.yml < /etc/network/interfaces.d/aio-bridges.cfg <