Bug 1293280 - Guru Mediation Report doesn't work on nova-scheduler nor nova-api
Summary: Guru Mediation Report doesn't work on nova-scheduler nor nova-api
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 7.0 (Kilo)
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 7.0 (Kilo)
Assignee: Eoghan Glynn
QA Contact: nlevinki
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-21 10:18 UTC by Daniel Berrangé
Modified: 2019-09-09 13:58 UTC (History)
15 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1292787
Environment:
Last Closed: 2018-01-25 10:18:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 1 Daniel Berrangé 2015-12-21 10:23:18 UTC
As from the SELinux bug, we need to do some fixes to the GMR code to make it more robust & debuggable

 - If an exception occurs while collecting information we must log that so we can more easily diagnose similar problems in future
 - If a single data collector (like the process listing) fails, we should still be able to carry on and report the GMR with all other info, just record an error from the process listing in the GMR
 - There is absolutely no reason to be walking entire of /proc to get all processes. Given the process ID, you can access /proc/$PID/task/NNNN to get all threads that are children. We should see about improving psutil to address this.

Comment 2 Ryan Hallisey 2015-12-22 02:35:09 UTC
Can you post the entire log when running in permissive?  Also this bug is for 8.0 correct?  I'm assuming that's why it's cloned here.

Comment 4 Michal Pryc 2018-01-25 10:18:03 UTC
There is agreement that bug exists, however I am closing this bug due to following reasons:

 1. The bug is only visible during debugging operation for nova services

 2. There is known work-around which allows debugging to work, see comment below:
    https://bugzilla.redhat.com/show_bug.cgi?id=1292787#c10

 3. Proper fix should be in both nova and python-psutil, however for debug only operation known work-around is sufficient.

 4. Original bug is from 2015 with almost none following requests, which is low priority.


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