)]}'
{"ironic/drivers/modules/oneview/deploy.py":[{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"dc77724106ce1ae1dd42b6d662df076fe2070d56","unresolved":false,"context_lines":[{"line_number":67,"context_line":""},{"line_number":68,"context_line":"            node \u003d objects.Node.get(context, node_uuid)"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"            oneview_using \u003d True"},{"line_number":71,"context_line":"            try:"},{"line_number":72,"context_line":"                oneview_using \u003d deploy_utils.is_node_in_use_by_oneview(node)"},{"line_number":73,"context_line":"            except exception.OneViewError as e:"}],"source_content_type":"text/x-python","patch_set":1,"id":"5a8bc5a2_74cde085","line":70,"updated":"2016-09-28 02:18:13.000000000","message":"Value is undefined in the exception case, therefore do not do any action except error logging. \"continue\" should be placed after l77 instead.","commit_id":"fe9a6db457c6b6ae27d3ebaba8391a912c93f2c4"},{"author":{"_account_id":19072,"name":"Xavier","email":"marcusrafael@lsd.ufcg.edu.br","username":"marcusrafael"},"change_message_id":"1debb6ae310b9ab7bfeee802303f28e490f0d30b","unresolved":false,"context_lines":[{"line_number":67,"context_line":""},{"line_number":68,"context_line":"            node \u003d objects.Node.get(context, node_uuid)"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"            oneview_using \u003d True"},{"line_number":71,"context_line":"            try:"},{"line_number":72,"context_line":"                oneview_using \u003d deploy_utils.is_node_in_use_by_oneview(node)"},{"line_number":73,"context_line":"            except exception.OneViewError as e:"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a98d1f4_2372f7ad","line":70,"in_reply_to":"3a98d1f4_142bba83","updated":"2016-09-29 18:13:58.000000000","message":"I added a continue word and a note explaining the code workflow. Please, see the new patch set.","commit_id":"fe9a6db457c6b6ae27d3ebaba8391a912c93f2c4"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"28967519f0a1ced13bb626e8557c42d5f053cbd6","unresolved":false,"context_lines":[{"line_number":67,"context_line":""},{"line_number":68,"context_line":"            node \u003d objects.Node.get(context, node_uuid)"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"            oneview_using \u003d True"},{"line_number":71,"context_line":"            try:"},{"line_number":72,"context_line":"                oneview_using \u003d deploy_utils.is_node_in_use_by_oneview(node)"},{"line_number":73,"context_line":"            except exception.OneViewError as e:"}],"source_content_type":"text/x-python","patch_set":1,"id":"5a8bc5a2_be757a33","line":70,"in_reply_to":"5a8bc5a2_6d10aaa9","updated":"2016-09-28 08:11:26.000000000","message":"Your logic not only set maintenance, it also set misinforms maintenance reason and change the state. Revert state change (if not using) requires automatic cleaning procedure (if enabled) that takes some time and not needed. Agree, wait for oneview people, maybe it looks good for them as is.","commit_id":"fe9a6db457c6b6ae27d3ebaba8391a912c93f2c4"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"5020d5c091ae65b7b228b71168026035cbd723db","unresolved":false,"context_lines":[{"line_number":67,"context_line":""},{"line_number":68,"context_line":"            node \u003d objects.Node.get(context, node_uuid)"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"            oneview_using \u003d True"},{"line_number":71,"context_line":"            try:"},{"line_number":72,"context_line":"                oneview_using \u003d deploy_utils.is_node_in_use_by_oneview(node)"},{"line_number":73,"context_line":"            except exception.OneViewError as e:"}],"source_content_type":"text/x-python","patch_set":1,"id":"5a8bc5a2_6d10aaa9","line":70,"in_reply_to":"5a8bc5a2_74cde085","updated":"2016-09-28 07:06:12.000000000","message":"My logic was - if the exception appears, it\u0027s better not to use the node in ironic. If everything is OK the next time periodics check the node - the maintenance will be removed. But let\u0027s wait for oneview people to confirm, as I\u0027m not a source of truth here :)","commit_id":"fe9a6db457c6b6ae27d3ebaba8391a912c93f2c4"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"42c65d1740b961f27b5e3350164bdb4d8f6ed429","unresolved":false,"context_lines":[{"line_number":67,"context_line":""},{"line_number":68,"context_line":"            node \u003d objects.Node.get(context, node_uuid)"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"            oneview_using \u003d True"},{"line_number":71,"context_line":"            try:"},{"line_number":72,"context_line":"                oneview_using \u003d deploy_utils.is_node_in_use_by_oneview(node)"},{"line_number":73,"context_line":"            except exception.OneViewError as e:"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a98d1f4_142bba83","line":70,"in_reply_to":"5a8bc5a2_9992989e","updated":"2016-09-28 16:38:31.000000000","message":"Oh, I missed this. I\u0027d think this would be oneview_using \u003d False. (And the one below at L125 is True.)\n\nMight be better not to set oneview_using here, but to add a comment in the except part... to make it clear what behavior is desired. and either set oneview_using there, or do as yuriy suggests (depending on the desired behaviour).","commit_id":"fe9a6db457c6b6ae27d3ebaba8391a912c93f2c4"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"593dc8ed963e8574057c4e3fb4f5569996f36c7e","unresolved":false,"context_lines":[{"line_number":67,"context_line":""},{"line_number":68,"context_line":"            node \u003d objects.Node.get(context, node_uuid)"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"            oneview_using \u003d True"},{"line_number":71,"context_line":"            try:"},{"line_number":72,"context_line":"                oneview_using \u003d deploy_utils.is_node_in_use_by_oneview(node)"},{"line_number":73,"context_line":"            except exception.OneViewError as e:"}],"source_content_type":"text/x-python","patch_set":1,"id":"5a8bc5a2_9992989e","line":70,"in_reply_to":"5a8bc5a2_be757a33","updated":"2016-09-28 08:22:17.000000000","message":"Maybe only set node maintenance in this case with proper maintenance reason, this prevents node from deploy procedure.","commit_id":"fe9a6db457c6b6ae27d3ebaba8391a912c93f2c4"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"dc77724106ce1ae1dd42b6d662df076fe2070d56","unresolved":false,"context_lines":[{"line_number":122,"context_line":""},{"line_number":123,"context_line":"                node \u003d objects.Node.get(context, node_uuid)"},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"                oneview_using \u003d True"},{"line_number":126,"context_line":"                try:"},{"line_number":127,"context_line":"                    oneview_using \u003d deploy_utils.is_node_in_use_by_oneview("},{"line_number":128,"context_line":"                        node"}],"source_content_type":"text/x-python","patch_set":1,"id":"5a8bc5a2_34aa7886","line":125,"updated":"2016-09-28 02:18:13.000000000","message":"ditto","commit_id":"fe9a6db457c6b6ae27d3ebaba8391a912c93f2c4"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"5020d5c091ae65b7b228b71168026035cbd723db","unresolved":false,"context_lines":[{"line_number":122,"context_line":""},{"line_number":123,"context_line":"                node \u003d objects.Node.get(context, node_uuid)"},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"                oneview_using \u003d True"},{"line_number":126,"context_line":"                try:"},{"line_number":127,"context_line":"                    oneview_using \u003d deploy_utils.is_node_in_use_by_oneview("},{"line_number":128,"context_line":"                        node"}],"source_content_type":"text/x-python","patch_set":1,"id":"5a8bc5a2_8d25f60b","line":125,"in_reply_to":"5a8bc5a2_34aa7886","updated":"2016-09-28 07:06:12.000000000","message":"ditto","commit_id":"fe9a6db457c6b6ae27d3ebaba8391a912c93f2c4"},{"author":{"_account_id":19072,"name":"Xavier","email":"marcusrafael@lsd.ufcg.edu.br","username":"marcusrafael"},"change_message_id":"1debb6ae310b9ab7bfeee802303f28e490f0d30b","unresolved":false,"context_lines":[{"line_number":122,"context_line":""},{"line_number":123,"context_line":"                node \u003d objects.Node.get(context, node_uuid)"},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"                oneview_using \u003d True"},{"line_number":126,"context_line":"                try:"},{"line_number":127,"context_line":"                    oneview_using \u003d deploy_utils.is_node_in_use_by_oneview("},{"line_number":128,"context_line":"                        node"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a98d1f4_8363cbdb","line":125,"in_reply_to":"5a8bc5a2_8d25f60b","updated":"2016-09-29 18:13:58.000000000","message":"ditto","commit_id":"fe9a6db457c6b6ae27d3ebaba8391a912c93f2c4"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"137c36d1d880d7f08f462d9c8c22d9721ebbb7a0","unresolved":false,"context_lines":[{"line_number":70,"context_line":"            try:"},{"line_number":71,"context_line":"                oneview_using \u003d deploy_utils.is_node_in_use_by_oneview(node)"},{"line_number":72,"context_line":"            except exception.OneViewError as e:"},{"line_number":73,"context_line":"                # NOTE(xavierr) If an exception accours the periodic will"},{"line_number":74,"context_line":"                # only skip the current execution and iterate over the"},{"line_number":75,"context_line":"                # next node if it exists."},{"line_number":76,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"3a98d1f4_e3cacf19","line":73,"updated":"2016-09-29 18:34:29.000000000","message":"s/accours/occurs/\n\nIf we get here, an exception has occurred. So there is no need to mention \u0027If an exception occurs...\u0027\n\nHow about \u0027Skip this node and process the remaining nodes. This node will be checked in the next periodic call.\u0027","commit_id":"8aae4fdc5bb5562e0af1c2111f5d082483a804ca"},{"author":{"_account_id":19072,"name":"Xavier","email":"marcusrafael@lsd.ufcg.edu.br","username":"marcusrafael"},"change_message_id":"7a035f838d49b38838dbd6e85981291730c98987","unresolved":false,"context_lines":[{"line_number":70,"context_line":"            try:"},{"line_number":71,"context_line":"                oneview_using \u003d deploy_utils.is_node_in_use_by_oneview(node)"},{"line_number":72,"context_line":"            except exception.OneViewError as e:"},{"line_number":73,"context_line":"                # NOTE(xavierr) If an exception accours the periodic will"},{"line_number":74,"context_line":"                # only skip the current execution and iterate over the"},{"line_number":75,"context_line":"                # next node if it exists."},{"line_number":76,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"3a98d1f4_03880970","line":73,"in_reply_to":"3a98d1f4_e3cacf19","updated":"2016-10-03 23:12:43.000000000","message":"Done","commit_id":"8aae4fdc5bb5562e0af1c2111f5d082483a804ca"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"137c36d1d880d7f08f462d9c8c22d9721ebbb7a0","unresolved":false,"context_lines":[{"line_number":134,"context_line":"                except exception.OneViewError as e:"},{"line_number":135,"context_line":"                    # NOTE(xavierr) If an exception accours the periodic will"},{"line_number":136,"context_line":"                    # only skip the current execution and iterate over the"},{"line_number":137,"context_line":"                    # next node if it exists."},{"line_number":138,"context_line":""},{"line_number":139,"context_line":"                    LOG.error(_LE(\"Error while determining if node \""},{"line_number":140,"context_line":"                                  \"%(node_uuid)s is in use by OneView. \""}],"source_content_type":"text/x-python","patch_set":2,"id":"3a98d1f4_a3e1a79c","line":137,"updated":"2016-09-29 18:34:29.000000000","message":"ditto","commit_id":"8aae4fdc5bb5562e0af1c2111f5d082483a804ca"},{"author":{"_account_id":19072,"name":"Xavier","email":"marcusrafael@lsd.ufcg.edu.br","username":"marcusrafael"},"change_message_id":"7a035f838d49b38838dbd6e85981291730c98987","unresolved":false,"context_lines":[{"line_number":134,"context_line":"                except exception.OneViewError as e:"},{"line_number":135,"context_line":"                    # NOTE(xavierr) If an exception accours the periodic will"},{"line_number":136,"context_line":"                    # only skip the current execution and iterate over the"},{"line_number":137,"context_line":"                    # next node if it exists."},{"line_number":138,"context_line":""},{"line_number":139,"context_line":"                    LOG.error(_LE(\"Error while determining if node \""},{"line_number":140,"context_line":"                                  \"%(node_uuid)s is in use by OneView. \""}],"source_content_type":"text/x-python","patch_set":2,"id":"3a98d1f4_237b457c","line":137,"in_reply_to":"3a98d1f4_a3e1a79c","updated":"2016-10-03 23:12:43.000000000","message":"Done","commit_id":"8aae4fdc5bb5562e0af1c2111f5d082483a804ca"}],"ironic/tests/unit/drivers/modules/oneview/test_deploy.py":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"137c36d1d880d7f08f462d9c8c22d9721ebbb7a0","unresolved":false,"context_lines":[{"line_number":52,"context_line":"        self.info \u003d common.get_oneview_info(self.node)"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"    @mock.patch.object(objects.Node, \u0027get\u0027)"},{"line_number":55,"context_line":"    def _test__periodic_check_nodes_taken_by_oneview(self, manager_mock,"},{"line_number":56,"context_line":"                                                     mock_get_node):"},{"line_number":57,"context_line":"        mock_get_node.return_value \u003d self.node"},{"line_number":58,"context_line":"        manager_mock.iter_nodes.return_value \u003d ["}],"source_content_type":"text/x-python","patch_set":2,"id":"3a98d1f4_66d96d83","line":55,"updated":"2016-09-29 18:34:29.000000000","message":"i\u0027m not familiar with the oneview tests, but typically, I think that when we create _test_X() methods, they actually run a test. It looks like this is used to setup/invoke the method, but that it isn\u0027t a complete test on its own because it doesn\u0027t check that success/outcome of the calls.","commit_id":"8aae4fdc5bb5562e0af1c2111f5d082483a804ca"},{"author":{"_account_id":19072,"name":"Xavier","email":"marcusrafael@lsd.ufcg.edu.br","username":"marcusrafael"},"change_message_id":"7a035f838d49b38838dbd6e85981291730c98987","unresolved":false,"context_lines":[{"line_number":52,"context_line":"        self.info \u003d common.get_oneview_info(self.node)"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"    @mock.patch.object(objects.Node, \u0027get\u0027)"},{"line_number":55,"context_line":"    def _test__periodic_check_nodes_taken_by_oneview(self, manager_mock,"},{"line_number":56,"context_line":"                                                     mock_get_node):"},{"line_number":57,"context_line":"        mock_get_node.return_value \u003d self.node"},{"line_number":58,"context_line":"        manager_mock.iter_nodes.return_value \u003d ["}],"source_content_type":"text/x-python","patch_set":2,"id":"3a98d1f4_c38aa163","line":55,"in_reply_to":"3a98d1f4_66d96d83","updated":"2016-10-03 23:12:43.000000000","message":"Please Ruby, see new patch set.","commit_id":"8aae4fdc5bb5562e0af1c2111f5d082483a804ca"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"137c36d1d880d7f08f462d9c8c22d9721ebbb7a0","unresolved":false,"context_lines":[{"line_number":174,"context_line":"        self.assertFalse(manager.do_provisioning_action.called)"},{"line_number":175,"context_line":"        self.assertTrue(self.node.maintenance)"},{"line_number":176,"context_line":"        self.assertEqual(common.NODE_IN_USE_BY_ONEVIEW,"},{"line_number":177,"context_line":"                         self.node.maintenance_reason)"},{"line_number":178,"context_line":""},{"line_number":179,"context_line":"    @mock.patch.object(objects.Node, \u0027get\u0027)"},{"line_number":180,"context_line":"    def test__periodic_check_nodes_taken_on_cleanfail("}],"source_content_type":"text/x-python","patch_set":2,"id":"3a98d1f4_03133b67","line":177,"updated":"2016-09-29 18:34:29.000000000","message":"don\u0027t we want to confirm that mock_is_node_in_use_by_oneview was called?","commit_id":"8aae4fdc5bb5562e0af1c2111f5d082483a804ca"},{"author":{"_account_id":19072,"name":"Xavier","email":"marcusrafael@lsd.ufcg.edu.br","username":"marcusrafael"},"change_message_id":"7a035f838d49b38838dbd6e85981291730c98987","unresolved":false,"context_lines":[{"line_number":174,"context_line":"        self.assertFalse(manager.do_provisioning_action.called)"},{"line_number":175,"context_line":"        self.assertTrue(self.node.maintenance)"},{"line_number":176,"context_line":"        self.assertEqual(common.NODE_IN_USE_BY_ONEVIEW,"},{"line_number":177,"context_line":"                         self.node.maintenance_reason)"},{"line_number":178,"context_line":""},{"line_number":179,"context_line":"    @mock.patch.object(objects.Node, \u0027get\u0027)"},{"line_number":180,"context_line":"    def test__periodic_check_nodes_taken_on_cleanfail("}],"source_content_type":"text/x-python","patch_set":2,"id":"3a98d1f4_43f5b1ea","line":177,"in_reply_to":"3a98d1f4_03133b67","updated":"2016-10-03 23:12:43.000000000","message":"Done","commit_id":"8aae4fdc5bb5562e0af1c2111f5d082483a804ca"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"616a67751f0210232a9b0a3b6cc2feaf1077a68f","unresolved":false,"context_lines":[{"line_number":195,"context_line":"        self.deploy._periodic_check_nodes_freed_by_oneview("},{"line_number":196,"context_line":"            self.manager, self.context"},{"line_number":197,"context_line":"        )"},{"line_number":198,"context_line":"        self.assertTrue(mock_is_node_in_use_by_oneview.called)"},{"line_number":199,"context_line":"        self.assertFalse(self.manager.update_node.called)"},{"line_number":200,"context_line":"        self.assertFalse(self.manager.do_provisioning_action.called)"},{"line_number":201,"context_line":"        self.assertTrue(self.node.maintenance)"}],"source_content_type":"text/x-python","patch_set":3,"id":"3a98d1f4_f1810ac5","line":198,"updated":"2016-10-04 13:29:33.000000000","message":"instead of this, we should be using\n\nmock_is_node_in_use_by_oneview.assert_called_once_with(args)","commit_id":"eed76cc4f7ff009f9ad65da9d08bd34cb9d82f62"},{"author":{"_account_id":19072,"name":"Xavier","email":"marcusrafael@lsd.ufcg.edu.br","username":"marcusrafael"},"change_message_id":"dbf5dc29384f5ed4c256195ede26a319611e7364","unresolved":false,"context_lines":[{"line_number":195,"context_line":"        self.deploy._periodic_check_nodes_freed_by_oneview("},{"line_number":196,"context_line":"            self.manager, self.context"},{"line_number":197,"context_line":"        )"},{"line_number":198,"context_line":"        self.assertTrue(mock_is_node_in_use_by_oneview.called)"},{"line_number":199,"context_line":"        self.assertFalse(self.manager.update_node.called)"},{"line_number":200,"context_line":"        self.assertFalse(self.manager.do_provisioning_action.called)"},{"line_number":201,"context_line":"        self.assertTrue(self.node.maintenance)"}],"source_content_type":"text/x-python","patch_set":3,"id":"1a95cdbc_2d07e618","line":198,"in_reply_to":"3a98d1f4_f1810ac5","updated":"2016-10-07 21:35:33.000000000","message":"Done","commit_id":"eed76cc4f7ff009f9ad65da9d08bd34cb9d82f62"}],"releasenotes/notes/fix-oneview-periodics-0f535fe7a0ad83cd.yaml":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"137c36d1d880d7f08f462d9c8c22d9721ebbb7a0","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - Fix in OneView drivers periodics to avoid NameError."}],"source_content_type":"text/x-yaml","patch_set":2,"id":"3a98d1f4_c3bcf36e","line":3,"updated":"2016-09-29 18:34:29.000000000","message":"that isn\u0027t sufficient and I don\u0027t have the time to write it for you.\n\nwhat broke, what behaviour was undesirable, when this exception occurred, and what is working now that it is fixed?","commit_id":"8aae4fdc5bb5562e0af1c2111f5d082483a804ca"},{"author":{"_account_id":19072,"name":"Xavier","email":"marcusrafael@lsd.ufcg.edu.br","username":"marcusrafael"},"change_message_id":"7a035f838d49b38838dbd6e85981291730c98987","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - Fix in OneView drivers periodics to avoid NameError."}],"source_content_type":"text/x-yaml","patch_set":2,"id":"3a98d1f4_0331e959","line":3,"in_reply_to":"3a98d1f4_c3bcf36e","updated":"2016-10-03 23:12:43.000000000","message":"Ok Ruby, so sorry about that. I added your tips in my best practices list. Thank you for your feedback.","commit_id":"8aae4fdc5bb5562e0af1c2111f5d082483a804ca"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"4212d0544335832e325e5ab94409ccd7f4fd5490","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - Fix an issue in OneView drivers\u0027 periodic tasks that was leading"},{"line_number":4,"context_line":"    to a NameError. The expected behaviour is only perform the boolean"},{"line_number":5,"context_line":"    comparation in the periodics when \u0027is_node_in_use_by_oneview\u0027"},{"line_number":6,"context_line":"    method call returns a boolean value. When the method raises an"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"1a95cdbc_0f9e5556","line":3,"updated":"2016-10-04 14:57:47.000000000","message":"s/Fix/Fixes/","commit_id":"eed76cc4f7ff009f9ad65da9d08bd34cb9d82f62"},{"author":{"_account_id":19072,"name":"Xavier","email":"marcusrafael@lsd.ufcg.edu.br","username":"marcusrafael"},"change_message_id":"dbf5dc29384f5ed4c256195ede26a319611e7364","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - Fix an issue in OneView drivers\u0027 periodic tasks that was leading"},{"line_number":4,"context_line":"    to a NameError. The expected behaviour is only perform the boolean"},{"line_number":5,"context_line":"    comparation in the periodics when \u0027is_node_in_use_by_oneview\u0027"},{"line_number":6,"context_line":"    method call returns a boolean value. When the method raises an"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"1a95cdbc_cd184278","line":3,"in_reply_to":"1a95cdbc_0f9e5556","updated":"2016-10-07 21:35:33.000000000","message":"Done","commit_id":"eed76cc4f7ff009f9ad65da9d08bd34cb9d82f62"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"616a67751f0210232a9b0a3b6cc2feaf1077a68f","unresolved":false,"context_lines":[{"line_number":7,"context_line":"    exception the expected behavior is skip the current node and"},{"line_number":8,"context_line":"    process the next node avoiding the NameError. This fix adds"},{"line_number":9,"context_line":"    a continue statement that makes the loop iterate to the next"},{"line_number":10,"context_line":"    node after log a proper error message and the exception occurs."}],"source_content_type":"text/x-yaml","patch_set":3,"id":"3a98d1f4_317612d9","line":10,"updated":"2016-10-04 13:29:33.000000000","message":"I think for a release note, this is too technical. If you were an operator, what would be useful for you? What is broken w/o this fix. If that exception occurred, what would have happened? Would the periodic task not be completed, and would have to wait to perform the task later, and if the exception always occurred for a node, would that task never complete? And so what if that task didn\u0027t complete, what would that mean?","commit_id":"eed76cc4f7ff009f9ad65da9d08bd34cb9d82f62"},{"author":{"_account_id":19072,"name":"Xavier","email":"marcusrafael@lsd.ufcg.edu.br","username":"marcusrafael"},"change_message_id":"dbf5dc29384f5ed4c256195ede26a319611e7364","unresolved":false,"context_lines":[{"line_number":7,"context_line":"    exception the expected behavior is skip the current node and"},{"line_number":8,"context_line":"    process the next node avoiding the NameError. This fix adds"},{"line_number":9,"context_line":"    a continue statement that makes the loop iterate to the next"},{"line_number":10,"context_line":"    node after log a proper error message and the exception occurs."}],"source_content_type":"text/x-yaml","patch_set":3,"id":"1a95cdbc_ed27beb3","line":10,"in_reply_to":"3a98d1f4_317612d9","updated":"2016-10-07 21:35:33.000000000","message":"Done","commit_id":"eed76cc4f7ff009f9ad65da9d08bd34cb9d82f62"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"f611de8131687e48f93f7c95a47eb7a7a49e000a","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - Fixes an issue that can brake the periodic task execution in"},{"line_number":4,"context_line":"    oneview drivers. The problem occurs when the method to check"},{"line_number":5,"context_line":"    if a node is in use by oneview raise an exception. When that"},{"line_number":6,"context_line":"    happens, the periodic task will break its execution, leaving"},{"line_number":7,"context_line":"    the node with a wrong provision state and wrong maintenance"},{"line_number":8,"context_line":"    mode too. The expected behavior when this occurs is skip"},{"line_number":9,"context_line":"    processing the current node, iterate over the next node and"},{"line_number":10,"context_line":"    process it. This patch changes the periodic task execution"},{"line_number":11,"context_line":"    flow, ignoring the exception and processing the next node."},{"line_number":12,"context_line":"    In the next periodic task execution, the not processed node"},{"line_number":13,"context_line":"    can be processed and updated accordingly."}],"source_content_type":"text/x-yaml","patch_set":4,"id":"1a95cdbc_2d440b48","line":13,"range":{"start_line":4,"start_character":21,"end_line":13,"end_character":44},"updated":"2016-10-10 17:04:11.000000000","message":"There are many detail. Please describe only what is fixed.","commit_id":"cca1d46ec1d72b246c208266ba928527354259d1"},{"author":{"_account_id":19072,"name":"Xavier","email":"marcusrafael@lsd.ufcg.edu.br","username":"marcusrafael"},"change_message_id":"e1ac6de5fa2c22a6163880c9fbf3a05e1a407b2c","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - Fixes an issue that can brake the periodic task execution in"},{"line_number":4,"context_line":"    oneview drivers. The problem occurs when the method to check"},{"line_number":5,"context_line":"    if a node is in use by oneview raise an exception. When that"},{"line_number":6,"context_line":"    happens, the periodic task will break its execution, leaving"},{"line_number":7,"context_line":"    the node with a wrong provision state and wrong maintenance"},{"line_number":8,"context_line":"    mode too. The expected behavior when this occurs is skip"},{"line_number":9,"context_line":"    processing the current node, iterate over the next node and"},{"line_number":10,"context_line":"    process it. This patch changes the periodic task execution"},{"line_number":11,"context_line":"    flow, ignoring the exception and processing the next node."},{"line_number":12,"context_line":"    In the next periodic task execution, the not processed node"},{"line_number":13,"context_line":"    can be processed and updated accordingly."}],"source_content_type":"text/x-yaml","patch_set":4,"id":"fa6399be_ab47c849","line":13,"range":{"start_line":4,"start_character":21,"end_line":13,"end_character":44},"in_reply_to":"1a95cdbc_2d440b48","updated":"2016-10-12 14:53:59.000000000","message":"Done","commit_id":"cca1d46ec1d72b246c208266ba928527354259d1"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"a3c75decd2567578669ad009734a55327d35d37d","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - Fixes an issue that can brake the periodic task execution in"},{"line_number":4,"context_line":"    oneview drivers. The problem occurs when the method to check"},{"line_number":5,"context_line":"    if a node is in use by oneview raise an exception. When that"},{"line_number":6,"context_line":"    happens, the periodic task will break its execution, leaving"},{"line_number":7,"context_line":"    the node with a wrong provision state and wrong maintenance"},{"line_number":8,"context_line":"    mode too. The expected behavior when this occurs is skip"},{"line_number":9,"context_line":"    processing the current node, iterate over the next node and"},{"line_number":10,"context_line":"    process it. This patch changes the periodic task execution"},{"line_number":11,"context_line":"    flow, ignoring the exception and processing the next node."},{"line_number":12,"context_line":"    In the next periodic task execution, the not processed node"},{"line_number":13,"context_line":"    can be processed and updated accordingly."}],"source_content_type":"text/x-yaml","patch_set":4,"id":"fa6399be_cd74149e","line":13,"range":{"start_line":4,"start_character":21,"end_line":13,"end_character":44},"in_reply_to":"1a95cdbc_2d440b48","updated":"2016-10-12 14:16:36.000000000","message":"How about \"Fixes a bug in the oneview driver where the periodic task to check if a node is in use by oneview may end prematurely\"","commit_id":"cca1d46ec1d72b246c208266ba928527354259d1"},{"author":{"_account_id":19072,"name":"Xavier","email":"marcusrafael@lsd.ufcg.edu.br","username":"marcusrafael"},"change_message_id":"e1ac6de5fa2c22a6163880c9fbf3a05e1a407b2c","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - Fixes an issue that can brake the periodic task execution in"},{"line_number":4,"context_line":"    oneview drivers. The problem occurs when the method to check"},{"line_number":5,"context_line":"    if a node is in use by oneview raise an exception. When that"},{"line_number":6,"context_line":"    happens, the periodic task will break its execution, leaving"},{"line_number":7,"context_line":"    the node with a wrong provision state and wrong maintenance"},{"line_number":8,"context_line":"    mode too. The expected behavior when this occurs is skip"},{"line_number":9,"context_line":"    processing the current node, iterate over the next node and"},{"line_number":10,"context_line":"    process it. This patch changes the periodic task execution"},{"line_number":11,"context_line":"    flow, ignoring the exception and processing the next node."},{"line_number":12,"context_line":"    In the next periodic task execution, the not processed node"},{"line_number":13,"context_line":"    can be processed and updated accordingly."}],"source_content_type":"text/x-yaml","patch_set":4,"id":"fa6399be_4b69ccbd","line":13,"range":{"start_line":4,"start_character":21,"end_line":13,"end_character":44},"in_reply_to":"fa6399be_cd74149e","updated":"2016-10-12 14:53:59.000000000","message":"Thanks! :)","commit_id":"cca1d46ec1d72b246c208266ba928527354259d1"}]}
