Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1071470 (nova_debug_dump_3.0.z)

Summary: [RFE][nova]: Provide for a live debug dump of system state
Product: Red Hat OpenStack Reporter: Russell Bryant <rbryant>
Component: openstack-novaAssignee: Nikola Dipanov <ndipanov>
Status: CLOSED WONTFIX QA Contact: Ami Jeain <ajeain>
Severity: medium Docs Contact:
Priority: high    
Version: 3.0CC: dmaley, eglynn, ndipanov, sgordon, vpopovic, yeylon
Target Milestone: z6Keywords: FutureFeature, MoveUpstream, Triaged, ZStream
Target Release: 3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-nova-2013.1.5-3.el6ost Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: nova_debug_dump_5.0 Environment:
Last Closed: 2014-08-01 12:52:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 913616    
Bug Blocks: 1024651    

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