Merge "Notify not only aodh-api service but also apache"

This commit is contained in:
Zuul 2018-07-10 03:50:57 +00:00 committed by Gerrit Code Review
commit 25ee1863a7
2 changed files with 7 additions and 1 deletions

View File

@ -124,7 +124,9 @@ release. aodh::wsgi::apache supports setting a port.')
}
# we need to make sure aodh-api/eventlet is stopped before trying to start apache
Service['aodh-api'] -> Service[$service_name]
Service['aodh-api'] -> Service[$::apache::params::service_name]
# the apache service is untagged so add it to the service section manually
Anchor['aodh::service::begin'] ~> Service[$::apache::params::service_name]
} else {
fail("Invalid service_name. Either aodh/openstack-aodh-api for running \
as a standalone service, or httpd for being run by a httpd server")

View File

@ -0,0 +1,4 @@
---
fixes:
- Deal with API being run using Apache when restarting the API (e.g. due to
configuration changes)