Role os_swift for OpenStack-Ansible
Go to file
Andy McCrae 53027de8c8 Setup rsync module per object server drive
This PR sets up rsync module per drive for swift object servers. This
improves resource distribution, and also allows us to utilise rsync
module changes to prevent disk writes to specific drives when they begin
filling up.

Enable this option by setting "swift_rsync_module_per_drive: True", this
will still default to False to match upstream defaults. Additionally the
rsync max connections has been increased to match upstream defaults.

Additionally we include rsync.d/*.conf files by default and set this
directory up, so that we can add individual configuration to disable
specific drives.

Change-Id: I2019cade5bf5f2878497d30ce738dff07786fa64
2016-05-16 11:57:46 +01:00
defaults Setup rsync module per object server drive 2016-05-16 11:57:46 +01:00
doc Implement base configuration for independent repository 2016-03-01 15:03:17 -06:00
handlers Fix rsync service restart in os_swift 2016-01-27 16:51:14 +00:00
meta Ensure that pip lock down happens before other dependencies 2016-03-31 17:09:14 +00:00
releasenotes Setup rsync module per object server drive 2016-05-16 11:57:46 +01:00
tasks Setup rsync module per object server drive 2016-05-16 11:57:46 +01:00
templates Setup rsync module per object server drive 2016-05-16 11:57:46 +01:00
tests Refactor os_swift testing 2016-05-12 13:40:17 +01:00
.gitignore Add .swp files to .gitignore 2016-05-04 15:21:23 +01:00
.gitreview Implement base configuration for independent repository 2016-03-01 15:03:17 -06:00
CONTRIBUTING.rst Adding Vagrantfile for local developer testing 2016-03-02 15:43:59 -05:00
LICENSE Implement base configuration for independent repository 2016-03-01 15:03:17 -06:00
other-requirements.txt Add dependencies for paramiko 2.0 2016-05-03 08:57:01 +01:00
README.rst [DOCS] Cleaned up Swift README 2016-03-03 09:38:05 -05:00
run_tests.sh Add dependencies for paramiko 2.0 2016-05-03 08:57:01 +01:00
setup.cfg Implement base configuration for independent repository 2016-03-01 15:03:17 -06:00
setup.py Implement base configuration for independent repository 2016-03-01 15:03:17 -06:00
test-requirements.txt blacklist Ansible 1.9.6 2016-04-16 08:43:13 -05:00
tox.ini Add reno scaffolding for release notes management 2016-04-09 19:21:20 +01:00
Vagrantfile Adding Vagrantfile for local developer testing 2016-03-02 15:43:59 -05:00

OpenStack-Ansible Swift

tags

openstack, swift, cloud, ansible

category

*nix

Ansible role to install OpenStack Swift and Swift registry.

This role will install the following:
  • swift
- name: Install swift server
  hosts: swift_all
  user: root
  roles:
    - { role: "os_swift", tags: [ "os-swift" ] }
  vars:
    external_lb_vip_address: 172.16.24.1
    internal_lb_vip_address: 192.168.0.1