Use oslo_messaging_rpc_port for nova rpc healthchecks
With 405366fa32583e88c34417e5f46fa574ed8f4e98 the parameters RpcPort, RpcUserName, RpcPassword and RpcUseSSL got deprecated and nova::rabbitmq_port removed. As a result the healtcheck get called with null parameter and fail. We now get the global_config_settings from RabbitMQService and use oslo_messaging_rpc_port for the healthcheck. Change-Id: I1849926b1d6256de5f4d677de5a9b34d78aad5d0 Closes-Bug: #1824805
This commit is contained in:
parent
8ab49229f6
commit
8ff04029f5
@ -269,6 +269,16 @@ resources:
|
|||||||
MySQLClient:
|
MySQLClient:
|
||||||
type: ../../deployment/database/mysql-client.yaml
|
type: ../../deployment/database/mysql-client.yaml
|
||||||
|
|
||||||
|
RabbitMQService:
|
||||||
|
type: ../rabbitmq/rabbitmq-messaging-rpc-container-puppet.yaml
|
||||||
|
properties:
|
||||||
|
ServiceData: {get_param: ServiceData}
|
||||||
|
ServiceNetMap: {get_param: ServiceNetMap}
|
||||||
|
DefaultPasswords: {get_param: DefaultPasswords}
|
||||||
|
EndpointMap: {get_param: EndpointMap}
|
||||||
|
RoleName: {get_param: RoleName}
|
||||||
|
RoleParameters: {get_param: RoleParameters}
|
||||||
|
|
||||||
NovaComputeCommon:
|
NovaComputeCommon:
|
||||||
type: ./nova-compute-common-container-puppet.yaml
|
type: ./nova-compute-common-container-puppet.yaml
|
||||||
properties:
|
properties:
|
||||||
@ -355,6 +365,7 @@ outputs:
|
|||||||
value:
|
value:
|
||||||
service_name: nova_compute
|
service_name: nova_compute
|
||||||
monitoring_subscription: {get_param: MonitoringSubscriptionNovaCompute}
|
monitoring_subscription: {get_param: MonitoringSubscriptionNovaCompute}
|
||||||
|
global_config_settings: {get_attr: [RabbitMQService, role_data, global_config_settings]}
|
||||||
config_settings:
|
config_settings:
|
||||||
map_merge:
|
map_merge:
|
||||||
- get_attr: [NovaLogging, config_settings]
|
- get_attr: [NovaLogging, config_settings]
|
||||||
@ -543,7 +554,7 @@ outputs:
|
|||||||
- yaql:
|
- yaql:
|
||||||
expression: str($.data.port)
|
expression: str($.data.port)
|
||||||
data:
|
data:
|
||||||
port: {get_attr: [NovaBase, role_data, config_settings, 'nova::rabbit_port']}
|
port: {get_attr: [RabbitMQService, role_data, global_config_settings, 'oslo_messaging_rpc_port']}
|
||||||
volumes:
|
volumes:
|
||||||
list_concat:
|
list_concat:
|
||||||
- {get_attr: [ContainersCommon, volumes]}
|
- {get_attr: [ContainersCommon, volumes]}
|
||||||
|
@ -87,6 +87,16 @@ resources:
|
|||||||
MySQLClient:
|
MySQLClient:
|
||||||
type: ../../deployment/database/mysql-client.yaml
|
type: ../../deployment/database/mysql-client.yaml
|
||||||
|
|
||||||
|
RabbitMQService:
|
||||||
|
type: ../rabbitmq/rabbitmq-messaging-rpc-container-puppet.yaml
|
||||||
|
properties:
|
||||||
|
ServiceData: {get_param: ServiceData}
|
||||||
|
ServiceNetMap: {get_param: ServiceNetMap}
|
||||||
|
DefaultPasswords: {get_param: DefaultPasswords}
|
||||||
|
EndpointMap: {get_param: EndpointMap}
|
||||||
|
RoleName: {get_param: RoleName}
|
||||||
|
RoleParameters: {get_param: RoleParameters}
|
||||||
|
|
||||||
NovaLogging:
|
NovaLogging:
|
||||||
type: OS::TripleO::Services::Logging::NovaCommon
|
type: OS::TripleO::Services::Logging::NovaCommon
|
||||||
properties:
|
properties:
|
||||||
@ -110,6 +120,7 @@ outputs:
|
|||||||
value:
|
value:
|
||||||
service_name: nova_scheduler
|
service_name: nova_scheduler
|
||||||
monitoring_subscription: {get_param: MonitoringSubscriptionNovaScheduler}
|
monitoring_subscription: {get_param: MonitoringSubscriptionNovaScheduler}
|
||||||
|
global_config_settings: {get_attr: [RabbitMQService, role_data, global_config_settings]}
|
||||||
config_settings:
|
config_settings:
|
||||||
map_merge:
|
map_merge:
|
||||||
- {get_attr: [NovaBase, role_data, config_settings]}
|
- {get_attr: [NovaBase, role_data, config_settings]}
|
||||||
@ -170,7 +181,7 @@ outputs:
|
|||||||
- yaql:
|
- yaql:
|
||||||
expression: str($.data.port)
|
expression: str($.data.port)
|
||||||
data:
|
data:
|
||||||
port: {get_attr: [NovaBase, role_data, config_settings, 'nova::rabbit_port']}
|
port: {get_attr: [RabbitMQService, role_data, global_config_settings, 'oslo_messaging_rpc_port']}
|
||||||
volumes:
|
volumes:
|
||||||
list_concat:
|
list_concat:
|
||||||
- {get_attr: [ContainersCommon, volumes]}
|
- {get_attr: [ContainersCommon, volumes]}
|
||||||
|
@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
With 405366fa32583e88c34417e5f46fa574ed8f4e98 the parameters RpcPort,
|
||||||
|
RpcUserName, RpcPassword and RpcUseSSL got deprecated and
|
||||||
|
nova::rabbitmq_port removed. As a result the healtcheck get called with
|
||||||
|
null parameter and fail.
|
||||||
|
We now get the global_config_settings from RabbitMQService and use
|
||||||
|
oslo_messaging_rpc_port for the healthcheck.
|
Loading…
x
Reference in New Issue
Block a user