From 74ae14a07be7dc6032807f3cbd3b2418567c6301 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Piliszek?= Date: Sun, 6 Dec 2020 16:29:21 +0100 Subject: [PATCH] Do not start swift-object-updater on stop Change-Id: I7970c5b02f178fd8fb35c984117f6bc848353a5b Closes-Bug: #1906944 --- ansible/roles/swift/tasks/stop.yml | 2 +- releasenotes/notes/bug-1906944-38798e1348ff9c97.yaml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/bug-1906944-38798e1348ff9c97.yaml diff --git a/ansible/roles/swift/tasks/stop.yml b/ansible/roles/swift/tasks/stop.yml index f874a6855c..4edd2ae3b3 100644 --- a/ansible/roles/swift/tasks/stop.yml +++ b/ansible/roles/swift/tasks/stop.yml @@ -123,7 +123,7 @@ - name: Stopping swift-object-updater container become: true kolla_docker: - action: "start_container" + action: "stop_container" common_options: "{{ docker_common_options }}" name: "swift_object_updater" when: diff --git a/releasenotes/notes/bug-1906944-38798e1348ff9c97.yaml b/releasenotes/notes/bug-1906944-38798e1348ff9c97.yaml new file mode 100644 index 0000000000..79b60f24e9 --- /dev/null +++ b/releasenotes/notes/bug-1906944-38798e1348ff9c97.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Fixes Swift's stop action. It will no longer try to start + ``swift-object-updater`` container again. + `LP#1906944 `__