)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"89a364fe83d308410cc57007862d70049be8858e","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Fix Transition to SIGUSR2 in oslo.reports breaks upgrade"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"In I9d3b6079ba2cca41fe4723723a6f80b2c3c0b9c0, we broke backward"},{"line_number":10,"context_line":"compatability when we switched from SIGUSR1 to SIGUSR2. This breaks"},{"line_number":11,"context_line":"grenade jobs (Example https://review.openstack.org/#/c/238479/)."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"So for now, let\u0027s register both SIGUSR1 and SIGUSR2 and trigger a"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"fa80f949_f949a88f","line":10,"updated":"2015-11-03 13:36:15.000000000","message":"compatibility","commit_id":"47eb662c7c733e444dcce387beab0f491f6016d8"}],"oslo_reports/guru_meditation_report.py":[{"author":{"_account_id":9107,"name":"Victor Stinner","email":"vstinner@redhat.com","username":"haypo"},"change_message_id":"03c8ebf948b87758a99785faba110f5a6926dd70","unresolved":false,"context_lines":[{"line_number":141,"context_line":""},{"line_number":142,"context_line":"        if hasattr(signal, \u0027SIGUSR1\u0027):"},{"line_number":143,"context_line":"            LOG.warning(_LW(\"Use of SIGUSR1 is deprecated, it will be removed \""},{"line_number":144,"context_line":"                            \"in the a future release.\"))"},{"line_number":145,"context_line":"            cls._setup_signal(signal.SIGUSR1, version, service_name, log_dir)"},{"line_number":146,"context_line":"        if hasattr(signal, \u0027SIGUSR2\u0027):"},{"line_number":147,"context_line":"            cls._setup_signal(signal.SIGUSR2, version, service_name, log_dir)"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa80f949_d9b4e4d2","line":144,"updated":"2015-11-03 13:25:34.000000000","message":"Please make it explicit and obvious that passing a value to the signum parameter makes this warning quiet.\n\nBy the way, is this parameter filled by a configuration option? If yes, specify also the option in the warning?","commit_id":"47eb662c7c733e444dcce387beab0f491f6016d8"},{"author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"change_message_id":"125d6934203a8ee74215c6aa6661e83bc0ec9720","unresolved":false,"context_lines":[{"line_number":141,"context_line":""},{"line_number":142,"context_line":"        if hasattr(signal, \u0027SIGUSR1\u0027):"},{"line_number":143,"context_line":"            LOG.warning(_LW(\"Use of SIGUSR1 is deprecated, it will be removed \""},{"line_number":144,"context_line":"                            \"in the a future release.\"))"},{"line_number":145,"context_line":"            cls._setup_signal(signal.SIGUSR1, version, service_name, log_dir)"},{"line_number":146,"context_line":"        if hasattr(signal, \u0027SIGUSR2\u0027):"},{"line_number":147,"context_line":"            cls._setup_signal(signal.SIGUSR2, version, service_name, log_dir)"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa80f949_360a607a","line":144,"in_reply_to":"fa80f949_19ccac34","updated":"2015-11-06 01:13:32.000000000","message":"I like:\n\n\"\"Guru mediation registers SIGUSR1 and SIGUSR2 by default for backward compatibility; SIGUSR1 will no longer be registered in a future release so please update your scripts/code/log parsing...\"\"\n\nThat signals to operators that this is coming from \u0027guru meditation\u0027 code and seems to be fine with me, but otherwise its ok with me, just wording...","commit_id":"47eb662c7c733e444dcce387beab0f491f6016d8"},{"author":{"_account_id":9107,"name":"Victor Stinner","email":"vstinner@redhat.com","username":"haypo"},"change_message_id":"eada39d7fa8fa84c2d03366bd57f69ee85c7282e","unresolved":false,"context_lines":[{"line_number":141,"context_line":""},{"line_number":142,"context_line":"        if hasattr(signal, \u0027SIGUSR1\u0027):"},{"line_number":143,"context_line":"            LOG.warning(_LW(\"Use of SIGUSR1 is deprecated, it will be removed \""},{"line_number":144,"context_line":"                            \"in the a future release.\"))"},{"line_number":145,"context_line":"            cls._setup_signal(signal.SIGUSR1, version, service_name, log_dir)"},{"line_number":146,"context_line":"        if hasattr(signal, \u0027SIGUSR2\u0027):"},{"line_number":147,"context_line":"            cls._setup_signal(signal.SIGUSR2, version, service_name, log_dir)"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa80f949_197eece4","line":144,"in_reply_to":"fa80f949_d9b4e4d2","updated":"2015-11-03 13:29:17.000000000","message":"Hum, I read again the change and I still don\u0027t understand the warning. SIGUSR1 is not used explicitly, it\u0027s just the default value.\n\nI propose the change the warning to something like:\n\n\"Guru mediation registers SIGUSR1 and SIGUSR2 by default for backward compatibility, but SIGUSR1 will no more be registered in a future release.\"","commit_id":"47eb662c7c733e444dcce387beab0f491f6016d8"},{"author":{"_account_id":5638,"name":"Davanum Srinivas","email":"davanum@gmail.com","username":"dims-v"},"change_message_id":"45fe0c1f041b92e540d6cfe65e22da916307b14d","unresolved":false,"context_lines":[{"line_number":141,"context_line":""},{"line_number":142,"context_line":"        if hasattr(signal, \u0027SIGUSR1\u0027):"},{"line_number":143,"context_line":"            LOG.warning(_LW(\"Use of SIGUSR1 is deprecated, it will be removed \""},{"line_number":144,"context_line":"                            \"in the a future release.\"))"},{"line_number":145,"context_line":"            cls._setup_signal(signal.SIGUSR1, version, service_name, log_dir)"},{"line_number":146,"context_line":"        if hasattr(signal, \u0027SIGUSR2\u0027):"},{"line_number":147,"context_line":"            cls._setup_signal(signal.SIGUSR2, version, service_name, log_dir)"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa80f949_19ccac34","line":144,"in_reply_to":"fa80f949_d9b4e4d2","updated":"2015-11-03 13:30:53.000000000","message":"the warning is for operators, not developers. so i don\u0027t want to add a note for developers about signum. No there is no configuration option. it was introduced in a previous version of this review and removed as it was not a good idea.","commit_id":"47eb662c7c733e444dcce387beab0f491f6016d8"}],"oslo_reports/opts.py":[{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"4e7fe57e22086ffd1a4838b8baad82dc4501e322","unresolved":false,"context_lines":[{"line_number":31,"context_line":"               choices\u003d(\u0027SIGUSR1\u0027, \u0027SIGUSR2\u0027, \u0027SIGUSR1+2\u0027, \u0027None\u0027),"},{"line_number":32,"context_line":"               default\u003d\u0027SIGUSR1+2\u0027,"},{"line_number":33,"context_line":"               help\u003d_(\u0027Specify which signals should trigger report \u0027"},{"line_number":34,"context_line":"                      \u0027generation. Defaults to handling SIGUSR1+2.\u0027)),"},{"line_number":35,"context_line":"]"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"1a26ad4f_8901cdb1","line":34,"updated":"2015-10-31 01:16:37.000000000","message":"this breaks existing systems, because if forces a new default.\n\nHonestly, I don\u0027t think this should be a config option. Register on 1 \u0026 2 now. Trigger a WARN (use of SIGUSR1 is deprecated for reports, will be removed in O release). And just wait 2 releases.\n\nI think a couple of release deprecation should be fine. IIUC the SIGUSR1 registration just gets ignored under wsgi anyway.","commit_id":"a811e4a00dec19f88d4f543ebcd2253ad82ca3b9"},{"author":{"_account_id":5638,"name":"Davanum Srinivas","email":"davanum@gmail.com","username":"dims-v"},"change_message_id":"03dea524c8372f1cc1f0e8560d777ec8be592c75","unresolved":false,"context_lines":[{"line_number":31,"context_line":"               choices\u003d(\u0027SIGUSR1\u0027, \u0027SIGUSR2\u0027, \u0027SIGUSR1+2\u0027, \u0027None\u0027),"},{"line_number":32,"context_line":"               default\u003d\u0027SIGUSR1+2\u0027,"},{"line_number":33,"context_line":"               help\u003d_(\u0027Specify which signals should trigger report \u0027"},{"line_number":34,"context_line":"                      \u0027generation. Defaults to handling SIGUSR1+2.\u0027)),"},{"line_number":35,"context_line":"]"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"1a26ad4f_0d736e16","line":34,"in_reply_to":"1a26ad4f_8901cdb1","updated":"2015-11-02 13:05:04.000000000","message":"Done","commit_id":"a811e4a00dec19f88d4f543ebcd2253ad82ca3b9"}]}
