)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6610,"name":"Zhenguo Niu","email":"Niu.ZGlinux@gmail.com","username":"niu-zglinux"},"change_message_id":"7a47ce8c973dade0133719b094a7e317bbd302f9","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Update resources only for specific instance."},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"At the moment during Ironic instance termination resources are"},{"line_number":10,"context_line":"updated for all nodes. As result with high numner of nodes, removing N"},{"line_number":11,"context_line":"instances initiates N x M requests, where M is the total number of nodes."},{"line_number":12,"context_line":"This commit allows to update resources per specific node on termination."},{"line_number":13,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":7,"id":"fa0719c6_30be8065","line":10,"range":{"start_line":10,"start_character":43,"end_line":10,"end_character":49},"updated":"2016-03-23 07:02:35.000000000","message":"nit: s/numner/number","commit_id":"c6b34430267e0298f52944507e61e726e180c538"}],"ironic/nova/compute/manager.py":[{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"b72715c531e51e3fcac1aaa9d7c6373b32aef1eb","unresolved":false,"context_lines":[{"line_number":102,"context_line":"                                                                instance,"},{"line_number":103,"context_line":"                                                                bdms,"},{"line_number":104,"context_line":"                                                                reservations)"},{"line_number":105,"context_line":"        self._update_resources(instance.uuid)"}],"source_content_type":"text/x-python","patch_set":3,"id":"7af24918_12a6c3ad","line":105,"updated":"2016-03-03 09:30:22.000000000","message":"Ironic node uuid is needed here, not instance.uuid. https://github.com/openstack/nova/blob/master/nova/compute/manager.py#L6375-L6379 https://github.com/openstack/nova/blob/master/nova/virt/ironic/driver.py#L551-L552","commit_id":"f209847ae3c7b62f251bf3f291f8f69e1e043286"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"b72f744c76de93a833dbcffd7b5f4301869e83ec","unresolved":false,"context_lines":[{"line_number":102,"context_line":"                                                                instance,"},{"line_number":103,"context_line":"                                                                bdms,"},{"line_number":104,"context_line":"                                                                reservations)"},{"line_number":105,"context_line":"        self._update_resources(instance.uuid)"}],"source_content_type":"text/x-python","patch_set":3,"id":"7af24918_7be0bf96","line":105,"in_reply_to":"7af24918_12a6c3ad","updated":"2016-03-03 11:02:37.000000000","message":"++ also the method is called update_available_resource_for_node in the dependent patch.","commit_id":"f209847ae3c7b62f251bf3f291f8f69e1e043286"},{"author":{"_account_id":6610,"name":"Zhenguo Niu","email":"Niu.ZGlinux@gmail.com","username":"niu-zglinux"},"change_message_id":"7a47ce8c973dade0133719b094a7e317bbd302f9","unresolved":false,"context_lines":[{"line_number":82,"context_line":""},{"line_number":83,"context_line":"    @lockutils.synchronized(CCM_SEMAPHORE, \u0027ironic-\u0027)"},{"line_number":84,"context_line":"    def _update_resources(self, node_uuid):"},{"line_number":85,"context_line":"        \"\"\"Update our resources for instance"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"        Updates the resources for instance while protecting against a race on"},{"line_number":88,"context_line":"        self._resource_tracker_dict."}],"source_content_type":"text/x-python","patch_set":7,"id":"fa0719c6_7058f88a","line":85,"range":{"start_line":85,"start_character":32,"end_line":85,"end_character":44},"updated":"2016-03-23 07:02:35.000000000","message":"how about changing this to \"Update the specified node resource\", \u0027instance\u0027 seems confusing here.","commit_id":"c6b34430267e0298f52944507e61e726e180c538"},{"author":{"_account_id":5805,"name":"Chris Krelle","email":"nobodycam@gmail.com","username":"nobodycam"},"change_message_id":"050ac29db51696d19d0d76e3cceb69c6d8f3b1e9","unresolved":false,"context_lines":[{"line_number":102,"context_line":"                                                                instance,"},{"line_number":103,"context_line":"                                                                bdms,"},{"line_number":104,"context_line":"                                                                reservations)"},{"line_number":105,"context_line":"        self._update_resources(instance.node)"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa0719c6_60195488","line":105,"range":{"start_line":105,"start_character":31,"end_line":105,"end_character":44},"updated":"2016-03-22 21:21:29.000000000","message":"should this be instance.uuid here?","commit_id":"c6b34430267e0298f52944507e61e726e180c538"},{"author":{"_account_id":6610,"name":"Zhenguo Niu","email":"Niu.ZGlinux@gmail.com","username":"niu-zglinux"},"change_message_id":"7a47ce8c973dade0133719b094a7e317bbd302f9","unresolved":false,"context_lines":[{"line_number":102,"context_line":"                                                                instance,"},{"line_number":103,"context_line":"                                                                bdms,"},{"line_number":104,"context_line":"                                                                reservations)"},{"line_number":105,"context_line":"        self._update_resources(instance.node)"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa0719c6_0d0b658f","line":105,"range":{"start_line":105,"start_character":31,"end_line":105,"end_character":44},"in_reply_to":"fa0719c6_60195488","updated":"2016-03-23 07:02:35.000000000","message":"per the depends-on nova patch, it\u0027s the node uuid, so should be instance.node.","commit_id":"c6b34430267e0298f52944507e61e726e180c538"},{"author":{"_account_id":13362,"name":"Tan Lin","email":"lin.tan@intel.com","username":"zero"},"change_message_id":"7b62d196691283d15f6da0cb67744e0d18756cc9","unresolved":false,"context_lines":[{"line_number":89,"context_line":"        :param node_uuid: UUID of the Ironic node to update resources for."},{"line_number":90,"context_line":"        \"\"\""},{"line_number":91,"context_line":"        self.update_available_resource_for_node("},{"line_number":92,"context_line":"            nova.context.get_admin_context(), node_uuid)"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"    def terminate_instance(self, context, instance, bdms, reservations):"},{"line_number":95,"context_line":"        \"\"\"Terminate an instance on a node."}],"source_content_type":"text/x-python","patch_set":8,"id":"da0c15f0_1c466323","line":92,"range":{"start_line":92,"start_character":46,"end_line":92,"end_character":55},"updated":"2016-03-25 03:52:48.000000000","message":"I am so confused about the nodename in nova patch but I see ironic driver only return node uuids, so LGTM","commit_id":"4e93c8d5dfde701cebee430b1d1ad398acfae4f6"}],"releasenotes/notes/node-deletion-update-resources-53862e48ab658f77.yaml":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"b5f6f2b08b63938b8d8bbdae443729dbe10155ab","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - Update resources for specific node only"},{"line_number":4,"context_line":"    during instance terminantion."}],"source_content_type":"text/x-yaml","patch_set":10,"id":"1a122d0e_9df70c8c","line":4,"updated":"2016-04-21 21:25:16.000000000","message":"This change is specifically related to nova, so I think it should be mentioned.","commit_id":"3604da05bbb982c4109dd470887b91f2d3a97498"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"b01ba2df87034e8580ff3fbdb2a90bb09fb5fb63","unresolved":false,"context_lines":[{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - Fixed performance issue for \u0027ironic.nova.compute.ClusteredComputeManager\u0027"},{"line_number":4,"context_line":"    when during Nova instance termination resources were updated for all"},{"line_number":5,"context_line":"    Nova hypervisors."}],"source_content_type":"text/x-yaml","patch_set":12,"id":"1a122d0e_333b56ca","line":5,"updated":"2016-05-03 22:31:24.000000000","message":"Hmm. We had discussed that these relnos don\u0027t have to be perfect so I\u0027ll just comment and if you end up doing another revision, maybe update.\n\nThis doesn\u0027t mention the actual change.  Maybe something like s/ when during ... hypervisors./. Instead of nova updating resources of all nodes, it only updates the resources of the terminated instance\u0027s node./","commit_id":"16d8819891c4bef58760c62c30aa2b68868087b9"}]}
