<div dir="ltr">Sean,<div><br></div><div>If you are using the GMR code from oslo-incubator, please switch over to the new oslo.service. I don't see any pending reviews.</div><div><br></div><div>Thanks,</div><div>-- Dims</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 21, 2015 at 1:29 PM, Sean McGinnis <span dir="ltr"><<a href="mailto:sean.mcginnis@gmx.com" target="_blank">sean.mcginnis@gmx.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, Oct 21, 2015 at 02:43:39PM +0200, Kashyap Chamarthy wrote:<br>
> Background<br>
> ----------<br>
><br>
> Oslo Guru Meditation (error) Reports (GMR)[*] are a useful debugging<br>
> mechanism that allows one to capture the current state of a Nova<br>
> process/executable (e.g. `nova-compute`, `nova-api`, etc).<br>
><br>
> The way to generate the error report is to supply the 'User-defined<br>
> signal', SIGUSR1, when killing a Nova process.  E.g.<br>
><br>
>     $ kill -USR1 `pgrep nova-compute`<br>
><br>
> which results in GMR being printed to your standard error ('stderr')<br>
> stream, wherever it ends up being redirected to (e.g. to a corresponding<br>
> Nova process-specific log file, otherwise, on systemd-enabled systems,<br>
> to its journal).<br>
><br>
><br>
> Change in Mitaka (and above)<br>
> ----------------------------<br>
><br>
> From the upcoming Mitaka release onwards, the default expected UNIX<br>
> signal to generate GMR has been changed[1] from USR1 to USR2 (another<br>
> User-defined singal), because the USR1 is reserved by Apache 'mod_wsgi'<br>
> for its own purpose.<br>
><br>
> So, to generate GMR, from Mitaka release:<br>
><br>
>     $ kill -USR2 `pgrep nova-compute`<br>
><br>
> A corresponding Nova documentation change[2] has been submitted to<br>
> reflect this new reality.<br>
<br>
<br>
Do you know if anyone is working on updating all projects that GMR was<br>
added to? Or should we each look at our own projects and make the<br>
necessary changes?<br>
<br>
<br>
><br>
><br>
> [1] <a href="https://review.openstack.org/#/c/223133/" rel="noreferrer" target="_blank">https://review.openstack.org/#/c/223133/</a> -- guru_meditation_report:<br>
>     Use SIGUSR2 instead of SIGUSR1<br>
> [2] <a href="https://review.openstack.org/#/c/227779/" rel="noreferrer" target="_blank">https://review.openstack.org/#/c/227779/</a> -- doc: gmr: Update<br>
>     instructions to generate GMR error reports<br>
><br>
><br>
> [*] References<br>
> --------------<br>
><br>
> Related reading:<br>
><br>
> - <a href="http://docs.openstack.org/developer/nova/gmr.html" rel="noreferrer" target="_blank">http://docs.openstack.org/developer/nova/gmr.html</a><br>
> - <a href="http://docs.openstack.org/developer/oslo.reports/usage.html" rel="noreferrer" target="_blank">http://docs.openstack.org/developer/oslo.reports/usage.html</a><br>
> - <a href="https://wiki.openstack.org/wiki/GuruMeditationReport" rel="noreferrer" target="_blank">https://wiki.openstack.org/wiki/GuruMeditationReport</a><br>
> - <a href="https://www.berrange.com/posts/2015/02/19/nova-and-its-use-of-olso-incubator-guru-meditation-reports/" rel="noreferrer" target="_blank">https://www.berrange.com/posts/2015/02/19/nova-and-its-use-of-olso-incubator-guru-meditation-reports/</a><br>
><br>
> --<br>
> /kashyap<br>
><br>
> __________________________________________________________________________<br>
> OpenStack Development Mailing List (not for usage questions)<br>
> Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Davanum Srinivas :: <a href="https://twitter.com/dims" target="_blank">https://twitter.com/dims</a></div>
</div>