)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":7069,"name":"Joshua Hesketh","email":"josh@nitrotech.org","username":"jhesketh"},"change_message_id":"e4a9c45b3c535f3912bb61ba8d0430c408a4f4bf","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Add trap handler for aiopcpu ssh errors"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"We are seeing ssh errors in multinode setups that we haev been unable to"},{"line_number":10,"context_line":"debug externally. Add a sit and wait trap handler around ssh so that we"},{"line_number":11,"context_line":"can log into the machines after they fail to ssh in an effort to further"},{"line_number":12,"context_line":"debug."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"da86d52c_0ea16695","line":9,"updated":"2015-02-14 05:33:37.000000000","message":"(nit) typo s/haev/have","commit_id":"e6cf056b306ac41a59bde14ae45d12fc5a315aa0"}],"devstack-vm-gate.sh":[{"author":{"_account_id":7069,"name":"Joshua Hesketh","email":"josh@nitrotech.org","username":"jhesketh"},"change_message_id":"e4a9c45b3c535f3912bb61ba8d0430c408a4f4bf","unresolved":false,"context_lines":[{"line_number":445,"context_line":"            remote_copy_file /etc/nodepool/id_rsa \"$NODE:$BASE/new/.ssh/\""},{"line_number":446,"context_line":"            remote_command $NODE sudo chmod 400 \"$BASE/new/.ssh/*\""},{"line_number":447,"context_line":"        done"},{"line_number":448,"context_line":"        trap ERR"},{"line_number":449,"context_line":"        PRIMARY_NODE\u003d`cat /etc/nodepool/primary_node_private`"},{"line_number":450,"context_line":"        SUB_NODES\u003d`cat /etc/nodepool/sub_nodes_private`"},{"line_number":451,"context_line":"        NODES\u003d\"$PRIMARY_NODE $SUB_NODES\""}],"source_content_type":"text/x-sh","patch_set":1,"id":"da86d52c_eeea52ab","line":448,"updated":"2015-02-14 05:33:37.000000000","message":"I\u0027m not very familiar with traps, but my reading of the man page says that you should do the following to unset the trap (assuming that\u0027s what you\u0027re trying to do):\n\n  trap - ERR","commit_id":"e6cf056b306ac41a59bde14ae45d12fc5a315aa0"},{"author":{"_account_id":7069,"name":"Joshua Hesketh","email":"josh@nitrotech.org","username":"jhesketh"},"change_message_id":"e7e3a69be8df77ab3a038cf49fa6ee6314708213","unresolved":false,"context_lines":[{"line_number":445,"context_line":"            remote_copy_file /etc/nodepool/id_rsa \"$NODE:$BASE/new/.ssh/\""},{"line_number":446,"context_line":"            remote_command $NODE sudo chmod 400 \"$BASE/new/.ssh/*\""},{"line_number":447,"context_line":"        done"},{"line_number":448,"context_line":"        trap ERR"},{"line_number":449,"context_line":"        PRIMARY_NODE\u003d`cat /etc/nodepool/primary_node_private`"},{"line_number":450,"context_line":"        SUB_NODES\u003d`cat /etc/nodepool/sub_nodes_private`"},{"line_number":451,"context_line":"        NODES\u003d\"$PRIMARY_NODE $SUB_NODES\""}],"source_content_type":"text/x-sh","patch_set":1,"id":"da86d52c_96c8d676","line":448,"in_reply_to":"da86d52c_d3750efb","updated":"2015-02-17 03:47:30.000000000","message":"yep, agreed.","commit_id":"e6cf056b306ac41a59bde14ae45d12fc5a315aa0"},{"author":{"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},"change_message_id":"3caaaf2f79e785aad55d8f0713c84c5e8f59028f","unresolved":false,"context_lines":[{"line_number":445,"context_line":"            remote_copy_file /etc/nodepool/id_rsa \"$NODE:$BASE/new/.ssh/\""},{"line_number":446,"context_line":"            remote_command $NODE sudo chmod 400 \"$BASE/new/.ssh/*\""},{"line_number":447,"context_line":"        done"},{"line_number":448,"context_line":"        trap ERR"},{"line_number":449,"context_line":"        PRIMARY_NODE\u003d`cat /etc/nodepool/primary_node_private`"},{"line_number":450,"context_line":"        SUB_NODES\u003d`cat /etc/nodepool/sub_nodes_private`"},{"line_number":451,"context_line":"        NODES\u003d\"$PRIMARY_NODE $SUB_NODES\""}],"source_content_type":"text/x-sh","patch_set":1,"id":"da86d52c_d3750efb","line":448,"in_reply_to":"da86d52c_eeea52ab","updated":"2015-02-16 17:48:42.000000000","message":"The help text from bash says \"If ARG is absent (and a single SIGNAL_SPEC is supplied) or `-\u0027, each specified signal is reset to its original value.\" I read that to mean `trap - ERR` and `trap ERR` are equivalent.","commit_id":"e6cf056b306ac41a59bde14ae45d12fc5a315aa0"}]}
