Bug 2271761 - GMR doesn't work for nova_api
Summary: GMR doesn't work for nova_api
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 16.2 (Train)
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: OSP DFG:Compute
QA Contact: OSP DFG:Compute
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-03-27 09:02 UTC by Keigo Noha
Modified: 2025-01-18 02:15 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2025-01-18 02:15:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-31759 0 None None None 2024-03-27 09:08:16 UTC

Description Keigo Noha 2024-03-27 09:02:14 UTC
Description of problem:
There is a case to check what nova-api does when it failed to connect to rabbitmq.

To dig the issue, we tried to get GMR by manuaal backport of the fix in gerrit[1]

But it doesn't work with OSP16.2 and OSP17.1.

[1]  https://review.opendev.org/c/openstack/nova/+/810922

Version-Release number of selected component (if applicable):
OSP16.2 and OSP17.1

How reproducible:
Always

Steps to Reproduce:
1. Apply the fix in  https://review.opendev.org/c/openstack/nova/+/810922
2. Set the following configuration at /var/lib/config-data/puppet-generated/nova/etc/nova/nova.conf
~~~
[oslo_report]
log_dir = /var/log/nova
file_event_handler = /var/log/nova/gmr_trigger
~~~
3. Run 'touch /var/log/containers/nova/gmr_trigger'
4. Run 'systemctl restart tripleo_nova_api'
5. Run 'touch /var/log/containers/nova/gmr_trigger' several times.

Actual results:
GMR is not recorded at any files.

Expected results:
GMR is recorded at a file.

Additional info:

The reference document is https://docs.openstack.org/nova/latest/reference/gmr.html

Currently, GMR for nova_api isn't patched. However, even if the patch is applied, nova-api doesn't generate GMR.
GMR is useful when we need to dig into python code while the issue because it generates thread, green threads.

Comment 3 René Ribaud 2024-04-17 13:51:40 UTC
The action plan for this is:

- Try to backport the path to 17.1.4 or sup.
- Validate if the GMR can be generated on such a platform.

Comment 4 Artom Lifshitz 2025-01-18 02:15:45 UTC
At this point in time this no longer qualifies for 17.1 monthly releases criteria (critial/urgent customer bugs, or CVEs). Closing as upstream since it was done in a subsequent upstream release.


Note You need to log in before you can comment on or make changes to this bug.