Notify not only cinder service, but also Apache
Apache needs to be notified as well in case the API is being served in
that context, otherwise config changes would not take effect without
manual intervention.
Change-Id: If5e7c14d59843ee7c813eb1df8d7131e002dbd22
(cherry picked from commit 2cd58b8fb0
)
This commit is contained in:
parent
cf0656b0f8
commit
10385870e4
@ -268,6 +268,7 @@ class cinder::api (
|
||||
enable => false,
|
||||
tag => ['cinder-service'],
|
||||
}
|
||||
Service <| title == 'httpd' |> { tag +> 'cinder-service' }
|
||||
|
||||
# we need to make sure cinder-api/eventlet is stopped before trying to start apache
|
||||
Service['cinder-api'] -> Service[$service_name]
|
||||
|
5
releasenotes/notes/restart-apache-6b5d1e4ef37b7ff6.yaml
Normal file
5
releasenotes/notes/restart-apache-6b5d1e4ef37b7ff6.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Notify Apache in case the API is served in that context when the API is
|
||||
supposed to be restarted, for instance due to configuration changes.
|
Loading…
Reference in New Issue
Block a user