)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":5805,"name":"Chris Krelle","email":"nobodycam@gmail.com","username":"nobodycam"},"change_message_id":"7265203be5a6b7ea7a36f25dd723d702e2eb178d","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Check duplicate nodes in node verifying process"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This patch is intended to check duplicate nodes enrollment."},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Change-Id: I6d5139a7fff7e1b96afaa6636bf461d49bc9c08d"},{"line_number":12,"context_line":"Closes-Bug: #1549664"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"ba0121b8_c2756c64","line":10,"updated":"2016-03-31 21:51:53.000000000","message":"we should depend on the spec here: https://review.openstack.org/#/c/296357","commit_id":"37300bef9cc10aadcdf109e48a70bcdbc233c448"}],"ironic/conductor/manager.py":[{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"331cc3800f165d35efc5f49359bd8b475e2acc73","unresolved":false,"context_lines":[{"line_number":1074,"context_line":"                         {\u0027node\u0027: node.uuid, \u0027msg\u0027: e})"},{"line_number":1075,"context_line":""},{"line_number":1076,"context_line":"        if error is None:"},{"line_number":1077,"context_line":"            check_properties \u003d task.driver.power.get_distinct_properties()"},{"line_number":1078,"context_line":"            columns \u003d [\u0027uuid\u0027, \u0027driver_info\u0027]"},{"line_number":1079,"context_line":"            node_iter \u003d self.dbapi.get_nodeinfo_list("},{"line_number":1080,"context_line":"                columns\u003dcolumns,"}],"source_content_type":"text/x-python","patch_set":1,"id":"da0c15f0_89eae00d","line":1077,"updated":"2016-03-28 12:16:24.000000000","message":"Wouldn\u0027t this be a compatibility break for out of tree drivers?","commit_id":"7aa40f2ab0461b6a1fbf81673417a48677e8d7a8"},{"author":{"_account_id":13362,"name":"Tan Lin","email":"lin.tan@intel.com","username":"zero"},"change_message_id":"f1822ac4d00ee4be914870d5dfb10a93d1f0d81e","unresolved":false,"context_lines":[{"line_number":1074,"context_line":"                         {\u0027node\u0027: node.uuid, \u0027msg\u0027: e})"},{"line_number":1075,"context_line":""},{"line_number":1076,"context_line":"        if error is None:"},{"line_number":1077,"context_line":"            check_properties \u003d task.driver.power.get_distinct_properties()"},{"line_number":1078,"context_line":"            columns \u003d [\u0027uuid\u0027, \u0027driver_info\u0027]"},{"line_number":1079,"context_line":"            node_iter \u003d self.dbapi.get_nodeinfo_list("},{"line_number":1080,"context_line":"                columns\u003dcolumns,"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba0121b8_91cb7972","line":1077,"in_reply_to":"da0c15f0_89eae00d","updated":"2016-03-29 03:17:14.000000000","message":"Agree","commit_id":"7aa40f2ab0461b6a1fbf81673417a48677e8d7a8"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"331cc3800f165d35efc5f49359bd8b475e2acc73","unresolved":false,"context_lines":[{"line_number":1076,"context_line":"        if error is None:"},{"line_number":1077,"context_line":"            check_properties \u003d task.driver.power.get_distinct_properties()"},{"line_number":1078,"context_line":"            columns \u003d [\u0027uuid\u0027, \u0027driver_info\u0027]"},{"line_number":1079,"context_line":"            node_iter \u003d self.dbapi.get_nodeinfo_list("},{"line_number":1080,"context_line":"                columns\u003dcolumns,"},{"line_number":1081,"context_line":"                filters\u003d{\u0027driver\u0027: node.driver})"},{"line_number":1082,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"da0c15f0_692aec7f","line":1079,"updated":"2016-03-28 12:16:24.000000000","message":"I\u0027m a little concerned about pulling a list of nodes back if there are say... 10000 nodes in operation.  That could potentially make this become time consuming.  Would there be any way for the database to attempt to perform a first level identification of likely suspect nodes?","commit_id":"7aa40f2ab0461b6a1fbf81673417a48677e8d7a8"},{"author":{"_account_id":13362,"name":"Tan Lin","email":"lin.tan@intel.com","username":"zero"},"change_message_id":"f1822ac4d00ee4be914870d5dfb10a93d1f0d81e","unresolved":false,"context_lines":[{"line_number":1078,"context_line":"            columns \u003d [\u0027uuid\u0027, \u0027driver_info\u0027]"},{"line_number":1079,"context_line":"            node_iter \u003d self.dbapi.get_nodeinfo_list("},{"line_number":1080,"context_line":"                columns\u003dcolumns,"},{"line_number":1081,"context_line":"                filters\u003d{\u0027driver\u0027: node.driver})"},{"line_number":1082,"context_line":""},{"line_number":1083,"context_line":"            for (node_uuid, driver_info) in node_iter:"},{"line_number":1084,"context_line":"                if node_uuid \u003d\u003d node.uuid:"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba0121b8_11a649c1","line":1081,"updated":"2016-03-29 03:17:14.000000000","message":"We should not directly use dbapi anymore, I add this to node object in https://review.openstack.org/#/c/290313/","commit_id":"7aa40f2ab0461b6a1fbf81673417a48677e8d7a8"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"331cc3800f165d35efc5f49359bd8b475e2acc73","unresolved":false,"context_lines":[{"line_number":1090,"context_line":"                shared_properties \u003d [key for (key, value) in shared_items"},{"line_number":1091,"context_line":"                                     if key in check_properties]"},{"line_number":1092,"context_line":""},{"line_number":1093,"context_line":"                if len(shared_properties) \u003d\u003d len(check_properties):"},{"line_number":1094,"context_line":"                    error \u003d (_(\u0027The new enrolled node %(node_new)s is \u0027"},{"line_number":1095,"context_line":"                               \u0027duplicate with node %(node_exist)s\u0027) %"},{"line_number":1096,"context_line":"                             {\u0027node_new\u0027: node.uuid, \u0027node_exist\u0027: node_uuid})"}],"source_content_type":"text/x-python","patch_set":1,"id":"da0c15f0_c9597800","line":1093,"range":{"start_line":1093,"start_character":22,"end_line":1093,"end_character":23},"updated":"2016-03-28 12:16:24.000000000","message":"I\u0027m not sure length is the right comparison to make here, however I would need unit tests to fully your intention behind this feature.","commit_id":"7aa40f2ab0461b6a1fbf81673417a48677e8d7a8"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"331cc3800f165d35efc5f49359bd8b475e2acc73","unresolved":false,"context_lines":[{"line_number":1094,"context_line":"                    error \u003d (_(\u0027The new enrolled node %(node_new)s is \u0027"},{"line_number":1095,"context_line":"                               \u0027duplicate with node %(node_exist)s\u0027) %"},{"line_number":1096,"context_line":"                             {\u0027node_new\u0027: node.uuid, \u0027node_exist\u0027: node_uuid})"},{"line_number":1097,"context_line":""},{"line_number":1098,"context_line":"        if error is None:"},{"line_number":1099,"context_line":"            node.power_state \u003d power_state"},{"line_number":1100,"context_line":"            task.process_event(\u0027done\u0027)"}],"source_content_type":"text/x-python","patch_set":1,"id":"da0c15f0_2655c31c","line":1097,"updated":"2016-03-28 12:16:24.000000000","message":"This change requires new unit tests to be added in ironic/tests/unit/conductor/test_manager.py","commit_id":"7aa40f2ab0461b6a1fbf81673417a48677e8d7a8"}],"ironic/drivers/base.py":[{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"7e231fd1b11a00f6eaafdfb13a8fb01ec58b507e","unresolved":false,"context_lines":[{"line_number":471,"context_line":"        :returns: dictionary of \u003cproperty name\u003e:\u003cproperty description\u003e entries."},{"line_number":472,"context_line":"        \"\"\""},{"line_number":473,"context_line":""},{"line_number":474,"context_line":"    @abc.abstractmethod"},{"line_number":475,"context_line":"    def get_distinct_properties(self):"},{"line_number":476,"context_line":"        \"\"\"Return the distinct properties of the interface."},{"line_number":477,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"ba0121b8_471e6a0c","line":474,"updated":"2016-04-01 14:41:01.000000000","message":"In order to maintain backwards compatibility for out of tree drivers, I think that we should not make this an abstract method but a normal method that returns either None or an empty list.","commit_id":"37300bef9cc10aadcdf109e48a70bcdbc233c448"}]}
