Use RpcPort for container healthchecks
Update healthcheck commands that probe oslo's messaging port to use the RpcPort parameter. Previously, some templates referenced the service's own 'rabbit_port' config setting, which led to malformed healthcheck commands when the 'rabbit_port' settings were deprecated. Update the templates that looked up the port in the RabbitMQService's global_config_settings. Not only did this break the oslo abstraction by referring to a specific messaging backend (rabbit), it broke split-stack deployments in which the RabbitMQService is not actually deployed on the secondary stack's nodes. This patch creates a common healthcheck command using the RpcPort parameter in containers-common.yaml. This allows other templates to reference a common healthcheck command. Other templates that should also use this can be cleaned up in a separate patch. Closes-Bug: #1825342 Change-Id: I0d3974089ae6e6879adab4852715c7a1c1188f7cchanges/08/658108/3
parent
5834f17f4b
commit
c5fe51147b
Loading…
Reference in New Issue