From e53ac82f254ea8a82e47a9e1e15dfbe70f663ed0 Mon Sep 17 00:00:00 2001 From: Andy McCrae Date: Tue, 12 Apr 2016 10:43:41 +1000 Subject: [PATCH] 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 --- tasks/swift_post_install.yml | 1 + tests/test.yml | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tasks/swift_post_install.yml b/tasks/swift_post_install.yml index d00203c7..65859ae6 100644 --- a/tasks/swift_post_install.yml +++ b/tasks/swift_post_install.yml @@ -57,6 +57,7 @@ - Restart swift container services - Restart swift object services - Restart swift proxy services + - Restart rsyslog tags: - swift-config - swift-post-install diff --git a/tests/test.yml b/tests/test.yml index 70e540dc..8f68f6f5 100644 --- a/tests/test.yml +++ b/tests/test.yml @@ -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