Skip to content

Commit 595eec1

Browse files
committed
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 <[email protected]> (cherry picked from commit 5c19f9a)
1 parent 05403af commit 595eec1

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

ansible/roles/swift/defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
project_name: "swift"
33

44
swift_services:
5-
swift-api:
5+
swift-proxy-server:
66
group: swift-proxy-server
77
enabled: true
88
haproxy:
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
- name: Restart swift-proxy-server container
3+
debug:
4+
msg: "Noop. No need to restart the swift-proxy-server container"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
fixes:
3+
- |
4+
Fixes Swift deploy when TLS enabled.
5+
Added the missing handler and corrected the container name.
6+
`LP#1931097 <https://launchpad.net/bugs/1931097>`__

0 commit comments

Comments
 (0)