Resolve issues with swift tests

This PR fixes the following minor test issues:

* The swift ring and swift-service addresses are now consistent.
* Memcache now listens on the appropriate IP.
* The openrc file is now populated correctly.
* Rsyslog restarts appropriately, meaning logs are generated.

Change-Id: Ie4f9672eba5936232ccfc613bdcc03a7fdeb090b
This commit is contained in:
Andy McCrae 2016-04-12 10:43:41 +10:00
parent fd3aeae416
commit e53ac82f25
2 changed files with 4 additions and 1 deletions

View File

@ -57,6 +57,7 @@
- Restart swift container services
- Restart swift object services
- Restart swift proxy services
- Restart rsyslog
tags:
- swift-config
- swift-post-install

View File

@ -172,6 +172,7 @@
- { option: "gcache.size", value: "32M" }
galera_server_id: "{{ inventory_hostname | string_2_int }}"
- role: "memcached_server"
memcached_listen: 10.100.100.2
- name: Setup keystone
hosts: service_all
@ -308,7 +309,7 @@
- role: "{{ rolename | basename }}"
vars:
swift:
storage_network: eth0
storage_network: eth1
part_power: 8
drives:
- name: swift1
@ -342,6 +343,7 @@
swift_git_install_branch: master
openrc_os_password: "{{ keystone_auth_admin_password }}"
openrc_os_domain_name: "Default"
openrc_os_auth_url: "http://10.100.100.2:5000/v3"
memcached_encryption_key: "secrete"
debug: true
verbose: true