From 7195b08718d59c1288cb0473b5b8da8ea909bca8 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Sun, 24 Sep 2017 04:52:51 +0200 Subject: [PATCH] update: update rgw systemd unit name The old name is used in `rolling_update.yml` and `purge-docker-cluster.yml`, it breaks the `test_rgw_service_is_running()` test. Signed-off-by: Guillaume Abrioux --- infrastructure-playbooks/purge-docker-cluster.yml | 2 +- infrastructure-playbooks/rolling_update.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/infrastructure-playbooks/purge-docker-cluster.yml b/infrastructure-playbooks/purge-docker-cluster.yml index 7941752bd..5e6917109 100644 --- a/infrastructure-playbooks/purge-docker-cluster.yml +++ b/infrastructure-playbooks/purge-docker-cluster.yml @@ -107,7 +107,7 @@ - name: disable ceph rgw service (new unit name) service: - name: "ceph-radosgw@{{ ansible_hostname }}" + name: "ceph-radosgw@rgw.{{ ansible_hostname }}" state: stopped enabled: no ignore_errors: true diff --git a/infrastructure-playbooks/rolling_update.yml b/infrastructure-playbooks/rolling_update.yml index 308a188ef..ba8d2bac7 100644 --- a/infrastructure-playbooks/rolling_update.yml +++ b/infrastructure-playbooks/rolling_update.yml @@ -483,7 +483,7 @@ - name: restart containerized ceph rgws with systemd service: - name: ceph-radosgw@{{ ansible_hostname }} + name: ceph-radosgw@rgw.{{ ansible_hostname }} state: restarted enabled: yes when: