openstack-ansible/playbooks
Steve Lewis f32a31d585 Ensure rsync restarts fully during swift setup
Existing rsync stop/start handlers were relying on the pattern
parameter to the Ansible service module which relies on the results
of ps to determine if the service is running. This is unnecessary
because the rsync service script is well-behaved and responds
appropriately to start stop and restart commands. Removal of the
pattern param ensures that the response from the service command is
used instead.

Root cause of the bug is that when Keystone was changed to share
fernet secrets via rsync over ssh tunnel, an rsync process was
introduced in AIOs, Swift stand-alones, and other deployment
configurations that contain Keystone containers on the storage hosts.

The resulting rsync processes within Keystone containers pollute the
results of ps commands on the host, fooling Ansible into thinking
that an rsync service is running on the standard port when it is not.

Secondly, the handler responsible for stopping rsync was not causing
the notice for "Ensure rsync service running" to trigger cleanly in
my testing, so the tasks were changed to trigger both notices in an
ordered list.

Change-Id: I5ed47f7c1974d6b22eeb2ff5816ee6fa30ee9309
Closes-Bug: 1481121
2015-09-03 05:45:50 +00:00
..
defaults/repo_packages Update ceilometer_git_repo to use git.openstack.org 2015-08-25 10:50:56 +01:00
inventory Fixing haproxy-playbook fails when installing on multiple hosts 2015-09-02 12:40:20 +00:00
library Keystone Federation Service Provider Configuration 2015-08-07 08:44:51 +00:00
plugins Adds a pep8 target to tox.ini 2015-08-14 11:42:26 +00:00
roles Ensure rsync restarts fully during swift setup 2015-09-03 05:45:50 +00:00
vars/configs Keystone SSL cert/key distribution and configuration 2015-08-19 07:51:09 +00:00
ansible.cfg Change ansible forks used 2015-07-30 15:11:14 +01:00
galera-install.yml Removed default lxc profile on container create 2015-08-25 13:15:45 +00:00
haproxy-install.yml Keystone SSL cert/key distribution and configuration 2015-08-19 07:51:09 +00:00
lxc-containers-create.yml Fixed container user create issue 2015-05-04 21:31:13 +00:00
lxc-containers-destroy.yml Ensure flush-net-cache on local host 2015-06-28 17:25:28 +00:00
lxc-hosts-setup.yml Moved the playbook vars to defaults 2015-05-14 12:32:36 -05:00
memcached-install.yml Wait for container ssh after apparmor profile update 2015-09-02 09:21:55 +01:00
openstack-hosts-setup.yml Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
os-ceilometer-install.yml Wait for container ssh after apparmor profile update 2015-09-02 09:21:55 +01:00
os-cinder-install.yml Wait for container ssh after apparmor profile update 2015-09-02 09:21:55 +01:00
os-glance-install.yml Wait for container ssh after apparmor profile update 2015-09-02 09:21:55 +01:00
os-heat-install.yml Wait for container ssh after apparmor profile update 2015-09-02 09:21:55 +01:00
os-horizon-install.yml Wait for container ssh after apparmor profile update 2015-09-02 09:21:55 +01:00
os-keystone-install.yml Wait for container ssh after apparmor profile update 2015-09-02 09:21:55 +01:00
os-neutron-install.yml Wait for container ssh after apparmor profile update 2015-09-02 09:21:55 +01:00
os-nova-install.yml Wait for container ssh after apparmor profile update 2015-09-02 09:21:55 +01:00
os-swift-install.yml Add swift-sync role and environment 2015-08-07 08:45:18 +00:00
os-swift-setup.yml Wait for container ssh after apparmor profile update 2015-09-02 09:21:55 +01:00
os-swift-sync.yml Add swift-sync role and environment 2015-08-07 08:45:18 +00:00
os-tempest-install.yml Add role system-crontab-coordination 2015-06-30 10:06:11 +01:00
rabbitmq-install.yml Wait for container ssh after apparmor profile update 2015-09-02 09:21:55 +01:00
repo-build.yml Updated the repo scripts 2015-04-11 17:44:59 -05:00
repo-install.yml Remove upstream repo dependency 2015-08-24 08:32:07 +01:00
repo-server.yml Wait for container ssh after apparmor profile update 2015-09-02 09:21:55 +01:00
repo-store-source.yml Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
rsyslog-install.yml Wait for container ssh after apparmor profile update 2015-09-02 09:21:55 +01:00
setup-everything.yml Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
setup-hosts.yml Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
setup-infrastructure.yml Add new rsyslog server role 2015-03-15 20:07:56 +00:00
setup-openstack.yml Re-order setup-openstack play to match the gate check order 2015-08-06 21:21:42 +00:00
utility-install.yml Wait for container ssh after apparmor profile update 2015-09-02 09:21:55 +01:00