)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"39f2780cf3a6c965e45ff5a8d158890365d0e4a3","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This change is about adding the ability to the OneView drivers of"},{"line_number":10,"context_line":"doing hardware inspection, by customizing the default implementation"},{"line_number":11,"context_line":"of inspection interface for doing in-band inspection."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I77ebf4b9175c2c1df1baa6d58714ff54c97c17ff"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"9a89bdaa_ac3deade","line":11,"updated":"2016-09-12 17:45:11.000000000","message":"s/in-band/out of band/ ?","commit_id":"73efeff359956916836ff97a095b14fc3e1acdd6"},{"author":{"_account_id":19072,"name":"Xavier","email":"marcusrafael@lsd.ufcg.edu.br","username":"marcusrafael"},"change_message_id":"b9478c581d635f68d40049a12302ed96f74fdb2b","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This change is about adding the ability to the OneView drivers of"},{"line_number":10,"context_line":"doing hardware inspection, by customizing the default implementation"},{"line_number":11,"context_line":"of inspection interface for doing in-band inspection."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I77ebf4b9175c2c1df1baa6d58714ff54c97c17ff"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"9a89bdaa_a40c1eed","line":11,"in_reply_to":"9a89bdaa_ac3deade","updated":"2016-09-12 19:30:17.000000000","message":"We are doing in-band inspection, jroll! See: http://docs.openstack.org/developer/ironic/deploy/inspection.html#in-band-inspection","commit_id":"73efeff359956916836ff97a095b14fc3e1acdd6"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"3e7c9cf391a584208c133e79014b7ade1080ce0e","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This change is about adding the ability to the OneView drivers of"},{"line_number":10,"context_line":"doing hardware inspection, by customizing the default implementation"},{"line_number":11,"context_line":"of inspection interface for doing in-band inspection."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I77ebf4b9175c2c1df1baa6d58714ff54c97c17ff"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"9a89bdaa_c7e849e5","line":11,"in_reply_to":"9a89bdaa_ac3deade","updated":"2016-09-12 17:46:54.000000000","message":"Well actually, doesn\u0027t seem like the default implementation does this, rather new drivers do it.\n\nI\u0027d like more details in this commit message, given there\u0027s new drivers being proposed.","commit_id":"73efeff359956916836ff97a095b14fc3e1acdd6"},{"author":{"_account_id":19072,"name":"Xavier","email":"marcusrafael@lsd.ufcg.edu.br","username":"marcusrafael"},"change_message_id":"b9478c581d635f68d40049a12302ed96f74fdb2b","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This change is about adding the ability to the OneView drivers of"},{"line_number":10,"context_line":"doing hardware inspection, by customizing the default implementation"},{"line_number":11,"context_line":"of inspection interface for doing in-band inspection."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I77ebf4b9175c2c1df1baa6d58714ff54c97c17ff"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"9a89bdaa_04f86ac2","line":11,"in_reply_to":"9a89bdaa_c7e849e5","updated":"2016-09-12 19:30:17.000000000","message":"Done","commit_id":"73efeff359956916836ff97a095b14fc3e1acdd6"},{"author":{"_account_id":10917,"name":"Gabriel Bezerra","email":"gabrielb@lsd.ufcg.edu.br","username":"gabriel.bezerra"},"change_message_id":"571477dbfa73f5bdbc1718e828401e020e0bb764","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This change is about adding the ability to the OneView drivers of"},{"line_number":10,"context_line":"doing hardware inspection, by customizing the default implementation"},{"line_number":11,"context_line":"of inspection interface for doing in-band inspection."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I77ebf4b9175c2c1df1baa6d58714ff54c97c17ff"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"9a89bdaa_8741e165","line":11,"in_reply_to":"9a89bdaa_c7e849e5","updated":"2016-09-12 17:59:02.000000000","message":"In band. We just have to add some stuff around the default inspector implementation to allocate the hardware to be inspected.\n\nWe\u0027ll work on it. Thank you.","commit_id":"73efeff359956916836ff97a095b14fc3e1acdd6"}],"ironic/drivers/modules/oneview/common.py":[{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"86e44a45b6501cda273d6ea960438af4eeeb1dc9","unresolved":false,"context_lines":[{"line_number":168,"context_line":"    try:"},{"line_number":169,"context_line":"        oneview_client \u003d get_oneview_client()"},{"line_number":170,"context_line":""},{"line_number":171,"context_line":"        oneview_client.validate_node_server_profile_template(oneview_info)"},{"line_number":172,"context_line":"        oneview_client.validate_node_server_hardware_type(oneview_info)"},{"line_number":173,"context_line":"        oneview_client.validate_node_enclosure_group(oneview_info)"},{"line_number":174,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"5a8bc5a2_deceb859","line":171,"updated":"2016-09-22 18:28:26.000000000","message":"So we now do that no matter if the dynamic allocation is enabled? This needs to be mentioned in upgrade section in reno. Also this might be a breaking change...","commit_id":"3437f8c5673721c794d42aae532f3b273005ddd4"},{"author":{"_account_id":19072,"name":"Xavier","email":"marcusrafael@lsd.ufcg.edu.br","username":"marcusrafael"},"change_message_id":"640b03d662fd97536773a10db03681cfa758c9e8","unresolved":false,"context_lines":[{"line_number":168,"context_line":"    try:"},{"line_number":169,"context_line":"        oneview_client \u003d get_oneview_client()"},{"line_number":170,"context_line":""},{"line_number":171,"context_line":"        oneview_client.validate_node_server_profile_template(oneview_info)"},{"line_number":172,"context_line":"        oneview_client.validate_node_server_hardware_type(oneview_info)"},{"line_number":173,"context_line":"        oneview_client.validate_node_enclosure_group(oneview_info)"},{"line_number":174,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"5a8bc5a2_a4d8f254","line":171,"in_reply_to":"5a8bc5a2_deceb859","updated":"2016-09-22 23:10:39.000000000","message":"That was a misunderstand. Considering oneview drivers, every time we create a node we need to set the Server Profile Template in node\u0027s driver_info namespace. If we look to the base patch set we can see that this validation was been executed twice, on L178 and L186 of the base patch set. In this patch set we just put the that line as the first validation because still been needed to ensure the Server Profile Template exists in OneView, that for dynamic allocation model and pre-allocation model that is under deprecation. :)","commit_id":"3437f8c5673721c794d42aae532f3b273005ddd4"}],"ironic/drivers/modules/oneview/deploy.py":[{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"86e44a45b6501cda273d6ea960438af4eeeb1dc9","unresolved":false,"context_lines":[{"line_number":212,"context_line":"        deploy_utils.get_properties()"},{"line_number":213,"context_line":""},{"line_number":214,"context_line":"    def validate(self, task):"},{"line_number":215,"context_line":"        common.verify_node_info(task.node)"},{"line_number":216,"context_line":"        try:"},{"line_number":217,"context_line":"            common.validate_oneview_resources_compatibility(task)"},{"line_number":218,"context_line":"        except exception.OneViewError as oneview_exc:"}],"source_content_type":"text/x-python","patch_set":4,"id":"5a8bc5a2_7e0cc494","line":215,"updated":"2016-09-22 18:28:26.000000000","message":"Please add a super.validate call.","commit_id":"3437f8c5673721c794d42aae532f3b273005ddd4"},{"author":{"_account_id":19072,"name":"Xavier","email":"marcusrafael@lsd.ufcg.edu.br","username":"marcusrafael"},"change_message_id":"640b03d662fd97536773a10db03681cfa758c9e8","unresolved":false,"context_lines":[{"line_number":212,"context_line":"        deploy_utils.get_properties()"},{"line_number":213,"context_line":""},{"line_number":214,"context_line":"    def validate(self, task):"},{"line_number":215,"context_line":"        common.verify_node_info(task.node)"},{"line_number":216,"context_line":"        try:"},{"line_number":217,"context_line":"            common.validate_oneview_resources_compatibility(task)"},{"line_number":218,"context_line":"        except exception.OneViewError as oneview_exc:"}],"source_content_type":"text/x-python","patch_set":4,"id":"5a8bc5a2_44dc8e12","line":215,"in_reply_to":"5a8bc5a2_7e0cc494","updated":"2016-09-22 23:10:39.000000000","message":"Done","commit_id":"3437f8c5673721c794d42aae532f3b273005ddd4"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"86e44a45b6501cda273d6ea960438af4eeeb1dc9","unresolved":false,"context_lines":[{"line_number":248,"context_line":"    def get_properties(self):"},{"line_number":249,"context_line":"        deploy_utils.get_properties()"},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"    def validate(self, task):"},{"line_number":252,"context_line":"        common.verify_node_info(task.node)"},{"line_number":253,"context_line":"        try:"},{"line_number":254,"context_line":"            common.validate_oneview_resources_compatibility(task)"}],"source_content_type":"text/x-python","patch_set":4,"id":"5a8bc5a2_5e7e28e5","line":251,"updated":"2016-09-22 18:28:26.000000000","message":"ditto","commit_id":"3437f8c5673721c794d42aae532f3b273005ddd4"},{"author":{"_account_id":19072,"name":"Xavier","email":"marcusrafael@lsd.ufcg.edu.br","username":"marcusrafael"},"change_message_id":"640b03d662fd97536773a10db03681cfa758c9e8","unresolved":false,"context_lines":[{"line_number":248,"context_line":"    def get_properties(self):"},{"line_number":249,"context_line":"        deploy_utils.get_properties()"},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"    def validate(self, task):"},{"line_number":252,"context_line":"        common.verify_node_info(task.node)"},{"line_number":253,"context_line":"        try:"},{"line_number":254,"context_line":"            common.validate_oneview_resources_compatibility(task)"}],"source_content_type":"text/x-python","patch_set":4,"id":"5a8bc5a2_a409d297","line":251,"in_reply_to":"5a8bc5a2_5e7e28e5","updated":"2016-09-22 23:10:39.000000000","message":"Done","commit_id":"3437f8c5673721c794d42aae532f3b273005ddd4"}],"ironic/drivers/modules/oneview/deploy_utils.py":[{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"86e44a45b6501cda273d6ea960438af4eeeb1dc9","unresolved":false,"context_lines":[{"line_number":173,"context_line":"        # Check if Profile exists in Oneview and it is equals of the one"},{"line_number":174,"context_line":"        # applied by ironic"},{"line_number":175,"context_line":"        if (server_hardware.server_profile_uri not in (None, \u0027\u0027) and"},{"line_number":176,"context_line":"                applied_sp_uri \u003d\u003d server_hardware.server_profile_uri):"},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"            LOG.debug(_(\"Node %s is in use by ironic.\"), node.uuid)"},{"line_number":179,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"5a8bc5a2_b9d106fe","line":176,"range":{"start_line":176,"start_character":16,"end_line":176,"end_character":68},"updated":"2016-09-22 18:28:26.000000000","message":"These two predicates are essentially the same apart from this place and a couple of messages, might want to refactor them a bit more.","commit_id":"3437f8c5673721c794d42aae532f3b273005ddd4"},{"author":{"_account_id":19072,"name":"Xavier","email":"marcusrafael@lsd.ufcg.edu.br","username":"marcusrafael"},"change_message_id":"640b03d662fd97536773a10db03681cfa758c9e8","unresolved":false,"context_lines":[{"line_number":173,"context_line":"        # Check if Profile exists in Oneview and it is equals of the one"},{"line_number":174,"context_line":"        # applied by ironic"},{"line_number":175,"context_line":"        if (server_hardware.server_profile_uri not in (None, \u0027\u0027) and"},{"line_number":176,"context_line":"                applied_sp_uri \u003d\u003d server_hardware.server_profile_uri):"},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"            LOG.debug(_(\"Node %s is in use by ironic.\"), node.uuid)"},{"line_number":179,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"5a8bc5a2_7b5e88ea","line":176,"range":{"start_line":176,"start_character":16,"end_line":176,"end_character":68},"in_reply_to":"5a8bc5a2_b9d106fe","updated":"2016-09-22 23:10:39.000000000","message":"Done","commit_id":"3437f8c5673721c794d42aae532f3b273005ddd4"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"6acba767e9ad9860773c5b2197b6632f9c4e259d","unresolved":false,"context_lines":[{"line_number":167,"context_line":"        # Check if Profile exists in Oneview and it is equals of the one"},{"line_number":168,"context_line":"        # applied by ironic"},{"line_number":169,"context_line":"        return (server_hardware.server_profile_uri not in (None, \u0027\u0027) and"},{"line_number":170,"context_line":"                applied_sp_uri \u003d\u003d server_hardware.server_profile_uri)"},{"line_number":171,"context_line":""},{"line_number":172,"context_line":"    return _check_applied_server_profile(node, predicate, positive, negative)"},{"line_number":173,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"3a98d1f4_71f8907d","line":170,"range":{"start_line":170,"start_character":31,"end_line":170,"end_character":34},"updated":"2016-09-28 16:36:44.000000000","message":"This operator is the only difference between is_node_in_use_by_{ironic, oneview} functions. Perhaps we could reuse most of it\u0027s code ?\n\n import operator\n\n def _is_node_in_use(node, by_oneview\u003dFalse):\n     \"\"\" ... \"\"\"\n     op \u003d operator.ne if by_oneview else operator.eq\n     return (... and op(applied_sp_uri, server_hardware.server_profile_uri))","commit_id":"1a3c2ef4ff49a8cbc9b09a520e1f94fb8551b45f"},{"author":{"_account_id":19072,"name":"Xavier","email":"marcusrafael@lsd.ufcg.edu.br","username":"marcusrafael"},"change_message_id":"b30f415f25c47d17a7265ffd15694678e85c4426","unresolved":false,"context_lines":[{"line_number":167,"context_line":"        # Check if Profile exists in Oneview and it is equals of the one"},{"line_number":168,"context_line":"        # applied by ironic"},{"line_number":169,"context_line":"        return (server_hardware.server_profile_uri not in (None, \u0027\u0027) and"},{"line_number":170,"context_line":"                applied_sp_uri \u003d\u003d server_hardware.server_profile_uri)"},{"line_number":171,"context_line":""},{"line_number":172,"context_line":"    return _check_applied_server_profile(node, predicate, positive, negative)"},{"line_number":173,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"3a98d1f4_2f8e9178","line":170,"range":{"start_line":170,"start_character":31,"end_line":170,"end_character":34},"in_reply_to":"3a98d1f4_71f8907d","updated":"2016-09-28 23:51:48.000000000","message":"Done","commit_id":"1a3c2ef4ff49a8cbc9b09a520e1f94fb8551b45f"}],"ironic/drivers/modules/oneview/inspect.py":[{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"86e44a45b6501cda273d6ea960438af4eeeb1dc9","unresolved":false,"context_lines":[{"line_number":65,"context_line":"        deploy_utils.allocate_server_hardware_to_ironic("},{"line_number":66,"context_line":"            task.node, profile_name"},{"line_number":67,"context_line":"        )"},{"line_number":68,"context_line":"        super(OneViewInspect, self).inspect_hardware(task)"},{"line_number":69,"context_line":"        return states.INSPECTING"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"    @periodics.periodic(spacing\u003dCONF.inspector.status_check_period,"}],"source_content_type":"text/x-python","patch_set":4,"id":"5a8bc5a2_74ab058a","line":68,"updated":"2016-09-22 18:28:26.000000000","message":"return this instead of states.INSPECTING.","commit_id":"3437f8c5673721c794d42aae532f3b273005ddd4"},{"author":{"_account_id":19072,"name":"Xavier","email":"marcusrafael@lsd.ufcg.edu.br","username":"marcusrafael"},"change_message_id":"640b03d662fd97536773a10db03681cfa758c9e8","unresolved":false,"context_lines":[{"line_number":65,"context_line":"        deploy_utils.allocate_server_hardware_to_ironic("},{"line_number":66,"context_line":"            task.node, profile_name"},{"line_number":67,"context_line":"        )"},{"line_number":68,"context_line":"        super(OneViewInspect, self).inspect_hardware(task)"},{"line_number":69,"context_line":"        return states.INSPECTING"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"    @periodics.periodic(spacing\u003dCONF.inspector.status_check_period,"}],"source_content_type":"text/x-python","patch_set":4,"id":"5a8bc5a2_a9a60bbf","line":68,"in_reply_to":"5a8bc5a2_74ab058a","updated":"2016-09-22 23:10:39.000000000","message":"Done","commit_id":"3437f8c5673721c794d42aae532f3b273005ddd4"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"86e44a45b6501cda273d6ea960438af4eeeb1dc9","unresolved":false,"context_lines":[{"line_number":88,"context_line":""},{"line_number":89,"context_line":"    def _check_status(self, task):"},{"line_number":90,"context_line":"        state_before \u003d task.node.provision_state"},{"line_number":91,"context_line":"        result \u003d inspector._check_status(task)"},{"line_number":92,"context_line":"        state_after \u003d task.node.provision_state"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"        # inspection finished"}],"source_content_type":"text/x-python","patch_set":4,"id":"5a8bc5a2_34041d7d","line":91,"updated":"2016-09-22 18:28:26.000000000","message":"Hm, I don\u0027t quite like it, but don\u0027t know a better way right now, let\u0027s see what Dmitry thinks :)","commit_id":"3437f8c5673721c794d42aae532f3b273005ddd4"},{"author":{"_account_id":19072,"name":"Xavier","email":"marcusrafael@lsd.ufcg.edu.br","username":"marcusrafael"},"change_message_id":"640b03d662fd97536773a10db03681cfa758c9e8","unresolved":false,"context_lines":[{"line_number":88,"context_line":""},{"line_number":89,"context_line":"    def _check_status(self, task):"},{"line_number":90,"context_line":"        state_before \u003d task.node.provision_state"},{"line_number":91,"context_line":"        result \u003d inspector._check_status(task)"},{"line_number":92,"context_line":"        state_after \u003d task.node.provision_state"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"        # inspection finished"}],"source_content_type":"text/x-python","patch_set":4,"id":"5a8bc5a2_4994a7e1","line":91,"in_reply_to":"5a8bc5a2_34041d7d","updated":"2016-09-22 23:10:39.000000000","message":"Ok, vdrok! Let\u0027s see if Dmitry has a better solution.","commit_id":"3437f8c5673721c794d42aae532f3b273005ddd4"}],"releasenotes/notes/oneview-inspection-interface-c2d6902bbeca0501.yaml":[{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"6acba767e9ad9860773c5b2197b6632f9c4e259d","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":6,"id":"3a98d1f4_515d54e8","line":4,"updated":"2016-09-28 16:36:44.000000000","message":"We need a \"upgrade\" session here mentioning that the minimum version of the python-oveviewclient was bumped to \u003e\u003d2.5.1 which is required for this feature. For example:\n\nupgrade:\n  - Minimum required version of python-oneviewclient bumped to 2.5.1","commit_id":"1a3c2ef4ff49a8cbc9b09a520e1f94fb8551b45f"},{"author":{"_account_id":19072,"name":"Xavier","email":"marcusrafael@lsd.ufcg.edu.br","username":"marcusrafael"},"change_message_id":"b30f415f25c47d17a7265ffd15694678e85c4426","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":6,"id":"3a98d1f4_cf960d94","line":4,"in_reply_to":"3a98d1f4_515d54e8","updated":"2016-09-28 23:51:48.000000000","message":"Done","commit_id":"1a3c2ef4ff49a8cbc9b09a520e1f94fb8551b45f"}]}
