Bug 1071470 (nova_debug_dump_3.0.z) - [RFE][nova]: Provide for a live debug dump of system state
Summary: [RFE][nova]: Provide for a live debug dump of system state
Keywords:
Status: CLOSED WONTFIX
Alias: nova_debug_dump_3.0.z
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 3.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: z6
: 3.0
Assignee: Nikola Dipanov
QA Contact: Ami Jeain
URL:
Whiteboard:
Depends On: nova_debug_dump_5.0
Blocks: 1024651
TreeView+ depends on / blocked
 
Reported: 2014-02-28 21:26 UTC by Russell Bryant
Modified: 2019-09-09 13:46 UTC (History)
7 users (show)

Fixed In Version: openstack-nova-2013.1.5-3.el6ost
Doc Type: Enhancement
Doc Text:
Clone Of: nova_debug_dump_5.0
Environment:
Last Closed: 2014-08-01 12:52:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 32445 0 None None None Never
OpenStack gerrit 69058 0 None None None Never
OpenStack gerrit 84168 0 None None None Never

Comment 2 Nikola Dipanov 2014-03-28 13:18:46 UTC
This will also introduce a new dependency on python-jinja2, so we should add the bug for that and block this one on it.

Comment 3 Nikola Dipanov 2014-03-28 16:13:56 UTC
Seems like the first issue with making this useful with RHOS 3.0 is getting the output.

The simplest solution would be to pipe the stderr of our daemons to a hardcoded file.

Other more robust solution would be to patch guru meditation code to accept a file to send it's report to.

Comment 4 Nikola Dipanov 2014-04-04 09:46:35 UTC
I've posted a patch upstream (see https://review.openstack.org/#/c/84168/) to fix the output issue. I've already tested it with RHOS3.0 packages and it seem to do be working.

Once we do a build with this patch, sending SIGUSR1 to a service will result in it dumping the GuruMeditation report to a file called $service_name_gurumeditation_$timestamp where timestamp is the time the report was requested.

Comment 8 Nikola Dipanov 2014-04-08 10:28:03 UTC
QE team: Veryfiying this can be done as follows:

1) Send all nova processes SIGUSR1
2) Make sure each one of them creates a /var/log/nova/$SERV_NAME_gurumeditation_$(date +"%Y%m%d%H%M%S") and that the file contains details about running processes threads, configuration etc.

Comment 10 Scott Lewis 2014-08-01 12:52:24 UTC
In accordance with the Red Hat Enterprise Linux OpenStack Platform Support
Policy, the one-year life cycle of Production Support for version 3 will
end on July 31, 2014. On August 1, 2014, Red Hat Enterprise Linux OpenStack
Platform version 3 will enter an inactive state and will no longer receive
updated packages, including Critical-impact security patches or
urgent-priority bug fixes. In addition, technical support through Red Hat's
Global Support Services will no longer be provided after this date.

We encourage customers to plan their migration from Red Hat Enterprise
Linux OpenStack Platform 3.0 to a supported version of Red Hat Enterprise
Linux OpenStack Platform. To upgrade to Red Hat Enterprise Linux OpenStack
Platform version 4, see Chapter "Upgrading" in the Release Notes document
linked to in the References section.

Full details of the Red Hat Enterprise Linux OpenStack Platform Life Cycle
can be found at
https://access.redhat.com/support/policy/updates/openstack/platform/

https://rhn.redhat.com/errata/RHSA-2014-0995.html


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