Repository navigation
Conversation
nova-cloud-controller renders /etc/nova/mod_wsgi.conf.d/oslo-messaging-rabbit.conf so that only the nova API WSGI apps run with heartbeat_in_pthread = True. Check the rendered value from Train, where oslo.messaging added the option. Related-Bug: #2073260 Signed-off-by: Seyeong Kim <seyeong.kim@canonical.com> (cherry picked from commit c83e7ac)
openstackadmin
pushed a commit
to openstack/charm-nova-cloud-controller
that referenced
this pull request
Nov 5, 2026
Since oslo.messaging defaults heartbeat_in_pthread to False, nova API services under Apache mod_wsgi send AMQP heartbeats from green threads. Render /etc/nova/mod_wsgi.conf.d/oslo-messaging-rabbit.conf with heartbeat_in_pthread = True so only the WSGI apps pick it up. This only applies from Train, where oslo.messaging added the option, up to 2025.2. From 2026.1 these apps use native threading and their own prog name, so the file is not needed there. Backport note: the release check is dropped because this branch only covers releases after Train and before 2026.1, and its charmhelpers does not know 'gazpacho'. Closes-Bug: #2073260 Func-Test-PR: openstack-charmers/zaza-openstack-tests#1443 Change-Id: I40323261b05c97ba3fdadf8a948208eb5b36e761 Signed-off-by: Seyeong Kim <seyeong.kim@canonical.com> (cherry picked from commit b9e727a)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
nova-cloud-controller renders
/etc/nova/mod_wsgi.conf.d/oslo-messaging-rabbit.conf so that only the nova API WSGI apps run with heartbeat_in_pthread = True.
Check the rendered value from Train.
Related-Bug: #2073260