openstack-ansible-os_swift/tests/os_swift-overrides.yml
Major Hayden fa9f41f823
Optimize swift gate
This patch contains five combined improvements.

1) Remove RabbitMQ from the gate

RabbitMQ is only needed in the swift gate if the ceilometer
middleware is being deloyed. This isn't enabled in the gate
job, so let's save some time and deploy memcached/galera
without RabbitMQ.

2) Bindep pyOpenSSL change

This commit also includes the pyOpenSSL bindep change in the
hopes that we can get the swift gate moving along again. ;)

3) Disable erasure code test for CentOS

Due to #1707220 we are running into issues with CentOS 7 running Erasure
Code storage policies on RAX hardware.

This patch temoprarily disables EC testing for CentOS 7, but we can
re-enable that once the package is backported to stable/ocata branch.

4) Pass packages as a list

This patch passes a list of packages to the package module
rather than using "with_items" and it should speed up the
package installation process.

5) Set package state to present

Change-Id: Ic7b13853ce00b0f8ac2181e46e2bd8dea5ce377e
Co-Authored-By: Andy McCrae <andy.mccrae@gmail.com>
2017-08-09 08:43:25 -05:00

57 lines
1.6 KiB
YAML

---
# Copyright 2015, Rackspace US, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
bridges:
- name: "br-mgmt"
ip_addr: "10.1.1.1"
- name: "br-storage"
ip_addr: "10.1.2.1"
- name: "br-repl"
ip_addr: "10.1.3.1"
swift_pretend_min_part_hours_passed: False
swift:
storage_network: "{{ test_swift_storage_network | default('eth2') }}"
replication_network: "{{ test_swift_repl_network | default('eth3') }}"
part_power: 8
repl_number: "{{ test_swift_repl_number | default(3) }}"
region: "{{ test_swift_region | default(1) }}"
groups:
- account
- container
- gold
- ec-tests
drives:
- name: swift1
- name: swift2
mount_point: /openstack
storage_policies:
- policy:
name: gold
index: 0
default: True
- policy:
name: ec-tests
index: 1
policy_type: erasure_coding
ec_type: liberasurecode_rs_vand
ec_num_data_fragments: 3
ec_num_parity_fragments: 2
ec_object_segment_size: 1048576
deprecated: "{{ ((ansible_os_family | lower) == 'redhat') | ternary('yes', 'no') }}"
swift_package_state: present