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, up to 2025.2. Related-Bug: #2073260 Signed-off-by: Seyeong Kim <seyeong.kim@canonical.com>
freyes
approved these changes
Oct 27, 2026
openstackadmin
pushed a commit
to openstack/charm-nova-cloud-controller
that referenced
this pull request
Nov 3, 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. Closes-Bug: #2073260 Func-Test-PR: openstack-charmers/zaza-openstack-tests#1440 Change-Id: I40323261b05c97ba3fdadf8a948208eb5b36e761 Signed-off-by: Seyeong Kim <seyeong.kim@canonical.com>
openstackadmin
pushed a commit
to openstack/openstack
that referenced
this pull request
Nov 3, 2026
* Update charm-nova-cloud-controller from branch 'master'
to dd4cf82a80d9be1628edd25f338dce0d23e520bf
- Merge "Enable heartbeat_in_pthread for nova WSGI apps"
- Enable heartbeat_in_pthread for nova WSGI apps
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.
Closes-Bug: #2073260
Func-Test-PR: openstack-charmers/zaza-openstack-tests#1440
Change-Id: I40323261b05c97ba3fdadf8a948208eb5b36e761
Signed-off-by: Seyeong Kim <seyeong.kim@canonical.com>
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 up to 2025.2.
Related-Bug: #2073260