382 lines
9.8 KiB
YAML
Raw Normal View History

Combine our two multi-node-aio processes into one The original mnaio was built using a lot of bash and was tailored specifically for ubuntu 14.04. The new mnaio was built using a mix of bash and ansible and was tailored specifically for ubuntu 16.04. This patch takes the two code bases and combines the best things from each method and wraps it up into a single code path all written using ansible playbooks and basic variables. While underlying system has changed the bash environment variable syntax for overrides remains the same. This allows users to continue with what has become their normal work-flow while leveraging the new structure and capabilities. High level overview: * The general performance of the VMs running within the MNAIO will now be a lot better. Before the VMs were built within QCOW2 containers, while this was flexible and portable it was slower. The new capabilities will use RAW logical volumes and native IO. * New repo management starts with preseeds and allows the user to pin to specific repositories without having to worry about flipping them post build. * CPU overhead will be a lot less. The old VM system used an un-reasonable number of processors per VM which directly translated to sockets. The new system will use cores and a single socket allowing for generally better VM performance with a lot less overhead and resource contention on the host. * Memory consumption has been greatly reduced. Each VM is now following the memory restrictions we'd find in the gate, as a MAX. Most of the VMs are using 1 - 2 GiB of RAM which should be more than enough for our purposes. Overall the deployment process is simpler and more flexible and will work on both trusty and xenial out of the box with the hope to bring centos7 and suse into the fold some time in the future. Change-Id: Idc8924452c481b08fd3b9362efa32d10d1b8f707 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-07-27 00:58:32 -05:00
---
cidr_networks:
lbaas: 10.0.232.0/22
Combine our two multi-node-aio processes into one The original mnaio was built using a lot of bash and was tailored specifically for ubuntu 14.04. The new mnaio was built using a mix of bash and ansible and was tailored specifically for ubuntu 16.04. This patch takes the two code bases and combines the best things from each method and wraps it up into a single code path all written using ansible playbooks and basic variables. While underlying system has changed the bash environment variable syntax for overrides remains the same. This allows users to continue with what has become their normal work-flow while leveraging the new structure and capabilities. High level overview: * The general performance of the VMs running within the MNAIO will now be a lot better. Before the VMs were built within QCOW2 containers, while this was flexible and portable it was slower. The new capabilities will use RAW logical volumes and native IO. * New repo management starts with preseeds and allows the user to pin to specific repositories without having to worry about flipping them post build. * CPU overhead will be a lot less. The old VM system used an un-reasonable number of processors per VM which directly translated to sockets. The new system will use cores and a single socket allowing for generally better VM performance with a lot less overhead and resource contention on the host. * Memory consumption has been greatly reduced. Each VM is now following the memory restrictions we'd find in the gate, as a MAX. Most of the VMs are using 1 - 2 GiB of RAM which should be more than enough for our purposes. Overall the deployment process is simpler and more flexible and will work on both trusty and xenial out of the box with the hope to bring centos7 and suse into the fold some time in the future. Change-Id: Idc8924452c481b08fd3b9362efa32d10d1b8f707 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-07-27 00:58:32 -05:00
container: 10.0.236.0/22
tunnel: 10.0.240.0/22
storage: 10.0.244.0/22
flat: 10.0.248.0/22
used_ips:
- "10.0.232.0,10.0.232.200"
Combine our two multi-node-aio processes into one The original mnaio was built using a lot of bash and was tailored specifically for ubuntu 14.04. The new mnaio was built using a mix of bash and ansible and was tailored specifically for ubuntu 16.04. This patch takes the two code bases and combines the best things from each method and wraps it up into a single code path all written using ansible playbooks and basic variables. While underlying system has changed the bash environment variable syntax for overrides remains the same. This allows users to continue with what has become their normal work-flow while leveraging the new structure and capabilities. High level overview: * The general performance of the VMs running within the MNAIO will now be a lot better. Before the VMs were built within QCOW2 containers, while this was flexible and portable it was slower. The new capabilities will use RAW logical volumes and native IO. * New repo management starts with preseeds and allows the user to pin to specific repositories without having to worry about flipping them post build. * CPU overhead will be a lot less. The old VM system used an un-reasonable number of processors per VM which directly translated to sockets. The new system will use cores and a single socket allowing for generally better VM performance with a lot less overhead and resource contention on the host. * Memory consumption has been greatly reduced. Each VM is now following the memory restrictions we'd find in the gate, as a MAX. Most of the VMs are using 1 - 2 GiB of RAM which should be more than enough for our purposes. Overall the deployment process is simpler and more flexible and will work on both trusty and xenial out of the box with the hope to bring centos7 and suse into the fold some time in the future. Change-Id: Idc8924452c481b08fd3b9362efa32d10d1b8f707 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-07-27 00:58:32 -05:00
- "10.0.236.0,10.0.236.200"
- "10.0.240.0,10.0.240.200"
- "10.0.244.0,10.0.244.200"
- "10.0.248.0,10.0.248.200"
global_overrides:
internal_lb_vip_address: "{{ internal_lb_vip_address | default(hostvars[groups['loadbalancer_hosts'][0]]['server_networks']['mgmt']['address'].split('/')[0]) }}"
external_lb_vip_address: "{{ external_lb_vip_address | default(hostvars[groups['loadbalancer_hosts'][0]]['server_vm_fixed_addr']) }}"
{% if osa_no_containers | bool %}
no_containers: True
{% endif %}
Combine our two multi-node-aio processes into one The original mnaio was built using a lot of bash and was tailored specifically for ubuntu 14.04. The new mnaio was built using a mix of bash and ansible and was tailored specifically for ubuntu 16.04. This patch takes the two code bases and combines the best things from each method and wraps it up into a single code path all written using ansible playbooks and basic variables. While underlying system has changed the bash environment variable syntax for overrides remains the same. This allows users to continue with what has become their normal work-flow while leveraging the new structure and capabilities. High level overview: * The general performance of the VMs running within the MNAIO will now be a lot better. Before the VMs were built within QCOW2 containers, while this was flexible and portable it was slower. The new capabilities will use RAW logical volumes and native IO. * New repo management starts with preseeds and allows the user to pin to specific repositories without having to worry about flipping them post build. * CPU overhead will be a lot less. The old VM system used an un-reasonable number of processors per VM which directly translated to sockets. The new system will use cores and a single socket allowing for generally better VM performance with a lot less overhead and resource contention on the host. * Memory consumption has been greatly reduced. Each VM is now following the memory restrictions we'd find in the gate, as a MAX. Most of the VMs are using 1 - 2 GiB of RAM which should be more than enough for our purposes. Overall the deployment process is simpler and more flexible and will work on both trusty and xenial out of the box with the hope to bring centos7 and suse into the fold some time in the future. Change-Id: Idc8924452c481b08fd3b9362efa32d10d1b8f707 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-07-27 00:58:32 -05:00
tunnel_bridge: "br-vxlan"
management_bridge: "br-mgmt"
provider_networks:
- network:
container_bridge: "br-mgmt"
container_type: "veth"
container_interface: "eth1"
ip_from_q: "container"
type: "raw"
group_binds:
- all_containers
- hosts
is_container_address: true
is_ssh_address: true
{% if osa_enable_networking_ovn | bool %}
Combine our two multi-node-aio processes into one The original mnaio was built using a lot of bash and was tailored specifically for ubuntu 14.04. The new mnaio was built using a mix of bash and ansible and was tailored specifically for ubuntu 16.04. This patch takes the two code bases and combines the best things from each method and wraps it up into a single code path all written using ansible playbooks and basic variables. While underlying system has changed the bash environment variable syntax for overrides remains the same. This allows users to continue with what has become their normal work-flow while leveraging the new structure and capabilities. High level overview: * The general performance of the VMs running within the MNAIO will now be a lot better. Before the VMs were built within QCOW2 containers, while this was flexible and portable it was slower. The new capabilities will use RAW logical volumes and native IO. * New repo management starts with preseeds and allows the user to pin to specific repositories without having to worry about flipping them post build. * CPU overhead will be a lot less. The old VM system used an un-reasonable number of processors per VM which directly translated to sockets. The new system will use cores and a single socket allowing for generally better VM performance with a lot less overhead and resource contention on the host. * Memory consumption has been greatly reduced. Each VM is now following the memory restrictions we'd find in the gate, as a MAX. Most of the VMs are using 1 - 2 GiB of RAM which should be more than enough for our purposes. Overall the deployment process is simpler and more flexible and will work on both trusty and xenial out of the box with the hope to bring centos7 and suse into the fold some time in the future. Change-Id: Idc8924452c481b08fd3b9362efa32d10d1b8f707 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-07-27 00:58:32 -05:00
- network:
container_bridge: "br-vxlan"
container_type: "veth"
container_interface: "eth10"
ip_from_q: "tunnel"
type: "geneve"
Combine our two multi-node-aio processes into one The original mnaio was built using a lot of bash and was tailored specifically for ubuntu 14.04. The new mnaio was built using a mix of bash and ansible and was tailored specifically for ubuntu 16.04. This patch takes the two code bases and combines the best things from each method and wraps it up into a single code path all written using ansible playbooks and basic variables. While underlying system has changed the bash environment variable syntax for overrides remains the same. This allows users to continue with what has become their normal work-flow while leveraging the new structure and capabilities. High level overview: * The general performance of the VMs running within the MNAIO will now be a lot better. Before the VMs were built within QCOW2 containers, while this was flexible and portable it was slower. The new capabilities will use RAW logical volumes and native IO. * New repo management starts with preseeds and allows the user to pin to specific repositories without having to worry about flipping them post build. * CPU overhead will be a lot less. The old VM system used an un-reasonable number of processors per VM which directly translated to sockets. The new system will use cores and a single socket allowing for generally better VM performance with a lot less overhead and resource contention on the host. * Memory consumption has been greatly reduced. Each VM is now following the memory restrictions we'd find in the gate, as a MAX. Most of the VMs are using 1 - 2 GiB of RAM which should be more than enough for our purposes. Overall the deployment process is simpler and more flexible and will work on both trusty and xenial out of the box with the hope to bring centos7 and suse into the fold some time in the future. Change-Id: Idc8924452c481b08fd3b9362efa32d10d1b8f707 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-07-27 00:58:32 -05:00
range: "1:1000"
net_name: "geneve"
Combine our two multi-node-aio processes into one The original mnaio was built using a lot of bash and was tailored specifically for ubuntu 14.04. The new mnaio was built using a mix of bash and ansible and was tailored specifically for ubuntu 16.04. This patch takes the two code bases and combines the best things from each method and wraps it up into a single code path all written using ansible playbooks and basic variables. While underlying system has changed the bash environment variable syntax for overrides remains the same. This allows users to continue with what has become their normal work-flow while leveraging the new structure and capabilities. High level overview: * The general performance of the VMs running within the MNAIO will now be a lot better. Before the VMs were built within QCOW2 containers, while this was flexible and portable it was slower. The new capabilities will use RAW logical volumes and native IO. * New repo management starts with preseeds and allows the user to pin to specific repositories without having to worry about flipping them post build. * CPU overhead will be a lot less. The old VM system used an un-reasonable number of processors per VM which directly translated to sockets. The new system will use cores and a single socket allowing for generally better VM performance with a lot less overhead and resource contention on the host. * Memory consumption has been greatly reduced. Each VM is now following the memory restrictions we'd find in the gate, as a MAX. Most of the VMs are using 1 - 2 GiB of RAM which should be more than enough for our purposes. Overall the deployment process is simpler and more flexible and will work on both trusty and xenial out of the box with the hope to bring centos7 and suse into the fold some time in the future. Change-Id: Idc8924452c481b08fd3b9362efa32d10d1b8f707 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-07-27 00:58:32 -05:00
group_binds:
- neutron_ovn_controller
Combine our two multi-node-aio processes into one The original mnaio was built using a lot of bash and was tailored specifically for ubuntu 14.04. The new mnaio was built using a mix of bash and ansible and was tailored specifically for ubuntu 16.04. This patch takes the two code bases and combines the best things from each method and wraps it up into a single code path all written using ansible playbooks and basic variables. While underlying system has changed the bash environment variable syntax for overrides remains the same. This allows users to continue with what has become their normal work-flow while leveraging the new structure and capabilities. High level overview: * The general performance of the VMs running within the MNAIO will now be a lot better. Before the VMs were built within QCOW2 containers, while this was flexible and portable it was slower. The new capabilities will use RAW logical volumes and native IO. * New repo management starts with preseeds and allows the user to pin to specific repositories without having to worry about flipping them post build. * CPU overhead will be a lot less. The old VM system used an un-reasonable number of processors per VM which directly translated to sockets. The new system will use cores and a single socket allowing for generally better VM performance with a lot less overhead and resource contention on the host. * Memory consumption has been greatly reduced. Each VM is now following the memory restrictions we'd find in the gate, as a MAX. Most of the VMs are using 1 - 2 GiB of RAM which should be more than enough for our purposes. Overall the deployment process is simpler and more flexible and will work on both trusty and xenial out of the box with the hope to bring centos7 and suse into the fold some time in the future. Change-Id: Idc8924452c481b08fd3b9362efa32d10d1b8f707 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-07-27 00:58:32 -05:00
- network:
container_bridge: "br-provider"
container_type: "veth"
container_interface: "eth11"
network_interface: "br-vlan"
type: "vlan"
range: "1:1"
net_name: "vlan"
group_binds:
- neutron_ovn_controller
- network:
container_bridge: "br-provider"
Combine our two multi-node-aio processes into one The original mnaio was built using a lot of bash and was tailored specifically for ubuntu 14.04. The new mnaio was built using a mix of bash and ansible and was tailored specifically for ubuntu 16.04. This patch takes the two code bases and combines the best things from each method and wraps it up into a single code path all written using ansible playbooks and basic variables. While underlying system has changed the bash environment variable syntax for overrides remains the same. This allows users to continue with what has become their normal work-flow while leveraging the new structure and capabilities. High level overview: * The general performance of the VMs running within the MNAIO will now be a lot better. Before the VMs were built within QCOW2 containers, while this was flexible and portable it was slower. The new capabilities will use RAW logical volumes and native IO. * New repo management starts with preseeds and allows the user to pin to specific repositories without having to worry about flipping them post build. * CPU overhead will be a lot less. The old VM system used an un-reasonable number of processors per VM which directly translated to sockets. The new system will use cores and a single socket allowing for generally better VM performance with a lot less overhead and resource contention on the host. * Memory consumption has been greatly reduced. Each VM is now following the memory restrictions we'd find in the gate, as a MAX. Most of the VMs are using 1 - 2 GiB of RAM which should be more than enough for our purposes. Overall the deployment process is simpler and more flexible and will work on both trusty and xenial out of the box with the hope to bring centos7 and suse into the fold some time in the future. Change-Id: Idc8924452c481b08fd3b9362efa32d10d1b8f707 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-07-27 00:58:32 -05:00
container_type: "veth"
container_interface: "eth12"
network_interface: "br-vlan"
Combine our two multi-node-aio processes into one The original mnaio was built using a lot of bash and was tailored specifically for ubuntu 14.04. The new mnaio was built using a mix of bash and ansible and was tailored specifically for ubuntu 16.04. This patch takes the two code bases and combines the best things from each method and wraps it up into a single code path all written using ansible playbooks and basic variables. While underlying system has changed the bash environment variable syntax for overrides remains the same. This allows users to continue with what has become their normal work-flow while leveraging the new structure and capabilities. High level overview: * The general performance of the VMs running within the MNAIO will now be a lot better. Before the VMs were built within QCOW2 containers, while this was flexible and portable it was slower. The new capabilities will use RAW logical volumes and native IO. * New repo management starts with preseeds and allows the user to pin to specific repositories without having to worry about flipping them post build. * CPU overhead will be a lot less. The old VM system used an un-reasonable number of processors per VM which directly translated to sockets. The new system will use cores and a single socket allowing for generally better VM performance with a lot less overhead and resource contention on the host. * Memory consumption has been greatly reduced. Each VM is now following the memory restrictions we'd find in the gate, as a MAX. Most of the VMs are using 1 - 2 GiB of RAM which should be more than enough for our purposes. Overall the deployment process is simpler and more flexible and will work on both trusty and xenial out of the box with the hope to bring centos7 and suse into the fold some time in the future. Change-Id: Idc8924452c481b08fd3b9362efa32d10d1b8f707 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-07-27 00:58:32 -05:00
type: "flat"
net_name: "flat"
group_binds:
- neutron_ovn_controller
{% elif osa_enable_networking_ovs_dvr | bool %}
- 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-provider"
container_type: "veth"
container_interface: "eth11"
network_interface: "br-vlan"
type: "vlan"
range: "1:1"
net_name: "vlan"
group_binds:
- neutron_openvswitch_agent
{% else %}
- network:
container_bridge: "br-vxlan"
container_type: "veth"
container_interface: "eth10"
ip_from_q: "tunnel"
type: "vxlan"
range: "1:1000"
net_name: "vxlan"
Combine our two multi-node-aio processes into one The original mnaio was built using a lot of bash and was tailored specifically for ubuntu 14.04. The new mnaio was built using a mix of bash and ansible and was tailored specifically for ubuntu 16.04. This patch takes the two code bases and combines the best things from each method and wraps it up into a single code path all written using ansible playbooks and basic variables. While underlying system has changed the bash environment variable syntax for overrides remains the same. This allows users to continue with what has become their normal work-flow while leveraging the new structure and capabilities. High level overview: * The general performance of the VMs running within the MNAIO will now be a lot better. Before the VMs were built within QCOW2 containers, while this was flexible and portable it was slower. The new capabilities will use RAW logical volumes and native IO. * New repo management starts with preseeds and allows the user to pin to specific repositories without having to worry about flipping them post build. * CPU overhead will be a lot less. The old VM system used an un-reasonable number of processors per VM which directly translated to sockets. The new system will use cores and a single socket allowing for generally better VM performance with a lot less overhead and resource contention on the host. * Memory consumption has been greatly reduced. Each VM is now following the memory restrictions we'd find in the gate, as a MAX. Most of the VMs are using 1 - 2 GiB of RAM which should be more than enough for our purposes. Overall the deployment process is simpler and more flexible and will work on both trusty and xenial out of the box with the hope to bring centos7 and suse into the fold some time in the future. Change-Id: Idc8924452c481b08fd3b9362efa32d10d1b8f707 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-07-27 00:58:32 -05:00
group_binds:
- neutron_linuxbridge_agent
- network:
container_bridge: "br-vlan"
container_type: "veth"
container_interface: "eth11"
type: "vlan"
range: "1:1"
net_name: "vlan"
group_binds:
- neutron_linuxbridge_agent
- network:
container_bridge: "br-flat"
container_type: "veth"
container_interface: "eth12"
host_bind_override: "veth2"
type: "flat"
net_name: "flat"
group_binds:
- neutron_linuxbridge_agent
- utility_all
{% endif %}
Combine our two multi-node-aio processes into one The original mnaio was built using a lot of bash and was tailored specifically for ubuntu 14.04. The new mnaio was built using a mix of bash and ansible and was tailored specifically for ubuntu 16.04. This patch takes the two code bases and combines the best things from each method and wraps it up into a single code path all written using ansible playbooks and basic variables. While underlying system has changed the bash environment variable syntax for overrides remains the same. This allows users to continue with what has become their normal work-flow while leveraging the new structure and capabilities. High level overview: * The general performance of the VMs running within the MNAIO will now be a lot better. Before the VMs were built within QCOW2 containers, while this was flexible and portable it was slower. The new capabilities will use RAW logical volumes and native IO. * New repo management starts with preseeds and allows the user to pin to specific repositories without having to worry about flipping them post build. * CPU overhead will be a lot less. The old VM system used an un-reasonable number of processors per VM which directly translated to sockets. The new system will use cores and a single socket allowing for generally better VM performance with a lot less overhead and resource contention on the host. * Memory consumption has been greatly reduced. Each VM is now following the memory restrictions we'd find in the gate, as a MAX. Most of the VMs are using 1 - 2 GiB of RAM which should be more than enough for our purposes. Overall the deployment process is simpler and more flexible and will work on both trusty and xenial out of the box with the hope to bring centos7 and suse into the fold some time in the future. Change-Id: Idc8924452c481b08fd3b9362efa32d10d1b8f707 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-07-27 00:58:32 -05:00
- 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
- nova_compute
{% if (osa_enable_object_storage | bool) and not (enable_ceph_storage | bool) %}
Combine our two multi-node-aio processes into one The original mnaio was built using a lot of bash and was tailored specifically for ubuntu 14.04. The new mnaio was built using a mix of bash and ansible and was tailored specifically for ubuntu 16.04. This patch takes the two code bases and combines the best things from each method and wraps it up into a single code path all written using ansible playbooks and basic variables. While underlying system has changed the bash environment variable syntax for overrides remains the same. This allows users to continue with what has become their normal work-flow while leveraging the new structure and capabilities. High level overview: * The general performance of the VMs running within the MNAIO will now be a lot better. Before the VMs were built within QCOW2 containers, while this was flexible and portable it was slower. The new capabilities will use RAW logical volumes and native IO. * New repo management starts with preseeds and allows the user to pin to specific repositories without having to worry about flipping them post build. * CPU overhead will be a lot less. The old VM system used an un-reasonable number of processors per VM which directly translated to sockets. The new system will use cores and a single socket allowing for generally better VM performance with a lot less overhead and resource contention on the host. * Memory consumption has been greatly reduced. Each VM is now following the memory restrictions we'd find in the gate, as a MAX. Most of the VMs are using 1 - 2 GiB of RAM which should be more than enough for our purposes. Overall the deployment process is simpler and more flexible and will work on both trusty and xenial out of the box with the hope to bring centos7 and suse into the fold some time in the future. Change-Id: Idc8924452c481b08fd3b9362efa32d10d1b8f707 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-07-27 00:58:32 -05:00
- swift_proxy
{% endif %}
{% if enable_ceph_storage | bool %}
- ceph-osd
{% endif %}
- network:
container_bridge: "br-lbaas"
container_type: "veth"
container_interface: "eth13"
ip_from_q: "lbaas"
type: "flat"
net_name: "lbaas"
group_binds:
- "neutron_linuxbridge_agent"
- "octavia-worker"
- "octavia-housekeeping"
- "octavia-health-monitor"
{% if (osa_enable_object_storage | bool) and not (enable_ceph_storage | bool) %}
Combine our two multi-node-aio processes into one The original mnaio was built using a lot of bash and was tailored specifically for ubuntu 14.04. The new mnaio was built using a mix of bash and ansible and was tailored specifically for ubuntu 16.04. This patch takes the two code bases and combines the best things from each method and wraps it up into a single code path all written using ansible playbooks and basic variables. While underlying system has changed the bash environment variable syntax for overrides remains the same. This allows users to continue with what has become their normal work-flow while leveraging the new structure and capabilities. High level overview: * The general performance of the VMs running within the MNAIO will now be a lot better. Before the VMs were built within QCOW2 containers, while this was flexible and portable it was slower. The new capabilities will use RAW logical volumes and native IO. * New repo management starts with preseeds and allows the user to pin to specific repositories without having to worry about flipping them post build. * CPU overhead will be a lot less. The old VM system used an un-reasonable number of processors per VM which directly translated to sockets. The new system will use cores and a single socket allowing for generally better VM performance with a lot less overhead and resource contention on the host. * Memory consumption has been greatly reduced. Each VM is now following the memory restrictions we'd find in the gate, as a MAX. Most of the VMs are using 1 - 2 GiB of RAM which should be more than enough for our purposes. Overall the deployment process is simpler and more flexible and will work on both trusty and xenial out of the box with the hope to bring centos7 and suse into the fold some time in the future. Change-Id: Idc8924452c481b08fd3b9362efa32d10d1b8f707 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-07-27 00:58:32 -05:00
swift:
part_power: 8
storage_network: 'br-storage'
replication_network: 'br-storage'
drives:
- name: disk1
- name: disk2
- name: disk3
mount_point: /srv
storage_policies:
- policy:
name: default
index: 0
default: True
{% endif %}
Combine our two multi-node-aio processes into one The original mnaio was built using a lot of bash and was tailored specifically for ubuntu 14.04. The new mnaio was built using a mix of bash and ansible and was tailored specifically for ubuntu 16.04. This patch takes the two code bases and combines the best things from each method and wraps it up into a single code path all written using ansible playbooks and basic variables. While underlying system has changed the bash environment variable syntax for overrides remains the same. This allows users to continue with what has become their normal work-flow while leveraging the new structure and capabilities. High level overview: * The general performance of the VMs running within the MNAIO will now be a lot better. Before the VMs were built within QCOW2 containers, while this was flexible and portable it was slower. The new capabilities will use RAW logical volumes and native IO. * New repo management starts with preseeds and allows the user to pin to specific repositories without having to worry about flipping them post build. * CPU overhead will be a lot less. The old VM system used an un-reasonable number of processors per VM which directly translated to sockets. The new system will use cores and a single socket allowing for generally better VM performance with a lot less overhead and resource contention on the host. * Memory consumption has been greatly reduced. Each VM is now following the memory restrictions we'd find in the gate, as a MAX. Most of the VMs are using 1 - 2 GiB of RAM which should be more than enough for our purposes. Overall the deployment process is simpler and more flexible and will work on both trusty and xenial out of the box with the hope to bring centos7 and suse into the fold some time in the future. Change-Id: Idc8924452c481b08fd3b9362efa32d10d1b8f707 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-07-27 00:58:32 -05:00
###
### Anchors
###
{% if (osa_enable_block_storage | bool) and not (enable_ceph_storage | bool) %}
Combine our two multi-node-aio processes into one The original mnaio was built using a lot of bash and was tailored specifically for ubuntu 14.04. The new mnaio was built using a mix of bash and ansible and was tailored specifically for ubuntu 16.04. This patch takes the two code bases and combines the best things from each method and wraps it up into a single code path all written using ansible playbooks and basic variables. While underlying system has changed the bash environment variable syntax for overrides remains the same. This allows users to continue with what has become their normal work-flow while leveraging the new structure and capabilities. High level overview: * The general performance of the VMs running within the MNAIO will now be a lot better. Before the VMs were built within QCOW2 containers, while this was flexible and portable it was slower. The new capabilities will use RAW logical volumes and native IO. * New repo management starts with preseeds and allows the user to pin to specific repositories without having to worry about flipping them post build. * CPU overhead will be a lot less. The old VM system used an un-reasonable number of processors per VM which directly translated to sockets. The new system will use cores and a single socket allowing for generally better VM performance with a lot less overhead and resource contention on the host. * Memory consumption has been greatly reduced. Each VM is now following the memory restrictions we'd find in the gate, as a MAX. Most of the VMs are using 1 - 2 GiB of RAM which should be more than enough for our purposes. Overall the deployment process is simpler and more flexible and will work on both trusty and xenial out of the box with the hope to bring centos7 and suse into the fold some time in the future. Change-Id: Idc8924452c481b08fd3b9362efa32d10d1b8f707 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-07-27 00:58:32 -05:00
cinder_block: &cinder_block
{% for host in groups['cinder_hosts'] %}
{{ hostvars[host]['server_hostname'] }}:
ip: {{ hostvars[host]['server_networks']['mgmt']['address'].split('/')[0] }}
Combine our two multi-node-aio processes into one The original mnaio was built using a lot of bash and was tailored specifically for ubuntu 14.04. The new mnaio was built using a mix of bash and ansible and was tailored specifically for ubuntu 16.04. This patch takes the two code bases and combines the best things from each method and wraps it up into a single code path all written using ansible playbooks and basic variables. While underlying system has changed the bash environment variable syntax for overrides remains the same. This allows users to continue with what has become their normal work-flow while leveraging the new structure and capabilities. High level overview: * The general performance of the VMs running within the MNAIO will now be a lot better. Before the VMs were built within QCOW2 containers, while this was flexible and portable it was slower. The new capabilities will use RAW logical volumes and native IO. * New repo management starts with preseeds and allows the user to pin to specific repositories without having to worry about flipping them post build. * CPU overhead will be a lot less. The old VM system used an un-reasonable number of processors per VM which directly translated to sockets. The new system will use cores and a single socket allowing for generally better VM performance with a lot less overhead and resource contention on the host. * Memory consumption has been greatly reduced. Each VM is now following the memory restrictions we'd find in the gate, as a MAX. Most of the VMs are using 1 - 2 GiB of RAM which should be more than enough for our purposes. Overall the deployment process is simpler and more flexible and will work on both trusty and xenial out of the box with the hope to bring centos7 and suse into the fold some time in the future. Change-Id: Idc8924452c481b08fd3b9362efa32d10d1b8f707 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-07-27 00:58:32 -05:00
container_vars:
container_tech: "{{ default_container_tech }}"
Combine our two multi-node-aio processes into one The original mnaio was built using a lot of bash and was tailored specifically for ubuntu 14.04. The new mnaio was built using a mix of bash and ansible and was tailored specifically for ubuntu 16.04. This patch takes the two code bases and combines the best things from each method and wraps it up into a single code path all written using ansible playbooks and basic variables. While underlying system has changed the bash environment variable syntax for overrides remains the same. This allows users to continue with what has become their normal work-flow while leveraging the new structure and capabilities. High level overview: * The general performance of the VMs running within the MNAIO will now be a lot better. Before the VMs were built within QCOW2 containers, while this was flexible and portable it was slower. The new capabilities will use RAW logical volumes and native IO. * New repo management starts with preseeds and allows the user to pin to specific repositories without having to worry about flipping them post build. * CPU overhead will be a lot less. The old VM system used an un-reasonable number of processors per VM which directly translated to sockets. The new system will use cores and a single socket allowing for generally better VM performance with a lot less overhead and resource contention on the host. * Memory consumption has been greatly reduced. Each VM is now following the memory restrictions we'd find in the gate, as a MAX. Most of the VMs are using 1 - 2 GiB of RAM which should be more than enough for our purposes. Overall the deployment process is simpler and more flexible and will work on both trusty and xenial out of the box with the hope to bring centos7 and suse into the fold some time in the future. Change-Id: Idc8924452c481b08fd3b9362efa32d10d1b8f707 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-07-27 00:58:32 -05:00
cinder_backends:
limit_container_types: cinder_volume
lvm:
volume_group: cinder-volumes
volume_driver: cinder.volume.drivers.lvm.LVMVolumeDriver
volume_backend_name: LVM_iSCSI
iscsi_ip_address: {{ hostvars[host]['server_networks']['storage']['address'].split('/')[0] }}
{% endfor %}
{% endif %}
{% if osa_enable_compute | bool %}
compute_block: &compute_block
{% for host in groups['compute_hosts'] %}
{{ hostvars[host]['server_hostname'] }}:
ip: {{ hostvars[host]['server_networks']['mgmt']['address'].split('/')[0] }}
container_vars:
container_tech: "{{ default_container_tech }}"
{% endfor %}
{% endif %}
infra_block: &infra_block
{% for host in groups['infra_hosts'] %}
{{ hostvars[host]['server_hostname'] }}:
ip: {{ hostvars[host]['server_networks']['mgmt']['address'].split('/')[0] }}
container_vars:
container_tech: "{{ default_container_tech }}"
{% endfor %}
loadbalancer_block: &loadbalancer_block
{% for host in groups['loadbalancer_hosts'] %}
{{ hostvars[host]['server_hostname'] }}:
ip: {{ hostvars[host]['server_networks']['mgmt']['address'].split('/')[0] }}
container_vars:
container_tech: "{{ default_container_tech }}"
{% endfor %}
log_block: &log_block
{% for host in groups['log_hosts'] %}
{{ hostvars[host]['server_hostname'] }}:
ip: {{ hostvars[host]['server_networks']['mgmt']['address'].split('/')[0] }}
container_vars:
container_tech: "{{ default_container_tech }}"
{% endfor %}
Combine our two multi-node-aio processes into one The original mnaio was built using a lot of bash and was tailored specifically for ubuntu 14.04. The new mnaio was built using a mix of bash and ansible and was tailored specifically for ubuntu 16.04. This patch takes the two code bases and combines the best things from each method and wraps it up into a single code path all written using ansible playbooks and basic variables. While underlying system has changed the bash environment variable syntax for overrides remains the same. This allows users to continue with what has become their normal work-flow while leveraging the new structure and capabilities. High level overview: * The general performance of the VMs running within the MNAIO will now be a lot better. Before the VMs were built within QCOW2 containers, while this was flexible and portable it was slower. The new capabilities will use RAW logical volumes and native IO. * New repo management starts with preseeds and allows the user to pin to specific repositories without having to worry about flipping them post build. * CPU overhead will be a lot less. The old VM system used an un-reasonable number of processors per VM which directly translated to sockets. The new system will use cores and a single socket allowing for generally better VM performance with a lot less overhead and resource contention on the host. * Memory consumption has been greatly reduced. Each VM is now following the memory restrictions we'd find in the gate, as a MAX. Most of the VMs are using 1 - 2 GiB of RAM which should be more than enough for our purposes. Overall the deployment process is simpler and more flexible and will work on both trusty and xenial out of the box with the hope to bring centos7 and suse into the fold some time in the future. Change-Id: Idc8924452c481b08fd3b9362efa32d10d1b8f707 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-07-27 00:58:32 -05:00
{% if (osa_enable_object_storage | bool) and not (enable_ceph_storage | bool) %}
Combine our two multi-node-aio processes into one The original mnaio was built using a lot of bash and was tailored specifically for ubuntu 14.04. The new mnaio was built using a mix of bash and ansible and was tailored specifically for ubuntu 16.04. This patch takes the two code bases and combines the best things from each method and wraps it up into a single code path all written using ansible playbooks and basic variables. While underlying system has changed the bash environment variable syntax for overrides remains the same. This allows users to continue with what has become their normal work-flow while leveraging the new structure and capabilities. High level overview: * The general performance of the VMs running within the MNAIO will now be a lot better. Before the VMs were built within QCOW2 containers, while this was flexible and portable it was slower. The new capabilities will use RAW logical volumes and native IO. * New repo management starts with preseeds and allows the user to pin to specific repositories without having to worry about flipping them post build. * CPU overhead will be a lot less. The old VM system used an un-reasonable number of processors per VM which directly translated to sockets. The new system will use cores and a single socket allowing for generally better VM performance with a lot less overhead and resource contention on the host. * Memory consumption has been greatly reduced. Each VM is now following the memory restrictions we'd find in the gate, as a MAX. Most of the VMs are using 1 - 2 GiB of RAM which should be more than enough for our purposes. Overall the deployment process is simpler and more flexible and will work on both trusty and xenial out of the box with the hope to bring centos7 and suse into the fold some time in the future. Change-Id: Idc8924452c481b08fd3b9362efa32d10d1b8f707 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-07-27 00:58:32 -05:00
swift_block: &swift_block
{% for host in groups['swift_hosts'] %}
{{ hostvars[host]['server_hostname'] }}:
ip: {{ hostvars[host]['server_networks']['mgmt']['address'].split('/')[0] }}
container_vars:
container_tech: "{{ default_container_tech }}"
{% endfor %}
{% endif %}
{% if enable_ceph_storage | bool %}
ceph_osds_block: &ceph_osds_block
{% for host in groups['ceph_hosts'] %}
{{ hostvars[host]['server_hostname'] }}:
ip: {{ hostvars[host]['server_networks']['mgmt']['address'].split('/')[0] }}
container_vars:
container_tech: "{{ default_container_tech }}"
lvm_volumes:
- data: data1
data_vg: vmvg00
journal: journal1
journal_vg: vmvg00
- data: data2
data_vg: vmvg00
journal: journal2
journal_vg: vmvg00
- data: data3
data_vg: vmvg00
journal: journal3
journal_vg: vmvg00
{% endfor %}
{% endif %}
Combine our two multi-node-aio processes into one The original mnaio was built using a lot of bash and was tailored specifically for ubuntu 14.04. The new mnaio was built using a mix of bash and ansible and was tailored specifically for ubuntu 16.04. This patch takes the two code bases and combines the best things from each method and wraps it up into a single code path all written using ansible playbooks and basic variables. While underlying system has changed the bash environment variable syntax for overrides remains the same. This allows users to continue with what has become their normal work-flow while leveraging the new structure and capabilities. High level overview: * The general performance of the VMs running within the MNAIO will now be a lot better. Before the VMs were built within QCOW2 containers, while this was flexible and portable it was slower. The new capabilities will use RAW logical volumes and native IO. * New repo management starts with preseeds and allows the user to pin to specific repositories without having to worry about flipping them post build. * CPU overhead will be a lot less. The old VM system used an un-reasonable number of processors per VM which directly translated to sockets. The new system will use cores and a single socket allowing for generally better VM performance with a lot less overhead and resource contention on the host. * Memory consumption has been greatly reduced. Each VM is now following the memory restrictions we'd find in the gate, as a MAX. Most of the VMs are using 1 - 2 GiB of RAM which should be more than enough for our purposes. Overall the deployment process is simpler and more flexible and will work on both trusty and xenial out of the box with the hope to bring centos7 and suse into the fold some time in the future. Change-Id: Idc8924452c481b08fd3b9362efa32d10d1b8f707 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-07-27 00:58:32 -05:00
###
### Infrastructure
###
{% if osa_enable_infra | bool %}
Combine our two multi-node-aio processes into one The original mnaio was built using a lot of bash and was tailored specifically for ubuntu 14.04. The new mnaio was built using a mix of bash and ansible and was tailored specifically for ubuntu 16.04. This patch takes the two code bases and combines the best things from each method and wraps it up into a single code path all written using ansible playbooks and basic variables. While underlying system has changed the bash environment variable syntax for overrides remains the same. This allows users to continue with what has become their normal work-flow while leveraging the new structure and capabilities. High level overview: * The general performance of the VMs running within the MNAIO will now be a lot better. Before the VMs were built within QCOW2 containers, while this was flexible and portable it was slower. The new capabilities will use RAW logical volumes and native IO. * New repo management starts with preseeds and allows the user to pin to specific repositories without having to worry about flipping them post build. * CPU overhead will be a lot less. The old VM system used an un-reasonable number of processors per VM which directly translated to sockets. The new system will use cores and a single socket allowing for generally better VM performance with a lot less overhead and resource contention on the host. * Memory consumption has been greatly reduced. Each VM is now following the memory restrictions we'd find in the gate, as a MAX. Most of the VMs are using 1 - 2 GiB of RAM which should be more than enough for our purposes. Overall the deployment process is simpler and more flexible and will work on both trusty and xenial out of the box with the hope to bring centos7 and suse into the fold some time in the future. Change-Id: Idc8924452c481b08fd3b9362efa32d10d1b8f707 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-07-27 00:58:32 -05:00
# galera, memcache, rabbitmq, utility
shared-infra_hosts: *infra_block
# repository (apt cache, python packages, etc)
repo-infra_hosts: *infra_block
# rsyslog server
log_hosts: *log_block
Combine our two multi-node-aio processes into one The original mnaio was built using a lot of bash and was tailored specifically for ubuntu 14.04. The new mnaio was built using a mix of bash and ansible and was tailored specifically for ubuntu 16.04. This patch takes the two code bases and combines the best things from each method and wraps it up into a single code path all written using ansible playbooks and basic variables. While underlying system has changed the bash environment variable syntax for overrides remains the same. This allows users to continue with what has become their normal work-flow while leveraging the new structure and capabilities. High level overview: * The general performance of the VMs running within the MNAIO will now be a lot better. Before the VMs were built within QCOW2 containers, while this was flexible and portable it was slower. The new capabilities will use RAW logical volumes and native IO. * New repo management starts with preseeds and allows the user to pin to specific repositories without having to worry about flipping them post build. * CPU overhead will be a lot less. The old VM system used an un-reasonable number of processors per VM which directly translated to sockets. The new system will use cores and a single socket allowing for generally better VM performance with a lot less overhead and resource contention on the host. * Memory consumption has been greatly reduced. Each VM is now following the memory restrictions we'd find in the gate, as a MAX. Most of the VMs are using 1 - 2 GiB of RAM which should be more than enough for our purposes. Overall the deployment process is simpler and more flexible and will work on both trusty and xenial out of the box with the hope to bring centos7 and suse into the fold some time in the future. Change-Id: Idc8924452c481b08fd3b9362efa32d10d1b8f707 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-07-27 00:58:32 -05:00
# load balancer
haproxy_hosts: *loadbalancer_block
{% endif %}
Combine our two multi-node-aio processes into one The original mnaio was built using a lot of bash and was tailored specifically for ubuntu 14.04. The new mnaio was built using a mix of bash and ansible and was tailored specifically for ubuntu 16.04. This patch takes the two code bases and combines the best things from each method and wraps it up into a single code path all written using ansible playbooks and basic variables. While underlying system has changed the bash environment variable syntax for overrides remains the same. This allows users to continue with what has become their normal work-flow while leveraging the new structure and capabilities. High level overview: * The general performance of the VMs running within the MNAIO will now be a lot better. Before the VMs were built within QCOW2 containers, while this was flexible and portable it was slower. The new capabilities will use RAW logical volumes and native IO. * New repo management starts with preseeds and allows the user to pin to specific repositories without having to worry about flipping them post build. * CPU overhead will be a lot less. The old VM system used an un-reasonable number of processors per VM which directly translated to sockets. The new system will use cores and a single socket allowing for generally better VM performance with a lot less overhead and resource contention on the host. * Memory consumption has been greatly reduced. Each VM is now following the memory restrictions we'd find in the gate, as a MAX. Most of the VMs are using 1 - 2 GiB of RAM which should be more than enough for our purposes. Overall the deployment process is simpler and more flexible and will work on both trusty and xenial out of the box with the hope to bring centos7 and suse into the fold some time in the future. Change-Id: Idc8924452c481b08fd3b9362efa32d10d1b8f707 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-07-27 00:58:32 -05:00
{% if enable_ceph_storage | bool %}
# Ceph Mon Hosts
ceph-mon_hosts: *infra_block
# Ceph RGW Hosts
ceph-rgw_hosts: *infra_block
# Ceph OSDs Hosts
ceph-osd_hosts: *ceph_osds_block
{% endif %}
Combine our two multi-node-aio processes into one The original mnaio was built using a lot of bash and was tailored specifically for ubuntu 14.04. The new mnaio was built using a mix of bash and ansible and was tailored specifically for ubuntu 16.04. This patch takes the two code bases and combines the best things from each method and wraps it up into a single code path all written using ansible playbooks and basic variables. While underlying system has changed the bash environment variable syntax for overrides remains the same. This allows users to continue with what has become their normal work-flow while leveraging the new structure and capabilities. High level overview: * The general performance of the VMs running within the MNAIO will now be a lot better. Before the VMs were built within QCOW2 containers, while this was flexible and portable it was slower. The new capabilities will use RAW logical volumes and native IO. * New repo management starts with preseeds and allows the user to pin to specific repositories without having to worry about flipping them post build. * CPU overhead will be a lot less. The old VM system used an un-reasonable number of processors per VM which directly translated to sockets. The new system will use cores and a single socket allowing for generally better VM performance with a lot less overhead and resource contention on the host. * Memory consumption has been greatly reduced. Each VM is now following the memory restrictions we'd find in the gate, as a MAX. Most of the VMs are using 1 - 2 GiB of RAM which should be more than enough for our purposes. Overall the deployment process is simpler and more flexible and will work on both trusty and xenial out of the box with the hope to bring centos7 and suse into the fold some time in the future. Change-Id: Idc8924452c481b08fd3b9362efa32d10d1b8f707 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-07-27 00:58:32 -05:00
###
### OpenStack
###
{% if osa_enable_legacy_os_infra | bool %}
# Legacy infra group
# Contains glance, heat, horizon, nova
os-infra_hosts: *infra_block
{% endif %}
{% if osa_enable_identity | bool %}
Combine our two multi-node-aio processes into one The original mnaio was built using a lot of bash and was tailored specifically for ubuntu 14.04. The new mnaio was built using a mix of bash and ansible and was tailored specifically for ubuntu 16.04. This patch takes the two code bases and combines the best things from each method and wraps it up into a single code path all written using ansible playbooks and basic variables. While underlying system has changed the bash environment variable syntax for overrides remains the same. This allows users to continue with what has become their normal work-flow while leveraging the new structure and capabilities. High level overview: * The general performance of the VMs running within the MNAIO will now be a lot better. Before the VMs were built within QCOW2 containers, while this was flexible and portable it was slower. The new capabilities will use RAW logical volumes and native IO. * New repo management starts with preseeds and allows the user to pin to specific repositories without having to worry about flipping them post build. * CPU overhead will be a lot less. The old VM system used an un-reasonable number of processors per VM which directly translated to sockets. The new system will use cores and a single socket allowing for generally better VM performance with a lot less overhead and resource contention on the host. * Memory consumption has been greatly reduced. Each VM is now following the memory restrictions we'd find in the gate, as a MAX. Most of the VMs are using 1 - 2 GiB of RAM which should be more than enough for our purposes. Overall the deployment process is simpler and more flexible and will work on both trusty and xenial out of the box with the hope to bring centos7 and suse into the fold some time in the future. Change-Id: Idc8924452c481b08fd3b9362efa32d10d1b8f707 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-07-27 00:58:32 -05:00
# keystone
identity_hosts: *infra_block
{% endif %}
Combine our two multi-node-aio processes into one The original mnaio was built using a lot of bash and was tailored specifically for ubuntu 14.04. The new mnaio was built using a mix of bash and ansible and was tailored specifically for ubuntu 16.04. This patch takes the two code bases and combines the best things from each method and wraps it up into a single code path all written using ansible playbooks and basic variables. While underlying system has changed the bash environment variable syntax for overrides remains the same. This allows users to continue with what has become their normal work-flow while leveraging the new structure and capabilities. High level overview: * The general performance of the VMs running within the MNAIO will now be a lot better. Before the VMs were built within QCOW2 containers, while this was flexible and portable it was slower. The new capabilities will use RAW logical volumes and native IO. * New repo management starts with preseeds and allows the user to pin to specific repositories without having to worry about flipping them post build. * CPU overhead will be a lot less. The old VM system used an un-reasonable number of processors per VM which directly translated to sockets. The new system will use cores and a single socket allowing for generally better VM performance with a lot less overhead and resource contention on the host. * Memory consumption has been greatly reduced. Each VM is now following the memory restrictions we'd find in the gate, as a MAX. Most of the VMs are using 1 - 2 GiB of RAM which should be more than enough for our purposes. Overall the deployment process is simpler and more flexible and will work on both trusty and xenial out of the box with the hope to bring centos7 and suse into the fold some time in the future. Change-Id: Idc8924452c481b08fd3b9362efa32d10d1b8f707 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-07-27 00:58:32 -05:00
{% if (osa_enable_block_storage | bool) or (enable_ceph_storage | bool) %}
Combine our two multi-node-aio processes into one The original mnaio was built using a lot of bash and was tailored specifically for ubuntu 14.04. The new mnaio was built using a mix of bash and ansible and was tailored specifically for ubuntu 16.04. This patch takes the two code bases and combines the best things from each method and wraps it up into a single code path all written using ansible playbooks and basic variables. While underlying system has changed the bash environment variable syntax for overrides remains the same. This allows users to continue with what has become their normal work-flow while leveraging the new structure and capabilities. High level overview: * The general performance of the VMs running within the MNAIO will now be a lot better. Before the VMs were built within QCOW2 containers, while this was flexible and portable it was slower. The new capabilities will use RAW logical volumes and native IO. * New repo management starts with preseeds and allows the user to pin to specific repositories without having to worry about flipping them post build. * CPU overhead will be a lot less. The old VM system used an un-reasonable number of processors per VM which directly translated to sockets. The new system will use cores and a single socket allowing for generally better VM performance with a lot less overhead and resource contention on the host. * Memory consumption has been greatly reduced. Each VM is now following the memory restrictions we'd find in the gate, as a MAX. Most of the VMs are using 1 - 2 GiB of RAM which should be more than enough for our purposes. Overall the deployment process is simpler and more flexible and will work on both trusty and xenial out of the box with the hope to bring centos7 and suse into the fold some time in the future. Change-Id: Idc8924452c481b08fd3b9362efa32d10d1b8f707 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-07-27 00:58:32 -05:00
# cinder api services
storage-infra_hosts: *infra_block
{% if not (enable_ceph_storage | bool) %}
# cinder storage host (LVM-backed)
storage_hosts: *cinder_block
{% endif %}
{% endif %}
{% if osa_enable_image | bool %}
Combine our two multi-node-aio processes into one The original mnaio was built using a lot of bash and was tailored specifically for ubuntu 14.04. The new mnaio was built using a mix of bash and ansible and was tailored specifically for ubuntu 16.04. This patch takes the two code bases and combines the best things from each method and wraps it up into a single code path all written using ansible playbooks and basic variables. While underlying system has changed the bash environment variable syntax for overrides remains the same. This allows users to continue with what has become their normal work-flow while leveraging the new structure and capabilities. High level overview: * The general performance of the VMs running within the MNAIO will now be a lot better. Before the VMs were built within QCOW2 containers, while this was flexible and portable it was slower. The new capabilities will use RAW logical volumes and native IO. * New repo management starts with preseeds and allows the user to pin to specific repositories without having to worry about flipping them post build. * CPU overhead will be a lot less. The old VM system used an un-reasonable number of processors per VM which directly translated to sockets. The new system will use cores and a single socket allowing for generally better VM performance with a lot less overhead and resource contention on the host. * Memory consumption has been greatly reduced. Each VM is now following the memory restrictions we'd find in the gate, as a MAX. Most of the VMs are using 1 - 2 GiB of RAM which should be more than enough for our purposes. Overall the deployment process is simpler and more flexible and will work on both trusty and xenial out of the box with the hope to bring centos7 and suse into the fold some time in the future. Change-Id: Idc8924452c481b08fd3b9362efa32d10d1b8f707 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-07-27 00:58:32 -05:00
# glance
image_hosts: *infra_block
{% endif %}
Combine our two multi-node-aio processes into one The original mnaio was built using a lot of bash and was tailored specifically for ubuntu 14.04. The new mnaio was built using a mix of bash and ansible and was tailored specifically for ubuntu 16.04. This patch takes the two code bases and combines the best things from each method and wraps it up into a single code path all written using ansible playbooks and basic variables. While underlying system has changed the bash environment variable syntax for overrides remains the same. This allows users to continue with what has become their normal work-flow while leveraging the new structure and capabilities. High level overview: * The general performance of the VMs running within the MNAIO will now be a lot better. Before the VMs were built within QCOW2 containers, while this was flexible and portable it was slower. The new capabilities will use RAW logical volumes and native IO. * New repo management starts with preseeds and allows the user to pin to specific repositories without having to worry about flipping them post build. * CPU overhead will be a lot less. The old VM system used an un-reasonable number of processors per VM which directly translated to sockets. The new system will use cores and a single socket allowing for generally better VM performance with a lot less overhead and resource contention on the host. * Memory consumption has been greatly reduced. Each VM is now following the memory restrictions we'd find in the gate, as a MAX. Most of the VMs are using 1 - 2 GiB of RAM which should be more than enough for our purposes. Overall the deployment process is simpler and more flexible and will work on both trusty and xenial out of the box with the hope to bring centos7 and suse into the fold some time in the future. Change-Id: Idc8924452c481b08fd3b9362efa32d10d1b8f707 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-07-27 00:58:32 -05:00
{% if osa_enable_lbaas | bool %}
# octavia
octavia-infra_hosts: *infra_block
{% endif %}
{% if osa_enable_dnsaas | bool %}
# designate
dnsaas_hosts: *infra_block
{% endif %}
{% if osa_enable_compute | bool %}
Combine our two multi-node-aio processes into one The original mnaio was built using a lot of bash and was tailored specifically for ubuntu 14.04. The new mnaio was built using a mix of bash and ansible and was tailored specifically for ubuntu 16.04. This patch takes the two code bases and combines the best things from each method and wraps it up into a single code path all written using ansible playbooks and basic variables. While underlying system has changed the bash environment variable syntax for overrides remains the same. This allows users to continue with what has become their normal work-flow while leveraging the new structure and capabilities. High level overview: * The general performance of the VMs running within the MNAIO will now be a lot better. Before the VMs were built within QCOW2 containers, while this was flexible and portable it was slower. The new capabilities will use RAW logical volumes and native IO. * New repo management starts with preseeds and allows the user to pin to specific repositories without having to worry about flipping them post build. * CPU overhead will be a lot less. The old VM system used an un-reasonable number of processors per VM which directly translated to sockets. The new system will use cores and a single socket allowing for generally better VM performance with a lot less overhead and resource contention on the host. * Memory consumption has been greatly reduced. Each VM is now following the memory restrictions we'd find in the gate, as a MAX. Most of the VMs are using 1 - 2 GiB of RAM which should be more than enough for our purposes. Overall the deployment process is simpler and more flexible and will work on both trusty and xenial out of the box with the hope to bring centos7 and suse into the fold some time in the future. Change-Id: Idc8924452c481b08fd3b9362efa32d10d1b8f707 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-07-27 00:58:32 -05:00
# nova api, conductor, etc services
compute-infra_hosts: *infra_block
# nova hypervisors
compute_hosts: *compute_block
{% endif %}
{% if osa_enable_orchestration | bool %}
Combine our two multi-node-aio processes into one The original mnaio was built using a lot of bash and was tailored specifically for ubuntu 14.04. The new mnaio was built using a mix of bash and ansible and was tailored specifically for ubuntu 16.04. This patch takes the two code bases and combines the best things from each method and wraps it up into a single code path all written using ansible playbooks and basic variables. While underlying system has changed the bash environment variable syntax for overrides remains the same. This allows users to continue with what has become their normal work-flow while leveraging the new structure and capabilities. High level overview: * The general performance of the VMs running within the MNAIO will now be a lot better. Before the VMs were built within QCOW2 containers, while this was flexible and portable it was slower. The new capabilities will use RAW logical volumes and native IO. * New repo management starts with preseeds and allows the user to pin to specific repositories without having to worry about flipping them post build. * CPU overhead will be a lot less. The old VM system used an un-reasonable number of processors per VM which directly translated to sockets. The new system will use cores and a single socket allowing for generally better VM performance with a lot less overhead and resource contention on the host. * Memory consumption has been greatly reduced. Each VM is now following the memory restrictions we'd find in the gate, as a MAX. Most of the VMs are using 1 - 2 GiB of RAM which should be more than enough for our purposes. Overall the deployment process is simpler and more flexible and will work on both trusty and xenial out of the box with the hope to bring centos7 and suse into the fold some time in the future. Change-Id: Idc8924452c481b08fd3b9362efa32d10d1b8f707 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-07-27 00:58:32 -05:00
# heat
orchestration_hosts: *infra_block
{% endif %}
Combine our two multi-node-aio processes into one The original mnaio was built using a lot of bash and was tailored specifically for ubuntu 14.04. The new mnaio was built using a mix of bash and ansible and was tailored specifically for ubuntu 16.04. This patch takes the two code bases and combines the best things from each method and wraps it up into a single code path all written using ansible playbooks and basic variables. While underlying system has changed the bash environment variable syntax for overrides remains the same. This allows users to continue with what has become their normal work-flow while leveraging the new structure and capabilities. High level overview: * The general performance of the VMs running within the MNAIO will now be a lot better. Before the VMs were built within QCOW2 containers, while this was flexible and portable it was slower. The new capabilities will use RAW logical volumes and native IO. * New repo management starts with preseeds and allows the user to pin to specific repositories without having to worry about flipping them post build. * CPU overhead will be a lot less. The old VM system used an un-reasonable number of processors per VM which directly translated to sockets. The new system will use cores and a single socket allowing for generally better VM performance with a lot less overhead and resource contention on the host. * Memory consumption has been greatly reduced. Each VM is now following the memory restrictions we'd find in the gate, as a MAX. Most of the VMs are using 1 - 2 GiB of RAM which should be more than enough for our purposes. Overall the deployment process is simpler and more flexible and will work on both trusty and xenial out of the box with the hope to bring centos7 and suse into the fold some time in the future. Change-Id: Idc8924452c481b08fd3b9362efa32d10d1b8f707 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-07-27 00:58:32 -05:00
{% if osa_enable_dashboard | bool %}
Combine our two multi-node-aio processes into one The original mnaio was built using a lot of bash and was tailored specifically for ubuntu 14.04. The new mnaio was built using a mix of bash and ansible and was tailored specifically for ubuntu 16.04. This patch takes the two code bases and combines the best things from each method and wraps it up into a single code path all written using ansible playbooks and basic variables. While underlying system has changed the bash environment variable syntax for overrides remains the same. This allows users to continue with what has become their normal work-flow while leveraging the new structure and capabilities. High level overview: * The general performance of the VMs running within the MNAIO will now be a lot better. Before the VMs were built within QCOW2 containers, while this was flexible and portable it was slower. The new capabilities will use RAW logical volumes and native IO. * New repo management starts with preseeds and allows the user to pin to specific repositories without having to worry about flipping them post build. * CPU overhead will be a lot less. The old VM system used an un-reasonable number of processors per VM which directly translated to sockets. The new system will use cores and a single socket allowing for generally better VM performance with a lot less overhead and resource contention on the host. * Memory consumption has been greatly reduced. Each VM is now following the memory restrictions we'd find in the gate, as a MAX. Most of the VMs are using 1 - 2 GiB of RAM which should be more than enough for our purposes. Overall the deployment process is simpler and more flexible and will work on both trusty and xenial out of the box with the hope to bring centos7 and suse into the fold some time in the future. Change-Id: Idc8924452c481b08fd3b9362efa32d10d1b8f707 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-07-27 00:58:32 -05:00
# horizon
dashboard_hosts: *infra_block
{% endif %}
Combine our two multi-node-aio processes into one The original mnaio was built using a lot of bash and was tailored specifically for ubuntu 14.04. The new mnaio was built using a mix of bash and ansible and was tailored specifically for ubuntu 16.04. This patch takes the two code bases and combines the best things from each method and wraps it up into a single code path all written using ansible playbooks and basic variables. While underlying system has changed the bash environment variable syntax for overrides remains the same. This allows users to continue with what has become their normal work-flow while leveraging the new structure and capabilities. High level overview: * The general performance of the VMs running within the MNAIO will now be a lot better. Before the VMs were built within QCOW2 containers, while this was flexible and portable it was slower. The new capabilities will use RAW logical volumes and native IO. * New repo management starts with preseeds and allows the user to pin to specific repositories without having to worry about flipping them post build. * CPU overhead will be a lot less. The old VM system used an un-reasonable number of processors per VM which directly translated to sockets. The new system will use cores and a single socket allowing for generally better VM performance with a lot less overhead and resource contention on the host. * Memory consumption has been greatly reduced. Each VM is now following the memory restrictions we'd find in the gate, as a MAX. Most of the VMs are using 1 - 2 GiB of RAM which should be more than enough for our purposes. Overall the deployment process is simpler and more flexible and will work on both trusty and xenial out of the box with the hope to bring centos7 and suse into the fold some time in the future. Change-Id: Idc8924452c481b08fd3b9362efa32d10d1b8f707 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-07-27 00:58:32 -05:00
{% if osa_enable_network | bool %}
Combine our two multi-node-aio processes into one The original mnaio was built using a lot of bash and was tailored specifically for ubuntu 14.04. The new mnaio was built using a mix of bash and ansible and was tailored specifically for ubuntu 16.04. This patch takes the two code bases and combines the best things from each method and wraps it up into a single code path all written using ansible playbooks and basic variables. While underlying system has changed the bash environment variable syntax for overrides remains the same. This allows users to continue with what has become their normal work-flow while leveraging the new structure and capabilities. High level overview: * The general performance of the VMs running within the MNAIO will now be a lot better. Before the VMs were built within QCOW2 containers, while this was flexible and portable it was slower. The new capabilities will use RAW logical volumes and native IO. * New repo management starts with preseeds and allows the user to pin to specific repositories without having to worry about flipping them post build. * CPU overhead will be a lot less. The old VM system used an un-reasonable number of processors per VM which directly translated to sockets. The new system will use cores and a single socket allowing for generally better VM performance with a lot less overhead and resource contention on the host. * Memory consumption has been greatly reduced. Each VM is now following the memory restrictions we'd find in the gate, as a MAX. Most of the VMs are using 1 - 2 GiB of RAM which should be more than enough for our purposes. Overall the deployment process is simpler and more flexible and will work on both trusty and xenial out of the box with the hope to bring centos7 and suse into the fold some time in the future. Change-Id: Idc8924452c481b08fd3b9362efa32d10d1b8f707 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-07-27 00:58:32 -05:00
# neutron server, agents (L3, etc)
network_hosts: *infra_block
{% endif %}
Combine our two multi-node-aio processes into one The original mnaio was built using a lot of bash and was tailored specifically for ubuntu 14.04. The new mnaio was built using a mix of bash and ansible and was tailored specifically for ubuntu 16.04. This patch takes the two code bases and combines the best things from each method and wraps it up into a single code path all written using ansible playbooks and basic variables. While underlying system has changed the bash environment variable syntax for overrides remains the same. This allows users to continue with what has become their normal work-flow while leveraging the new structure and capabilities. High level overview: * The general performance of the VMs running within the MNAIO will now be a lot better. Before the VMs were built within QCOW2 containers, while this was flexible and portable it was slower. The new capabilities will use RAW logical volumes and native IO. * New repo management starts with preseeds and allows the user to pin to specific repositories without having to worry about flipping them post build. * CPU overhead will be a lot less. The old VM system used an un-reasonable number of processors per VM which directly translated to sockets. The new system will use cores and a single socket allowing for generally better VM performance with a lot less overhead and resource contention on the host. * Memory consumption has been greatly reduced. Each VM is now following the memory restrictions we'd find in the gate, as a MAX. Most of the VMs are using 1 - 2 GiB of RAM which should be more than enough for our purposes. Overall the deployment process is simpler and more flexible and will work on both trusty and xenial out of the box with the hope to bring centos7 and suse into the fold some time in the future. Change-Id: Idc8924452c481b08fd3b9362efa32d10d1b8f707 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-07-27 00:58:32 -05:00
{% if osa_enable_meter | bool %}
Combine our two multi-node-aio processes into one The original mnaio was built using a lot of bash and was tailored specifically for ubuntu 14.04. The new mnaio was built using a mix of bash and ansible and was tailored specifically for ubuntu 16.04. This patch takes the two code bases and combines the best things from each method and wraps it up into a single code path all written using ansible playbooks and basic variables. While underlying system has changed the bash environment variable syntax for overrides remains the same. This allows users to continue with what has become their normal work-flow while leveraging the new structure and capabilities. High level overview: * The general performance of the VMs running within the MNAIO will now be a lot better. Before the VMs were built within QCOW2 containers, while this was flexible and portable it was slower. The new capabilities will use RAW logical volumes and native IO. * New repo management starts with preseeds and allows the user to pin to specific repositories without having to worry about flipping them post build. * CPU overhead will be a lot less. The old VM system used an un-reasonable number of processors per VM which directly translated to sockets. The new system will use cores and a single socket allowing for generally better VM performance with a lot less overhead and resource contention on the host. * Memory consumption has been greatly reduced. Each VM is now following the memory restrictions we'd find in the gate, as a MAX. Most of the VMs are using 1 - 2 GiB of RAM which should be more than enough for our purposes. Overall the deployment process is simpler and more flexible and will work on both trusty and xenial out of the box with the hope to bring centos7 and suse into the fold some time in the future. Change-Id: Idc8924452c481b08fd3b9362efa32d10d1b8f707 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-07-27 00:58:32 -05:00
# ceilometer (telemetry data collection)
metering-infra_hosts: *infra_block
# aodh (telemetry alarm service)
metering-alarm_hosts: *infra_block
# gnocchi (telemetry metrics storage)
metrics_hosts: *infra_block
# ceilometer compute agent (telemetry data collection)
metering-compute_hosts: *compute_block
{% endif %}
Combine our two multi-node-aio processes into one The original mnaio was built using a lot of bash and was tailored specifically for ubuntu 14.04. The new mnaio was built using a mix of bash and ansible and was tailored specifically for ubuntu 16.04. This patch takes the two code bases and combines the best things from each method and wraps it up into a single code path all written using ansible playbooks and basic variables. While underlying system has changed the bash environment variable syntax for overrides remains the same. This allows users to continue with what has become their normal work-flow while leveraging the new structure and capabilities. High level overview: * The general performance of the VMs running within the MNAIO will now be a lot better. Before the VMs were built within QCOW2 containers, while this was flexible and portable it was slower. The new capabilities will use RAW logical volumes and native IO. * New repo management starts with preseeds and allows the user to pin to specific repositories without having to worry about flipping them post build. * CPU overhead will be a lot less. The old VM system used an un-reasonable number of processors per VM which directly translated to sockets. The new system will use cores and a single socket allowing for generally better VM performance with a lot less overhead and resource contention on the host. * Memory consumption has been greatly reduced. Each VM is now following the memory restrictions we'd find in the gate, as a MAX. Most of the VMs are using 1 - 2 GiB of RAM which should be more than enough for our purposes. Overall the deployment process is simpler and more flexible and will work on both trusty and xenial out of the box with the hope to bring centos7 and suse into the fold some time in the future. Change-Id: Idc8924452c481b08fd3b9362efa32d10d1b8f707 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-07-27 00:58:32 -05:00
{% if (osa_enable_object_storage | bool) and not (enable_ceph_storage | bool) %}
Combine our two multi-node-aio processes into one The original mnaio was built using a lot of bash and was tailored specifically for ubuntu 14.04. The new mnaio was built using a mix of bash and ansible and was tailored specifically for ubuntu 16.04. This patch takes the two code bases and combines the best things from each method and wraps it up into a single code path all written using ansible playbooks and basic variables. While underlying system has changed the bash environment variable syntax for overrides remains the same. This allows users to continue with what has become their normal work-flow while leveraging the new structure and capabilities. High level overview: * The general performance of the VMs running within the MNAIO will now be a lot better. Before the VMs were built within QCOW2 containers, while this was flexible and portable it was slower. The new capabilities will use RAW logical volumes and native IO. * New repo management starts with preseeds and allows the user to pin to specific repositories without having to worry about flipping them post build. * CPU overhead will be a lot less. The old VM system used an un-reasonable number of processors per VM which directly translated to sockets. The new system will use cores and a single socket allowing for generally better VM performance with a lot less overhead and resource contention on the host. * Memory consumption has been greatly reduced. Each VM is now following the memory restrictions we'd find in the gate, as a MAX. Most of the VMs are using 1 - 2 GiB of RAM which should be more than enough for our purposes. Overall the deployment process is simpler and more flexible and will work on both trusty and xenial out of the box with the hope to bring centos7 and suse into the fold some time in the future. Change-Id: Idc8924452c481b08fd3b9362efa32d10d1b8f707 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-07-27 00:58:32 -05:00
# swift storage hosts
swift_hosts: *swift_block
# swift infra hosts
swift-proxy_hosts: *infra_block
{% endif %}
{% if osa_enable_elk_metrics | bool %}
# kibana hosts
kibana_hosts: *infra_block
# elasticsearch/logstash hosts
elastic-logstash_hosts: *log_block
# apm hosts
apm-server_hosts: *log_block
{% endif %}