Disable heartbeat_in_pthread by default

The default value for heartbeat_in_pthread has been reverted in
oslo.messaging to False [1] and backported back to Yoga.

At the moment this setting brings intermittent issues during live
migrations of instances and some other operations. So makes sense
to align it with default value.

[1] https://review.opendev.org/c/openstack/oslo.messaging/+/852251

Change-Id: I06dae436639562c88ef917fd06f1f73e2ce74720
This commit is contained in:
Dmitriy Rabotyagov
2024-07-16 13:50:17 +02:00
parent 79f14e4aa4
commit 7cedd910d0
2 changed files with 1 additions and 3 deletions

View File

@@ -88,7 +88,7 @@ cinder_db_connection_recycle_time: "{{ openstack_db_connection_recycle_time | de
## Oslo Messaging
# RabbitMQ
cinder_oslomsg_heartbeat_in_pthread: "{{ oslomsg_heartbeat_in_pthread | default(_cinder_oslomsg_heartbeat_in_pthread) }}"
cinder_oslomsg_heartbeat_in_pthread: "{{ oslomsg_heartbeat_in_pthread | default(False) }}"
# RPC
cinder_oslomsg_rpc_host_group: "{{ oslomsg_rpc_host_group | default('rabbitmq_all') }}"

View File

@@ -152,8 +152,6 @@ cinder_service_catalog:
description: "{{ cinder_service_v3_description }}"
state: present
_cinder_oslomsg_heartbeat_in_pthread: "{{ (cinder_services['cinder-volume']['group'] in group_names) | ternary(False, True) }}"
_cinder_coordination_url: >-
{{ cinder_coordination_driver }}://{{
groups[cinder_coordination_group]