Fix ssl config update when api node is split
Currently, if we deploy cinder-api and cinder-volume to different nodes, ssl_key and ssl_cert don't get configured on the api node. The ApacheSSLContext's __call__ method should gate on the 'api' service being enabled, rather than 'cinder-common'. Change-Id: I6d5d6710a73f9393ad7c45c3307925b10cda641d Closes-bug: #1741479
This commit is contained in:
parent
a2dfed738f
commit
6b2363f11e
|
@ -115,7 +115,7 @@ class ApacheSSLContext(SSLContext):
|
|||
def __call__(self):
|
||||
# late import to work around circular dependency
|
||||
from cinder_utils import service_enabled
|
||||
if not service_enabled('cinder-common'):
|
||||
if not service_enabled('api'):
|
||||
return {}
|
||||
return super(ApacheSSLContext, self).__call__()
|
||||
|
||||
|
|
Loading…
Reference in New Issue