cd222e8cff
Swift Erasure Coding requires the object-reconstructor to be running, this PR adds the object-reconstructor configuration and systemd/upstart file. Additionally, this PR adds testing for an erasure-coding policy as well as for multiple policies in 1 deployment. Change-Id: I71fe3d77e93112b9d27c93b37b59e6242cb3e00e Closes-Bug: #1634859
52 lines
1.4 KiB
YAML
52 lines
1.4 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:
|
|
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
|