)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":13997,"name":"SHIGEMATSU Mitsuhiro","email":"shigematsu.mitsuhiro@lab.ntt.co.jp","username":"pshige"},"change_message_id":"17df655eeab6540317c3580c526a59286ed5e9ef","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Follow-up to \"Add retry logic to _exec_ipmitool\""},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Follow-up to address final review comments and remove un-necessary"},{"line_number":10,"context_line":"_time code that was originally only added to the review to mock"},{"line_number":11,"context_line":"time which proved unreliable for testing."},{"line_number":12,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"9aa53dc9_b2a88e21","line":9,"updated":"2015-04-09 02:35:23.000000000","message":"s/un-necessary/unnecessary/; maybe hyphen is unnecessary here","commit_id":"d24c1a71d16e2af00b2584b70d0e2424b74d6d56"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"0e3483e1d5417d77840de818e30b4e3e9da90738","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Follow-up to \"Add retry logic to _exec_ipmitool\""},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Follow-up to address final review comments and remove un-necessary"},{"line_number":10,"context_line":"_time code that was originally only added to the review to mock"},{"line_number":11,"context_line":"time which proved unreliable for testing."},{"line_number":12,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"9aa53dc9_aacec52b","line":9,"in_reply_to":"9aa53dc9_b2a88e21","updated":"2015-04-09 12:54:48.000000000","message":"Done","commit_id":"d24c1a71d16e2af00b2584b70d0e2424b74d6d56"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"cacad7a9c46f3bfe789e0e8aeb62dfc4358239f8","unresolved":false,"context_lines":[{"line_number":9,"context_line":"Follow-up to address final review comments and remove un-necessary"},{"line_number":10,"context_line":"_time code that was originally only added to the review to mock"},{"line_number":11,"context_line":"time which proved unreliable for testing."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I109942cec4c84d376c568eba32a57cfb7553a34a"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"9aa53dc9_bfc0612b","line":12,"updated":"2015-04-08 19:17:10.000000000","message":"It would be good to add the change id so that people can refer to the original patch easier.\n\nI698a8ff1cb70d7758ed05e59b858d9e40708dd05","commit_id":"d24c1a71d16e2af00b2584b70d0e2424b74d6d56"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"0e3483e1d5417d77840de818e30b4e3e9da90738","unresolved":false,"context_lines":[{"line_number":9,"context_line":"Follow-up to address final review comments and remove un-necessary"},{"line_number":10,"context_line":"_time code that was originally only added to the review to mock"},{"line_number":11,"context_line":"time which proved unreliable for testing."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I109942cec4c84d376c568eba32a57cfb7553a34a"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"9aa53dc9_0afb7148","line":12,"in_reply_to":"9aa53dc9_bfc0612b","updated":"2015-04-09 12:54:48.000000000","message":"Done","commit_id":"d24c1a71d16e2af00b2584b70d0e2424b74d6d56"}],"ironic/drivers/modules/ipmitool.py":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"cacad7a9c46f3bfe789e0e8aeb62dfc4358239f8","unresolved":false,"context_lines":[{"line_number":112,"context_line":"                    \u0027-B\u0027, \u00270\u0027, \u0027-T\u0027, \u00270\u0027, \u0027-h\u0027]}"},{"line_number":113,"context_line":""},{"line_number":114,"context_line":"# Note(TheJulia): This string is hardcoded in ipmitool\u0027s lanplus driver"},{"line_number":115,"context_line":"# and is subsituted in return for the error code received for the error"},{"line_number":116,"context_line":"# code received from the IPMI controller.  As of 1.8.15, no internalization"},{"line_number":117,"context_line":"# support appears to be in ipmitool which means the string should always"},{"line_number":118,"context_line":"# be returned in this form regardless of locale."}],"source_content_type":"text/x-python","patch_set":1,"id":"9aa53dc9_9f059d7b","line":115,"updated":"2015-04-08 19:17:10.000000000","message":"not sure if you meant to repeat \u0027for the error code received\u0027 twice.","commit_id":"d24c1a71d16e2af00b2584b70d0e2424b74d6d56"},{"author":{"_account_id":13997,"name":"SHIGEMATSU Mitsuhiro","email":"shigematsu.mitsuhiro@lab.ntt.co.jp","username":"pshige"},"change_message_id":"17df655eeab6540317c3580c526a59286ed5e9ef","unresolved":false,"context_lines":[{"line_number":112,"context_line":"                    \u0027-B\u0027, \u00270\u0027, \u0027-T\u0027, \u00270\u0027, \u0027-h\u0027]}"},{"line_number":113,"context_line":""},{"line_number":114,"context_line":"# Note(TheJulia): This string is hardcoded in ipmitool\u0027s lanplus driver"},{"line_number":115,"context_line":"# and is subsituted in return for the error code received for the error"},{"line_number":116,"context_line":"# code received from the IPMI controller.  As of 1.8.15, no internalization"},{"line_number":117,"context_line":"# support appears to be in ipmitool which means the string should always"},{"line_number":118,"context_line":"# be returned in this form regardless of locale."}],"source_content_type":"text/x-python","patch_set":1,"id":"9aa53dc9_52cee22e","line":115,"updated":"2015-04-09 02:35:23.000000000","message":"s/subsituted/substituted/","commit_id":"d24c1a71d16e2af00b2584b70d0e2424b74d6d56"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"cacad7a9c46f3bfe789e0e8aeb62dfc4358239f8","unresolved":false,"context_lines":[{"line_number":113,"context_line":""},{"line_number":114,"context_line":"# Note(TheJulia): This string is hardcoded in ipmitool\u0027s lanplus driver"},{"line_number":115,"context_line":"# and is subsituted in return for the error code received for the error"},{"line_number":116,"context_line":"# code received from the IPMI controller.  As of 1.8.15, no internalization"},{"line_number":117,"context_line":"# support appears to be in ipmitool which means the string should always"},{"line_number":118,"context_line":"# be returned in this form regardless of locale."},{"line_number":119,"context_line":"IPMITOOL_RETRYABLE_FAILURES \u003d [\u0027insufficient resources for session\u0027]"}],"source_content_type":"text/x-python","patch_set":1,"id":"9aa53dc9_ffcdc95d","line":116,"updated":"2015-04-08 19:17:10.000000000","message":"s/internalizaton/internationalization/","commit_id":"d24c1a71d16e2af00b2584b70d0e2424b74d6d56"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"0e3483e1d5417d77840de818e30b4e3e9da90738","unresolved":false,"context_lines":[{"line_number":113,"context_line":""},{"line_number":114,"context_line":"# Note(TheJulia): This string is hardcoded in ipmitool\u0027s lanplus driver"},{"line_number":115,"context_line":"# and is subsituted in return for the error code received for the error"},{"line_number":116,"context_line":"# code received from the IPMI controller.  As of 1.8.15, no internalization"},{"line_number":117,"context_line":"# support appears to be in ipmitool which means the string should always"},{"line_number":118,"context_line":"# be returned in this form regardless of locale."},{"line_number":119,"context_line":"IPMITOOL_RETRYABLE_FAILURES \u003d [\u0027insufficient resources for session\u0027]"}],"source_content_type":"text/x-python","patch_set":1,"id":"9aa53dc9_2a4bd52b","line":116,"in_reply_to":"9aa53dc9_ffcdc95d","updated":"2015-04-09 12:54:48.000000000","message":"Done","commit_id":"d24c1a71d16e2af00b2584b70d0e2424b74d6d56"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"6f899128d850d526e4c50035a540b98944bb15fa","unresolved":false,"context_lines":[{"line_number":380,"context_line":"            except processutils.ProcessExecutionError as e:"},{"line_number":381,"context_line":"                with excutils.save_and_reraise_exception() as ctxt:"},{"line_number":382,"context_line":"                    err_list \u003d [x for x in IPMITOOL_RETRYABLE_FAILURES"},{"line_number":383,"context_line":"                                if x in e.message]"},{"line_number":384,"context_line":"                    if ((time.time() \u003e end_time) or"},{"line_number":385,"context_line":"                        (num_tries \u003d\u003d 0) or"},{"line_number":386,"context_line":"                        not err_list):"}],"source_content_type":"text/x-python","patch_set":1,"id":"9aa53dc9_78d7804b","line":383,"updated":"2015-04-09 08:17:36.000000000","message":"Better to use e.stderr here instead of e.message.","commit_id":"d24c1a71d16e2af00b2584b70d0e2424b74d6d56"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"0e3483e1d5417d77840de818e30b4e3e9da90738","unresolved":false,"context_lines":[{"line_number":380,"context_line":"            except processutils.ProcessExecutionError as e:"},{"line_number":381,"context_line":"                with excutils.save_and_reraise_exception() as ctxt:"},{"line_number":382,"context_line":"                    err_list \u003d [x for x in IPMITOOL_RETRYABLE_FAILURES"},{"line_number":383,"context_line":"                                if x in e.message]"},{"line_number":384,"context_line":"                    if ((time.time() \u003e end_time) or"},{"line_number":385,"context_line":"                        (num_tries \u003d\u003d 0) or"},{"line_number":386,"context_line":"                        not err_list):"}],"source_content_type":"text/x-python","patch_set":1,"id":"9aa53dc9_c73904a6","line":383,"in_reply_to":"9aa53dc9_5bc836a8","updated":"2015-04-09 12:54:48.000000000","message":"e.message has the combined output which seems to make sense.  Looking at the code for ipmitool, it looks like this message actually gets written via stdout.  I\u0027ll verify this.","commit_id":"d24c1a71d16e2af00b2584b70d0e2424b74d6d56"},{"author":{"_account_id":7491,"name":"Viktor Serhieiev","email":"viktor.sergeyev@gmail.com","username":"vsergeyev"},"change_message_id":"bdf8fd35ff011ca170bae3b751c6f333eff60b84","unresolved":false,"context_lines":[{"line_number":380,"context_line":"            except processutils.ProcessExecutionError as e:"},{"line_number":381,"context_line":"                with excutils.save_and_reraise_exception() as ctxt:"},{"line_number":382,"context_line":"                    err_list \u003d [x for x in IPMITOOL_RETRYABLE_FAILURES"},{"line_number":383,"context_line":"                                if x in e.message]"},{"line_number":384,"context_line":"                    if ((time.time() \u003e end_time) or"},{"line_number":385,"context_line":"                        (num_tries \u003d\u003d 0) or"},{"line_number":386,"context_line":"                        not err_list):"}],"source_content_type":"text/x-python","patch_set":1,"id":"9aa53dc9_5bc836a8","line":383,"in_reply_to":"9aa53dc9_78d7804b","updated":"2015-04-09 08:41:44.000000000","message":"Yuriy,\n\ne.stderr can be None in tests, so we should either to use e.args[0] here or fix all mocks to ensure, that we have something in e.stderr","commit_id":"d24c1a71d16e2af00b2584b70d0e2424b74d6d56"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"cacad7a9c46f3bfe789e0e8aeb62dfc4358239f8","unresolved":false,"context_lines":[{"line_number":382,"context_line":"                    err_list \u003d [x for x in IPMITOOL_RETRYABLE_FAILURES"},{"line_number":383,"context_line":"                                if x in e.message]"},{"line_number":384,"context_line":"                    if ((time.time() \u003e end_time) or"},{"line_number":385,"context_line":"                        (num_tries \u003d\u003d 0) or"},{"line_number":386,"context_line":"                        not err_list):"},{"line_number":387,"context_line":"                        LOG.error(_LE(\u0027IPMI Error attempting to execute \u0027"},{"line_number":388,"context_line":"                                  \u0027\"%(cmd)s\" for node %(node)s. \u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"9aa53dc9_bf4501b4","line":385,"updated":"2015-04-08 19:17:10.000000000","message":"Zhenguo asked a question about these two. I\u0027m fine if they are both in here, but I think you should reply (maybe in the original patch).","commit_id":"d24c1a71d16e2af00b2584b70d0e2424b74d6d56"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"5ad600a9880f5c9b04015347435437f3cf877ff3","unresolved":false,"context_lines":[{"line_number":382,"context_line":"                    err_list \u003d [x for x in IPMITOOL_RETRYABLE_FAILURES"},{"line_number":383,"context_line":"                                if x in e.message]"},{"line_number":384,"context_line":"                    if ((time.time() \u003e end_time) or"},{"line_number":385,"context_line":"                        (num_tries \u003d\u003d 0) or"},{"line_number":386,"context_line":"                        not err_list):"},{"line_number":387,"context_line":"                        LOG.error(_LE(\u0027IPMI Error attempting to execute \u0027"},{"line_number":388,"context_line":"                                  \u0027\"%(cmd)s\" for node %(node)s. \u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"9aa53dc9_afa24afb","line":385,"in_reply_to":"9aa53dc9_078fec75","updated":"2015-04-09 16:52:29.000000000","message":"Hmm. A comment would be nice here, to explain why both are being checked. But I don\u0027t know that it is worth not landing the patch.","commit_id":"d24c1a71d16e2af00b2584b70d0e2424b74d6d56"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"0e3483e1d5417d77840de818e30b4e3e9da90738","unresolved":false,"context_lines":[{"line_number":382,"context_line":"                    err_list \u003d [x for x in IPMITOOL_RETRYABLE_FAILURES"},{"line_number":383,"context_line":"                                if x in e.message]"},{"line_number":384,"context_line":"                    if ((time.time() \u003e end_time) or"},{"line_number":385,"context_line":"                        (num_tries \u003d\u003d 0) or"},{"line_number":386,"context_line":"                        not err_list):"},{"line_number":387,"context_line":"                        LOG.error(_LE(\u0027IPMI Error attempting to execute \u0027"},{"line_number":388,"context_line":"                                  \u0027\"%(cmd)s\" for node %(node)s. \u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"9aa53dc9_078fec75","line":385,"in_reply_to":"9aa53dc9_bf4501b4","updated":"2015-04-09 12:54:48.000000000","message":"Yeah, I forgot to actually click the button to post that. :(\n\nI can remove it, but in order to actually have the unit test work, we will essentially need to get mocking time work.  I\u0027ll take suggestions there!","commit_id":"d24c1a71d16e2af00b2584b70d0e2424b74d6d56"},{"author":{"_account_id":6610,"name":"Zhenguo Niu","email":"Niu.ZGlinux@gmail.com","username":"niu-zglinux"},"change_message_id":"a0d790a09a29b0efd44531a1ad0b21f27b8bdf9e","unresolved":false,"context_lines":[{"line_number":382,"context_line":"                    err_list \u003d [x for x in IPMITOOL_RETRYABLE_FAILURES"},{"line_number":383,"context_line":"                                if x in e.message]"},{"line_number":384,"context_line":"                    if ((time.time() \u003e end_time) or"},{"line_number":385,"context_line":"                        (num_tries \u003d\u003d 0) or"},{"line_number":386,"context_line":"                        not err_list):"},{"line_number":387,"context_line":"                        LOG.error(_LE(\u0027IPMI Error attempting to execute \u0027"},{"line_number":388,"context_line":"                                  \u0027\"%(cmd)s\" for node %(node)s. \u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"9aa53dc9_4f199dd6","line":385,"in_reply_to":"9aa53dc9_bf4501b4","updated":"2015-04-09 01:21:28.000000000","message":"thanks Ruby for referring my comments here, IMO there is no need to check num_retires here and could remove L358.\n\nsince every try costs more than min_command_interval(we do sleep to guarantee this) and num_retries \u003d retry_timeout // min_command_interval, so we will meet timeout first always.","commit_id":"d24c1a71d16e2af00b2584b70d0e2424b74d6d56"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"6f899128d850d526e4c50035a540b98944bb15fa","unresolved":false,"context_lines":[{"line_number":384,"context_line":"                    if ((time.time() \u003e end_time) or"},{"line_number":385,"context_line":"                        (num_tries \u003d\u003d 0) or"},{"line_number":386,"context_line":"                        not err_list):"},{"line_number":387,"context_line":"                        LOG.error(_LE(\u0027IPMI Error attempting to execute \u0027"},{"line_number":388,"context_line":"                                  \u0027\"%(cmd)s\" for node %(node)s. \u0027"},{"line_number":389,"context_line":"                                  \u0027Error: %(error)s\u0027),"},{"line_number":390,"context_line":"                                  {"}],"source_content_type":"text/x-python","patch_set":1,"id":"9aa53dc9_38857806","line":387,"updated":"2015-04-09 08:17:36.000000000","message":"Maybe \u0027IPMI Error while attempting ...\u0027.","commit_id":"d24c1a71d16e2af00b2584b70d0e2424b74d6d56"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"0e3483e1d5417d77840de818e30b4e3e9da90738","unresolved":false,"context_lines":[{"line_number":384,"context_line":"                    if ((time.time() \u003e end_time) or"},{"line_number":385,"context_line":"                        (num_tries \u003d\u003d 0) or"},{"line_number":386,"context_line":"                        not err_list):"},{"line_number":387,"context_line":"                        LOG.error(_LE(\u0027IPMI Error attempting to execute \u0027"},{"line_number":388,"context_line":"                                  \u0027\"%(cmd)s\" for node %(node)s. \u0027"},{"line_number":389,"context_line":"                                  \u0027Error: %(error)s\u0027),"},{"line_number":390,"context_line":"                                  {"}],"source_content_type":"text/x-python","patch_set":1,"id":"9aa53dc9_e7a88879","line":387,"in_reply_to":"9aa53dc9_38857806","updated":"2015-04-09 12:54:48.000000000","message":"Done","commit_id":"d24c1a71d16e2af00b2584b70d0e2424b74d6d56"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"1495724288519df8d1d1a0a2eaddad01c7d58e0a","unresolved":false,"context_lines":[{"line_number":115,"context_line":"# and is substituted in return for the error code received from the IPMI"},{"line_number":116,"context_line":"# controller.  As of 1.8.15, no internationalization support appears to"},{"line_number":117,"context_line":"# be in ipmitool which means the string should always be returned in this"},{"line_number":118,"context_line":"# form regardless of locale."},{"line_number":119,"context_line":"IPMITOOL_RETRYABLE_FAILURES \u003d [\u0027insufficient resources for session\u0027]"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"9aa53dc9_204d31c4","line":118,"updated":"2015-04-09 15:15:37.000000000","message":"and we can try to pass LANG\u003den to environment btw","commit_id":"cc4ec8bd2eb689cf14d8f0ba7d742751b4100688"}]}
