)]}'
{"ironicclient/osc/v1/baremetal_node.py":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"cea20592c2c08f566eab596d1ed360224b3dfbbf","unresolved":false,"context_lines":[{"line_number":96,"context_line":""},{"line_number":97,"context_line":"        print(_(\u0027Waiting for provision state %(state)s on node %(node)s\u0027) %"},{"line_number":98,"context_line":"              {\u0027state\u0027: wait_args[\u0027expected_state\u0027], \u0027node\u0027: parsed_args.node})"},{"line_number":99,"context_line":"        baremetal_client.node.wait_for_provision_state("},{"line_number":100,"context_line":"            parsed_args.node,"},{"line_number":101,"context_line":"            timeout\u003dparsed_args.wait_timeout,"},{"line_number":102,"context_line":"            **wait_args)"}],"source_content_type":"text/x-python","patch_set":2,"id":"3ac371cc_2fcfd456","line":99,"updated":"2016-08-18 15:45:39.000000000","message":"hi, i just saw this osc method, don\u0027t know if it is useful or not (since you\u0027ve already coded it):\nhttps://github.com/openstack/osc-lib/blob/7a5987cacf67b9322c13eb346fa9aac35cb5ccf0/osc_lib/utils.py#L458","commit_id":"d7b119a49552d00a1279727ac817bd7bdf1a721a"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"7068de7478ba5c39d75225fb70f59a37dbcc9fd0","unresolved":false,"context_lines":[{"line_number":71,"context_line":""},{"line_number":72,"context_line":"class ProvisionStateWithWait(ProvisionStateBaremetalNode):"},{"line_number":73,"context_line":"    \"\"\"Provision state class adding --wait flag.\"\"\""},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"    def get_parser(self, prog_name):"},{"line_number":76,"context_line":"        parser \u003d super(ProvisionStateWithWait, self).get_parser(prog_name)"},{"line_number":77,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"5a3905b3_f8ebcfd9","line":74,"updated":"2017-01-24 02:34:55.000000000","message":"for completeness sake, maybe we should add log \u003d logging.getLogger(...)","commit_id":"2578b01f17fe16be84bb09152a54e228d1bfb99c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"7068de7478ba5c39d75225fb70f59a37dbcc9fd0","unresolved":false,"context_lines":[{"line_number":77,"context_line":""},{"line_number":78,"context_line":"        parser.add_argument("},{"line_number":79,"context_line":"            \u0027--wait\u0027,"},{"line_number":80,"context_line":"            type\u003dint,"},{"line_number":81,"context_line":"            dest\u003d\u0027wait_timeout\u0027,"},{"line_number":82,"context_line":"            default\u003dNone,"},{"line_number":83,"context_line":"            const\u003d0,"}],"source_content_type":"text/x-python","patch_set":9,"id":"5a3905b3_fd71010d","line":80,"updated":"2017-01-24 02:34:55.000000000","message":"can this be a negative value? And if so, what does it mean?","commit_id":"2578b01f17fe16be84bb09152a54e228d1bfb99c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"7068de7478ba5c39d75225fb70f59a37dbcc9fd0","unresolved":false,"context_lines":[{"line_number":79,"context_line":"            \u0027--wait\u0027,"},{"line_number":80,"context_line":"            type\u003dint,"},{"line_number":81,"context_line":"            dest\u003d\u0027wait_timeout\u0027,"},{"line_number":82,"context_line":"            default\u003dNone,"},{"line_number":83,"context_line":"            const\u003d0,"},{"line_number":84,"context_line":"            nargs\u003d\u0027?\u0027,"},{"line_number":85,"context_line":"            help\u003d(\"Wait for a node to reach the expected state. Not supported \""}],"source_content_type":"text/x-python","patch_set":9,"id":"5a3905b3_bdcf7954","line":82,"updated":"2017-01-24 02:34:55.000000000","message":"add metavar\u003d\u0027\u003ctime-out\u003e\u0027","commit_id":"2578b01f17fe16be84bb09152a54e228d1bfb99c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"7068de7478ba5c39d75225fb70f59a37dbcc9fd0","unresolved":false,"context_lines":[{"line_number":85,"context_line":"            help\u003d(\"Wait for a node to reach the expected state. Not supported \""},{"line_number":86,"context_line":"                  \"for \u0027abort\u0027. Optionally takes a timeout in seconds. \""},{"line_number":87,"context_line":"                  \"The default value is 0, meaning no timeout.\"))"},{"line_number":88,"context_line":"        return parser"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"    def take_action(self, parsed_args):"},{"line_number":91,"context_line":"        super(ProvisionStateWithWait, self).take_action(parsed_args)"}],"source_content_type":"text/x-python","patch_set":9,"id":"5a3905b3_ddac458e","line":88,"updated":"2017-01-24 02:34:55.000000000","message":"I think we should change this help. It is suboptimal.\n\nHow about something like \u0027Wait for the node to reach the desired state \u0027%(state)s\u0027. Optionally takes a time out value (in seconds), which causes the waiting to end after the specified amount of seconds. The default time out value is 0, which means it will wait with no time out.\u0027\n\nwhere state is self.PROVISION_STATE. OR maybe it is v1_utils.PROVISION_ACTIONS.get(self.PROVISION_STATE)[\u0027expected_state\u0027] or something like that; I\u0027m just looking at the code below and guessing...\n\nThere is no need to mention that this isn\u0027t supported for \u0027abort\u0027; it isn\u0027t a choice for abort anyway.\n\n\nThis is what it looks like with your code:\n\n$ openstack baremetal node manage -h\nusage: openstack baremetal node manage [-h] [--wait [WAIT_TIMEOUT]] \u003cnode\u003e\n\nSet provision state of baremetal node to \u0027manage\u0027\n\npositional arguments:\n  \u003cnode\u003e                Name or UUID of the node.\n\noptional arguments:\n  -h, --help            show this help message and exit\n  --wait [WAIT_TIMEOUT]\n                        Wait for a node to reach the expected state. Not\n                        supported for \u0027abort\u0027. Optionally takes a timeout in\n                        seconds. The default value is 0, meaning no timeout.","commit_id":"2578b01f17fe16be84bb09152a54e228d1bfb99c"},{"author":{"_account_id":11929,"name":"Michael Turek","email":"mjturek@linux.vnet.ibm.com","username":"mjturek"},"change_message_id":"32305b44a6c3f17f7b8c78e98da6d7886b247f17","unresolved":false,"context_lines":[{"line_number":85,"context_line":"            help\u003d(\"Wait for a node to reach the expected state. Not supported \""},{"line_number":86,"context_line":"                  \"for \u0027abort\u0027. Optionally takes a timeout in seconds. \""},{"line_number":87,"context_line":"                  \"The default value is 0, meaning no timeout.\"))"},{"line_number":88,"context_line":"        return parser"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"    def take_action(self, parsed_args):"},{"line_number":91,"context_line":"        super(ProvisionStateWithWait, self).take_action(parsed_args)"}],"source_content_type":"text/x-python","patch_set":9,"id":"5a3905b3_41220203","line":88,"in_reply_to":"5a3905b3_ddac458e","updated":"2017-01-24 18:45:26.000000000","message":"Done, let me know what you think of the rewording!","commit_id":"2578b01f17fe16be84bb09152a54e228d1bfb99c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"7068de7478ba5c39d75225fb70f59a37dbcc9fd0","unresolved":false,"context_lines":[{"line_number":88,"context_line":"        return parser"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"    def take_action(self, parsed_args):"},{"line_number":91,"context_line":"        super(ProvisionStateWithWait, self).take_action(parsed_args)"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"        if (parsed_args.wait_timeout is None or parsed_args.wait_timeout is 0):"},{"line_number":94,"context_line":"            return"}],"source_content_type":"text/x-python","patch_set":9,"id":"5a3905b3_78b6fff9","line":91,"updated":"2017-01-24 02:34:55.000000000","message":"for consistency, add self.log.debug(...) ?","commit_id":"2578b01f17fe16be84bb09152a54e228d1bfb99c"},{"author":{"_account_id":11929,"name":"Michael Turek","email":"mjturek@linux.vnet.ibm.com","username":"mjturek"},"change_message_id":"32305b44a6c3f17f7b8c78e98da6d7886b247f17","unresolved":false,"context_lines":[{"line_number":88,"context_line":"        return parser"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"    def take_action(self, parsed_args):"},{"line_number":91,"context_line":"        super(ProvisionStateWithWait, self).take_action(parsed_args)"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"        if (parsed_args.wait_timeout is None or parsed_args.wait_timeout is 0):"},{"line_number":94,"context_line":"            return"}],"source_content_type":"text/x-python","patch_set":9,"id":"5a3905b3_ad02bd07","line":91,"in_reply_to":"5a3905b3_78b6fff9","updated":"2017-01-24 18:45:26.000000000","message":"Done","commit_id":"2578b01f17fe16be84bb09152a54e228d1bfb99c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"7068de7478ba5c39d75225fb70f59a37dbcc9fd0","unresolved":false,"context_lines":[{"line_number":90,"context_line":"    def take_action(self, parsed_args):"},{"line_number":91,"context_line":"        super(ProvisionStateWithWait, self).take_action(parsed_args)"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"        if (parsed_args.wait_timeout is None or parsed_args.wait_timeout is 0):"},{"line_number":94,"context_line":"            return"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"        baremetal_client \u003d self.app.client_manager.baremetal"}],"source_content_type":"text/x-python","patch_set":9,"id":"5a3905b3_5d8215c9","line":93,"updated":"2017-01-24 02:34:55.000000000","message":"OH. if it is 0, then it doesn\u0027t wait at all? I thought it meant that it would wait until the node reaches the desired state (ie, won\u0027t time out).","commit_id":"2578b01f17fe16be84bb09152a54e228d1bfb99c"},{"author":{"_account_id":11929,"name":"Michael Turek","email":"mjturek@linux.vnet.ibm.com","username":"mjturek"},"change_message_id":"32305b44a6c3f17f7b8c78e98da6d7886b247f17","unresolved":false,"context_lines":[{"line_number":90,"context_line":"    def take_action(self, parsed_args):"},{"line_number":91,"context_line":"        super(ProvisionStateWithWait, self).take_action(parsed_args)"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"        if (parsed_args.wait_timeout is None or parsed_args.wait_timeout is 0):"},{"line_number":94,"context_line":"            return"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"        baremetal_client \u003d self.app.client_manager.baremetal"}],"source_content_type":"text/x-python","patch_set":9,"id":"5a3905b3_d5a95591","line":93,"in_reply_to":"5a3905b3_5d8215c9","updated":"2017-01-24 18:45:26.000000000","message":"Whoops! I mistakenly added a check for (wait_timeout is 0). Removed that. Going to also need test cases for --wait without optional argument. Thanks for catching this!","commit_id":"2578b01f17fe16be84bb09152a54e228d1bfb99c"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"2d7ae2024ece364c2f40fc05ae028edeb27301c6","unresolved":false,"context_lines":[{"line_number":94,"context_line":"            return"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"        baremetal_client \u003d self.app.client_manager.baremetal"},{"line_number":97,"context_line":"        wait_args \u003d node_shell.PROVISION_ACTIONS.get("},{"line_number":98,"context_line":"            parsed_args.provision_state)"},{"line_number":99,"context_line":"        if wait_args is None:"},{"line_number":100,"context_line":"            # This should never happen in reality, but checking just in case"}],"source_content_type":"text/x-python","patch_set":9,"id":"5a3905b3_c7fe4bad","line":97,"updated":"2017-01-23 15:46:08.000000000","message":"Hrm, these are not in node_shell... https://github.com/openstack/python-ironicclient/blob/master/ironicclient/v1/utils.py","commit_id":"2578b01f17fe16be84bb09152a54e228d1bfb99c"},{"author":{"_account_id":11929,"name":"Michael Turek","email":"mjturek@linux.vnet.ibm.com","username":"mjturek"},"change_message_id":"32305b44a6c3f17f7b8c78e98da6d7886b247f17","unresolved":false,"context_lines":[{"line_number":94,"context_line":"            return"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"        baremetal_client \u003d self.app.client_manager.baremetal"},{"line_number":97,"context_line":"        wait_args \u003d node_shell.PROVISION_ACTIONS.get("},{"line_number":98,"context_line":"            parsed_args.provision_state)"},{"line_number":99,"context_line":"        if wait_args is None:"},{"line_number":100,"context_line":"            # This should never happen in reality, but checking just in case"}],"source_content_type":"text/x-python","patch_set":9,"id":"5a3905b3_d6f15a03","line":97,"in_reply_to":"5a3905b3_c7fe4bad","updated":"2017-01-24 18:45:26.000000000","message":"oh weird! Fixed.","commit_id":"2578b01f17fe16be84bb09152a54e228d1bfb99c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"25c8e72c7530d1f7dbc87f1e4c93f942d85c06a5","unresolved":false,"context_lines":[{"line_number":78,"context_line":"        parser \u003d super(ProvisionStateWithWait, self).get_parser(prog_name)"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"        desired_state \u003d v1_utils.PROVISION_ACTIONS.get("},{"line_number":81,"context_line":"            self.PROVISION_STATE)[\u0027expected_state\u0027]"},{"line_number":82,"context_line":"        parser.add_argument("},{"line_number":83,"context_line":"            \u0027--wait\u0027,"},{"line_number":84,"context_line":"            type\u003dint,"}],"source_content_type":"text/x-python","patch_set":12,"id":"5a3905b3_6a926ea1","line":81,"updated":"2017-01-24 22:09:15.000000000","message":"there\u0027s a bit of a problem with this. if v1_utils.PROVISION_ACTIONS.get() returns None? That shouldn\u0027t happen but given that it is coded this way, we need to guard against None[\u0027expected_state\u0027].\n\nI didn\u0027t think much about this, but it seems to me that we should be doing v1_utils.PROVISION_ACTIONS[self.PROVISION_STATE], because it is a coding error otherwise. And unit tests should help prevent any coding errors. (Maybe something to do for a rainy day.)","commit_id":"09774ad3fc0cae2144800ee6f9c71a973308fcb9"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"25c8e72c7530d1f7dbc87f1e4c93f942d85c06a5","unresolved":false,"context_lines":[{"line_number":87,"context_line":"            metavar\u003d\u0027\u003ctime-out\u003e\u0027,"},{"line_number":88,"context_line":"            const\u003d0,"},{"line_number":89,"context_line":"            nargs\u003d\u0027?\u0027,"},{"line_number":90,"context_line":"            help\u003d(\"Wait for a node to reach the desired state, %(state)s. \""},{"line_number":91,"context_line":"                  \"Optionally takes a timeout value (in seconds). The \""},{"line_number":92,"context_line":"                  \"default value is 0, meaning it will wait indefinitely.\") %"},{"line_number":93,"context_line":"            {\u0027state\u0027: desired_state})"}],"source_content_type":"text/x-python","patch_set":12,"id":"5a3905b3_05563d06","line":90,"updated":"2017-01-24 22:09:15.000000000","message":"might be better as s/desired state, /desired state \u0027/ and add an ending \u0027 after the state.","commit_id":"09774ad3fc0cae2144800ee6f9c71a973308fcb9"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"5cd0b69fce23e1e16d7cd4e60bbf7ad811004358","unresolved":false,"context_lines":[{"line_number":87,"context_line":"            metavar\u003d\u0027\u003ctime-out\u003e\u0027,"},{"line_number":88,"context_line":"            const\u003d0,"},{"line_number":89,"context_line":"            nargs\u003d\u0027?\u0027,"},{"line_number":90,"context_line":"            help\u003d(\"Wait for a node to reach the desired state, %(state)s. \""},{"line_number":91,"context_line":"                  \"Optionally takes a timeout value (in seconds). The \""},{"line_number":92,"context_line":"                  \"default value is 0, meaning it will wait indefinitely.\") %"},{"line_number":93,"context_line":"            {\u0027state\u0027: desired_state})"}],"source_content_type":"text/x-python","patch_set":12,"id":"5a3905b3_dae1669c","line":90,"in_reply_to":"5a3905b3_05563d06","updated":"2017-01-25 05:05:36.000000000","message":"++","commit_id":"09774ad3fc0cae2144800ee6f9c71a973308fcb9"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"25c8e72c7530d1f7dbc87f1e4c93f942d85c06a5","unresolved":false,"context_lines":[{"line_number":88,"context_line":"            const\u003d0,"},{"line_number":89,"context_line":"            nargs\u003d\u0027?\u0027,"},{"line_number":90,"context_line":"            help\u003d(\"Wait for a node to reach the desired state, %(state)s. \""},{"line_number":91,"context_line":"                  \"Optionally takes a timeout value (in seconds). The \""},{"line_number":92,"context_line":"                  \"default value is 0, meaning it will wait indefinitely.\") %"},{"line_number":93,"context_line":"            {\u0027state\u0027: desired_state})"},{"line_number":94,"context_line":"        return parser"}],"source_content_type":"text/x-python","patch_set":12,"id":"5a3905b3_6fa9a024","line":91,"updated":"2017-01-24 22:09:15.000000000","message":"nit s/timeout/time out/","commit_id":"09774ad3fc0cae2144800ee6f9c71a973308fcb9"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"5cd0b69fce23e1e16d7cd4e60bbf7ad811004358","unresolved":false,"context_lines":[{"line_number":106,"context_line":"        if wait_args is None:"},{"line_number":107,"context_line":"            # This should never happen in reality, but checking just in case"},{"line_number":108,"context_line":"            raise exc.CommandError("},{"line_number":109,"context_line":"                _(\"\u0027--wait is not supported for provision state \u0027%s\u0027\")"},{"line_number":110,"context_line":"                % parsed_args.provision_state)"},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"        print(_(\u0027Waiting for provision state %(state)s on node %(node)s\u0027) %"}],"source_content_type":"text/x-python","patch_set":12,"id":"5a3905b3_da8fa6ca","line":109,"updated":"2017-01-25 05:05:36.000000000","message":"nit: It seems like this error message is a little misleading for should this case be encountered. Then again... it would be easy to find if a bug is ever raised. :)","commit_id":"09774ad3fc0cae2144800ee6f9c71a973308fcb9"}],"ironicclient/tests/unit/osc/v1/test_baremetal_node.py":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"25c8e72c7530d1f7dbc87f1e4c93f942d85c06a5","unresolved":false,"context_lines":[{"line_number":68,"context_line":""},{"line_number":69,"context_line":"        self.cmd.take_action(parsed_args)"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"        self.baremetal_mock.node.wait_for_provision_state.assert_not_called()"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    def test_adopt_baremetal_provision_state_active_and_wait(self):"},{"line_number":74,"context_line":"        arglist \u003d [\u0027node_uuid\u0027,"}],"source_content_type":"text/x-python","patch_set":12,"id":"5a3905b3_85bdcd04","line":71,"updated":"2017-01-24 22:09:15.000000000","message":"why not just combine this with the above test? They\u0027re doing the same thing I think.","commit_id":"09774ad3fc0cae2144800ee6f9c71a973308fcb9"},{"author":{"_account_id":11929,"name":"Michael Turek","email":"mjturek@linux.vnet.ibm.com","username":"mjturek"},"change_message_id":"4a4cdfed25f3195eb366972104427603a342bb2b","unresolved":false,"context_lines":[{"line_number":68,"context_line":""},{"line_number":69,"context_line":"        self.cmd.take_action(parsed_args)"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"        self.baremetal_mock.node.wait_for_provision_state.assert_not_called()"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    def test_adopt_baremetal_provision_state_active_and_wait(self):"},{"line_number":74,"context_line":"        arglist \u003d [\u0027node_uuid\u0027,"}],"source_content_type":"text/x-python","patch_set":12,"id":"3a461143_e0112a5f","line":71,"in_reply_to":"5a3905b3_7a5dd247","updated":"2017-01-25 18:51:56.000000000","message":"Yeah, originally I had added the \u0027assert_not_called\u0027 to the above test but I\u0027m wasn\u0027t sure that having more than one assert per test was a good idea. Looking back now, seems like it would be okay, the tests can already fail in two different spots.","commit_id":"09774ad3fc0cae2144800ee6f9c71a973308fcb9"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"5cd0b69fce23e1e16d7cd4e60bbf7ad811004358","unresolved":false,"context_lines":[{"line_number":68,"context_line":""},{"line_number":69,"context_line":"        self.cmd.take_action(parsed_args)"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"        self.baremetal_mock.node.wait_for_provision_state.assert_not_called()"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    def test_adopt_baremetal_provision_state_active_and_wait(self):"},{"line_number":74,"context_line":"        arglist \u003d [\u0027node_uuid\u0027,"}],"source_content_type":"text/x-python","patch_set":12,"id":"5a3905b3_7a5dd247","line":71,"in_reply_to":"5a3905b3_85bdcd04","updated":"2017-01-25 05:05:36.000000000","message":"It feels like the content would be fairly different, then again, the wait parameters could just be appended and the call re-run which would be rather readable imho, but admittedly I\u0027m weird.","commit_id":"09774ad3fc0cae2144800ee6f9c71a973308fcb9"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"25c8e72c7530d1f7dbc87f1e4c93f942d85c06a5","unresolved":false,"context_lines":[{"line_number":83,"context_line":""},{"line_number":84,"context_line":"        self.cmd.take_action(parsed_args)"},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"        test_node \u003d self.baremetal_mock.node"},{"line_number":87,"context_line":"        test_node.wait_for_provision_state.assert_called_once_with("},{"line_number":88,"context_line":"            \u0027node_uuid\u0027, expected_state\u003d\u0027active\u0027,"},{"line_number":89,"context_line":"            poll_interval\u003d2, timeout\u003d15)"}],"source_content_type":"text/x-python","patch_set":12,"id":"5a3905b3_45712577","line":86,"updated":"2017-01-24 22:09:15.000000000","message":"probably better to call this s/test_node/mock_node/","commit_id":"09774ad3fc0cae2144800ee6f9c71a973308fcb9"},{"author":{"_account_id":11929,"name":"Michael Turek","email":"mjturek@linux.vnet.ibm.com","username":"mjturek"},"change_message_id":"4a4cdfed25f3195eb366972104427603a342bb2b","unresolved":false,"context_lines":[{"line_number":83,"context_line":""},{"line_number":84,"context_line":"        self.cmd.take_action(parsed_args)"},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"        test_node \u003d self.baremetal_mock.node"},{"line_number":87,"context_line":"        test_node.wait_for_provision_state.assert_called_once_with("},{"line_number":88,"context_line":"            \u0027node_uuid\u0027, expected_state\u003d\u0027active\u0027,"},{"line_number":89,"context_line":"            poll_interval\u003d2, timeout\u003d15)"}],"source_content_type":"text/x-python","patch_set":12,"id":"3a461143_3b10c34e","line":86,"in_reply_to":"5a3905b3_45712577","updated":"2017-01-25 18:51:56.000000000","message":"agreed","commit_id":"09774ad3fc0cae2144800ee6f9c71a973308fcb9"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"25c8e72c7530d1f7dbc87f1e4c93f942d85c06a5","unresolved":false,"context_lines":[{"line_number":101,"context_line":""},{"line_number":102,"context_line":"        self.cmd.take_action(parsed_args)"},{"line_number":103,"context_line":""},{"line_number":104,"context_line":"        test_node \u003d self.baremetal_mock.node"},{"line_number":105,"context_line":"        test_node.wait_for_provision_state.assert_called_once_with("},{"line_number":106,"context_line":"            \u0027node_uuid\u0027, expected_state\u003d\u0027active\u0027,"},{"line_number":107,"context_line":"            poll_interval\u003d2, timeout\u003d0)"}],"source_content_type":"text/x-python","patch_set":12,"id":"5a3905b3_65e38106","line":104,"updated":"2017-01-24 22:09:15.000000000","message":"ditto","commit_id":"09774ad3fc0cae2144800ee6f9c71a973308fcb9"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"25c8e72c7530d1f7dbc87f1e4c93f942d85c06a5","unresolved":false,"context_lines":[{"line_number":1246,"context_line":""},{"line_number":1247,"context_line":"        self.baremetal_mock.node.wait_for_provision_state.assert_not_called()"},{"line_number":1248,"context_line":""},{"line_number":1249,"context_line":"    def test_inspect_baremetal_provision_state_managable_and_wait(self):"},{"line_number":1250,"context_line":"        arglist \u003d [\u0027node_uuid\u0027,"},{"line_number":1251,"context_line":"                   \u0027--wait\u0027, \u002715\u0027]"},{"line_number":1252,"context_line":"        verifylist \u003d ["}],"source_content_type":"text/x-python","patch_set":12,"id":"5a3905b3_2587b9d8","line":1249,"updated":"2017-01-24 22:09:15.000000000","message":"s/managable/manageable/","commit_id":"09774ad3fc0cae2144800ee6f9c71a973308fcb9"},{"author":{"_account_id":11929,"name":"Michael Turek","email":"mjturek@linux.vnet.ibm.com","username":"mjturek"},"change_message_id":"4a4cdfed25f3195eb366972104427603a342bb2b","unresolved":false,"context_lines":[{"line_number":1246,"context_line":""},{"line_number":1247,"context_line":"        self.baremetal_mock.node.wait_for_provision_state.assert_not_called()"},{"line_number":1248,"context_line":""},{"line_number":1249,"context_line":"    def test_inspect_baremetal_provision_state_managable_and_wait(self):"},{"line_number":1250,"context_line":"        arglist \u003d [\u0027node_uuid\u0027,"},{"line_number":1251,"context_line":"                   \u0027--wait\u0027, \u002715\u0027]"},{"line_number":1252,"context_line":"        verifylist \u003d ["}],"source_content_type":"text/x-python","patch_set":12,"id":"3a461143_1b13075e","line":1249,"in_reply_to":"5a3905b3_2587b9d8","updated":"2017-01-25 18:51:56.000000000","message":"whoops!","commit_id":"09774ad3fc0cae2144800ee6f9c71a973308fcb9"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"25c8e72c7530d1f7dbc87f1e4c93f942d85c06a5","unresolved":false,"context_lines":[{"line_number":1452,"context_line":"        test_node.wait_for_provision_state.assert_called_once_with("},{"line_number":1453,"context_line":"            \u0027node_uuid\u0027, expected_state\u003d\u0027available\u0027,"},{"line_number":1454,"context_line":"            poll_interval\u003d10, timeout\u003d0)"},{"line_number":1455,"context_line":""},{"line_number":1456,"context_line":""},{"line_number":1457,"context_line":"class TestBaremetalReboot(TestBaremetal):"},{"line_number":1458,"context_line":"    def setUp(self):"}],"source_content_type":"text/x-python","patch_set":12,"id":"5a3905b3_a5f8094b","line":1455,"updated":"2017-01-24 22:09:15.000000000","message":"so much copy/paste :-( Guess I can leave that for someone to clean up in a separate patch.","commit_id":"09774ad3fc0cae2144800ee6f9c71a973308fcb9"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"5cd0b69fce23e1e16d7cd4e60bbf7ad811004358","unresolved":false,"context_lines":[{"line_number":1452,"context_line":"        test_node.wait_for_provision_state.assert_called_once_with("},{"line_number":1453,"context_line":"            \u0027node_uuid\u0027, expected_state\u003d\u0027available\u0027,"},{"line_number":1454,"context_line":"            poll_interval\u003d10, timeout\u003d0)"},{"line_number":1455,"context_line":""},{"line_number":1456,"context_line":""},{"line_number":1457,"context_line":"class TestBaremetalReboot(TestBaremetal):"},{"line_number":1458,"context_line":"    def setUp(self):"}],"source_content_type":"text/x-python","patch_set":12,"id":"5a3905b3_fa2f02a5","line":1455,"in_reply_to":"5a3905b3_a5f8094b","updated":"2017-01-25 05:05:36.000000000","message":"+1 :(","commit_id":"09774ad3fc0cae2144800ee6f9c71a973308fcb9"},{"author":{"_account_id":11929,"name":"Michael Turek","email":"mjturek@linux.vnet.ibm.com","username":"mjturek"},"change_message_id":"4a4cdfed25f3195eb366972104427603a342bb2b","unresolved":false,"context_lines":[{"line_number":1452,"context_line":"        test_node.wait_for_provision_state.assert_called_once_with("},{"line_number":1453,"context_line":"            \u0027node_uuid\u0027, expected_state\u003d\u0027available\u0027,"},{"line_number":1454,"context_line":"            poll_interval\u003d10, timeout\u003d0)"},{"line_number":1455,"context_line":""},{"line_number":1456,"context_line":""},{"line_number":1457,"context_line":"class TestBaremetalReboot(TestBaremetal):"},{"line_number":1458,"context_line":"    def setUp(self):"}],"source_content_type":"text/x-python","patch_set":12,"id":"3a461143_1baf87e4","line":1455,"in_reply_to":"5a3905b3_a5f8094b","updated":"2017-01-25 18:51:56.000000000","message":"Yeaaah, sorry. I can take a stab at cleaning this up.","commit_id":"09774ad3fc0cae2144800ee6f9c71a973308fcb9"}],"releasenotes/notes/osc-wait-option-for-provisioning-commands-b6f5b875d573c9c8.yaml":[{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"5cd0b69fce23e1e16d7cd4e60bbf7ad811004358","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Adds an option ``--wait [\u003ctime-out\u003e]`` to all  of the"},{"line_number":5,"context_line":"    OSC provisioning commands, except for abort which is not"},{"line_number":6,"context_line":"    supported. When specified, provisioning commands will"},{"line_number":7,"context_line":"    wait for the node to reach the desired state before"}],"source_content_type":"text/x-yaml","patch_set":12,"id":"5a3905b3_fa162257","line":4,"updated":"2017-01-25 05:05:36.000000000","message":"Nit: excess space between all and of.","commit_id":"09774ad3fc0cae2144800ee6f9c71a973308fcb9"}]}
