Add forgotten 'Restart container' handler for swift

Since I0474324b60a5f792ef5210ab336639edf7a8cd9e swift role uses the new
service-cert-copy role introduced in the
I6351147ddaff8b2ae629179a9bc3bae2ebac9519 but the swift role itself
doesn't contain the handler used in the service-cert-copy. Right now,
restarting the swift container isn't necessary, but the handler should
exist. Also we should fix the name of the service used.

Closes-Bug: #1931097
Change-Id: I2d0615ce6914e1f875a2647c8a95b86dd17eeb22
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
This commit is contained in:
Maksim Malchuk 2021-06-07 10:43:52 +03:00
parent fad696be8d
commit 5c19f9a5e0
3 changed files with 11 additions and 1 deletions

View File

@ -2,7 +2,7 @@
project_name: "swift" project_name: "swift"
swift_services: swift_services:
swift-api: swift-proxy-server:
group: swift-proxy-server group: swift-proxy-server
enabled: true enabled: true
haproxy: haproxy:

View File

@ -0,0 +1,4 @@
---
- name: Restart swift-proxy-server container
debug:
msg: "Noop. No need to restart the swift-proxy-server container"

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Fixes Swift deploy when TLS enabled.
Added the missing handler and corrected the container name.
`LP#1931097 <https://launchpad.net/bugs/1931097>`__