)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"9cd441b07610141bfe5b0a0d3822f775013f201c","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"a83f151b_e62d6179","updated":"2026-11-14 04:22:18.000000000","message":"This might be another issue; I need to dig more, but from pci_device cleanup I do not find any issue. Commented on other change https://review.opendev.org/c/openstack/nova/+/1006003/comments/18615082_049efc89 \n\nAlso, reproducing that pci_devieces are cleaned up correctly for cold migratiohn fail https://review.opendev.org/c/openstack/nova/+/1015683\n\nCan you add a reproducer to show which scenario actually does not clean up the pci_devices and this fix cover that scenario/code path?","commit_id":"6ba0b272262da64b5e036ceeb5bae1cdc96b51b2"},{"author":{"_account_id":22443,"name":"Mike Lowe","email":"jomlowe@iu.edu","username":"jomlowe"},"change_message_id":"7cc956cfb73ea17227f815355bdb7dad9ef351fc","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"9598a550_c0c41a86","updated":"2026-07-17 17:40:17.000000000","message":"recheck public endpoint for block-storage service in RegionOne region not found","commit_id":"6ba0b272262da64b5e036ceeb5bae1cdc96b51b2"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"6952358f579fa1d914b18606d42d982167a0196f","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"1588e506_4dcbe9c2","updated":"2026-11-29 21:59:06.000000000","message":"recheck nova-next post failure","commit_id":"81ab82e2477cb3fbee02c3c8f5fedb2c7ea08ed8"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"6d77ebf4409e567e6533ac460a12f780397c25f3","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"6a1aac91_9935370e","updated":"2026-11-25 00:47:55.000000000","message":"thanks, lgtm","commit_id":"81ab82e2477cb3fbee02c3c8f5fedb2c7ea08ed8"}],"nova/compute/claims.py":[{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"1cfce39f73a627ed58c996dd2aca90fb11d4731c","unresolved":true,"context_lines":[{"line_number":62,"context_line":"        migration\u003dNone, limits\u003dNone,"},{"line_number":63,"context_line":"    ):"},{"line_number":64,"context_line":"        super().__init__(migration\u003dmigration)"},{"line_number":65,"context_line":"        # Stash a copy of the instance at the current point of time"},{"line_number":66,"context_line":"        self.instance \u003d instance.obj_clone()"},{"line_number":67,"context_line":"        self.instance_ref \u003d instance"},{"line_number":68,"context_line":"        self.nodename \u003d nodename"},{"line_number":69,"context_line":"        self.tracker \u003d tracker"}],"source_content_type":"text/x-python","patch_set":2,"id":"429fc77e_8462bec3","line":66,"range":{"start_line":65,"start_character":0,"end_line":66,"end_character":44},"updated":"2026-11-16 19:51:25.000000000","message":"Honestly, I almost spent 3-4 hrs understanding how claims work for PCI devices and other resources, but I couldn\u0027t figure out why we need to create a copy of the instance here, which has created bugs (at least two, now one). \n\n- I checked the discussion on https://review.opendev.org/c/openstack/nova/+/926407/5/nova/compute/claims.py change but could not find answers\n\n- I tried to trace the code and initially thought we might have added it because we want to use the instance cope in _claim_test() instead of testing on \u0027instance\u0027 which is being changed over th time but _claim_test() is a sync operation in this __init__ only so no difference between original instance vs copy of it.\n\n\nI feel we should just remove the copy of the instance and see if anything fails or creates the issue? Because after this change, self.instance is only used in  two places: \n\n1. logging\n2. _test_live_migration_page_size() which is run as part of self._claim_test() in this method as sync call so no differnece of original instance and its copy.\n\nBasically:\n\n1. either we can remove the copy in this fix as it is hardly used anywhere it matters \n2. fix the abort only and keep copy in case we are not sure if removing the copy can cause any issue?\n\nI just started learning about pci devices so not an expert, maybe we can get @gibizer@gmail.com opinion on this.\n\nif we want to go with 2nd option then I am +2 on this fix, till then -1 for visibility","commit_id":"bc58c7a6ac17f1ea84f0b2f0b6eaa6235fc69cd6"},{"author":{"_account_id":22443,"name":"Mike Lowe","email":"jomlowe@iu.edu","username":"jomlowe"},"change_message_id":"43dc3afee75a1b56c7f0d482101bc15374d2cec4","unresolved":false,"context_lines":[{"line_number":63,"context_line":"    ):"},{"line_number":64,"context_line":"        super().__init__(migration\u003dmigration)"},{"line_number":65,"context_line":"        # Stash a copy of the instance at the current point of time"},{"line_number":66,"context_line":"        self.instance \u003d instance.obj_clone()"},{"line_number":67,"context_line":"        self.instance_ref \u003d instance"},{"line_number":68,"context_line":"        self.nodename \u003d nodename"},{"line_number":69,"context_line":"        self.tracker \u003d tracker"}],"source_content_type":"text/x-python","patch_set":2,"id":"f298315b_92c58681","line":66,"in_reply_to":"429fc77e_8462bec3","updated":"2026-11-17 20:05:30.000000000","message":"Went with option 2 in PS3: abort() now works against instance_ref and the copy is kept. I\u0027ll remove the obj_clone() in a follow-up so this fix stays small and backportable.","commit_id":"bc58c7a6ac17f1ea84f0b2f0b6eaa6235fc69cd6"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"1cfce39f73a627ed58c996dd2aca90fb11d4731c","unresolved":true,"context_lines":[{"line_number":82,"context_line":"        \"\"\"Compute operation requiring claimed resources has failed or"},{"line_number":83,"context_line":"        been aborted."},{"line_number":84,"context_line":"        \"\"\""},{"line_number":85,"context_line":"        LOG.debug(\"Aborting claim: %s\", self, instance\u003dself.instance)"},{"line_number":86,"context_line":"        self.tracker.abort_instance_claim(self.context, self.instance_ref,"},{"line_number":87,"context_line":"                                          self.nodename)"},{"line_number":88,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"30095912_5a8f8003","line":85,"range":{"start_line":85,"start_character":55,"end_line":85,"end_character":68},"updated":"2026-11-16 19:51:25.000000000","message":"this might have left when we fixed this abort(), can you fix this logging also to use self.instance_ref","commit_id":"bc58c7a6ac17f1ea84f0b2f0b6eaa6235fc69cd6"},{"author":{"_account_id":22443,"name":"Mike Lowe","email":"jomlowe@iu.edu","username":"jomlowe"},"change_message_id":"43dc3afee75a1b56c7f0d482101bc15374d2cec4","unresolved":false,"context_lines":[{"line_number":82,"context_line":"        \"\"\"Compute operation requiring claimed resources has failed or"},{"line_number":83,"context_line":"        been aborted."},{"line_number":84,"context_line":"        \"\"\""},{"line_number":85,"context_line":"        LOG.debug(\"Aborting claim: %s\", self, instance\u003dself.instance)"},{"line_number":86,"context_line":"        self.tracker.abort_instance_claim(self.context, self.instance_ref,"},{"line_number":87,"context_line":"                                          self.nodename)"},{"line_number":88,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"7bb3e360_7e8a3225","line":85,"in_reply_to":"30095912_5a8f8003","updated":"2026-11-17 20:05:30.000000000","message":"Done","commit_id":"bc58c7a6ac17f1ea84f0b2f0b6eaa6235fc69cd6"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"1cfce39f73a627ed58c996dd2aca90fb11d4731c","unresolved":true,"context_lines":[{"line_number":197,"context_line":"        \"\"\"Compute operation requiring claimed resources has failed or"},{"line_number":198,"context_line":"        been aborted."},{"line_number":199,"context_line":"        \"\"\""},{"line_number":200,"context_line":"        LOG.debug(\"Aborting claim: %s\", self, instance\u003dself.instance)"},{"line_number":201,"context_line":"        self.tracker.drop_move_claim("},{"line_number":202,"context_line":"            self.context,"},{"line_number":203,"context_line":"            self.instance_ref, self.nodename,"}],"source_content_type":"text/x-python","patch_set":2,"id":"662baee4_dbf93996","line":200,"range":{"start_line":200,"start_character":55,"end_line":200,"end_character":68},"updated":"2026-11-16 19:51:25.000000000","message":"ditto. self.instance_ref","commit_id":"bc58c7a6ac17f1ea84f0b2f0b6eaa6235fc69cd6"},{"author":{"_account_id":22443,"name":"Mike Lowe","email":"jomlowe@iu.edu","username":"jomlowe"},"change_message_id":"43dc3afee75a1b56c7f0d482101bc15374d2cec4","unresolved":false,"context_lines":[{"line_number":197,"context_line":"        \"\"\"Compute operation requiring claimed resources has failed or"},{"line_number":198,"context_line":"        been aborted."},{"line_number":199,"context_line":"        \"\"\""},{"line_number":200,"context_line":"        LOG.debug(\"Aborting claim: %s\", self, instance\u003dself.instance)"},{"line_number":201,"context_line":"        self.tracker.drop_move_claim("},{"line_number":202,"context_line":"            self.context,"},{"line_number":203,"context_line":"            self.instance_ref, self.nodename,"}],"source_content_type":"text/x-python","patch_set":2,"id":"1ea5a68f_2a8b2e26","line":200,"in_reply_to":"662baee4_dbf93996","updated":"2026-11-17 20:05:30.000000000","message":"Done","commit_id":"bc58c7a6ac17f1ea84f0b2f0b6eaa6235fc69cd6"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"7a2673ce0c6f2ac95c2e10d17a33765a9a5dbeb5","unresolved":true,"context_lines":[{"line_number":83,"context_line":"        been aborted."},{"line_number":84,"context_line":"        \"\"\""},{"line_number":85,"context_line":"        LOG.debug(\"Aborting claim: %s\", self, instance\u003dself.instance_ref)"},{"line_number":86,"context_line":"        self.tracker.abort_instance_claim(self.context, self.instance_ref,"},{"line_number":87,"context_line":"                                          self.nodename)"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"    def _claim_test(self, compute_node, limits\u003dNone):"}],"source_content_type":"text/x-python","patch_set":3,"id":"50a07a08_b4f83ddd","line":86,"range":{"start_line":86,"start_character":61,"end_line":86,"end_character":73},"updated":"2026-11-23 13:32:17.000000000","message":"ok so the normaly instnace claim abort which was used for inital spawn was already using the ref","commit_id":"81ab82e2477cb3fbee02c3c8f5fedb2c7ea08ed8"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"6d77ebf4409e567e6533ac460a12f780397c25f3","unresolved":false,"context_lines":[{"line_number":83,"context_line":"        been aborted."},{"line_number":84,"context_line":"        \"\"\""},{"line_number":85,"context_line":"        LOG.debug(\"Aborting claim: %s\", self, instance\u003dself.instance_ref)"},{"line_number":86,"context_line":"        self.tracker.abort_instance_claim(self.context, self.instance_ref,"},{"line_number":87,"context_line":"                                          self.nodename)"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"    def _claim_test(self, compute_node, limits\u003dNone):"}],"source_content_type":"text/x-python","patch_set":3,"id":"6842df71_f724dfe9","line":86,"range":{"start_line":86,"start_character":61,"end_line":86,"end_character":73},"in_reply_to":"50a07a08_b4f83ddd","updated":"2026-11-25 00:47:55.000000000","message":"yeah, somehow this was left alone. Now we should be able to remove the duplicate copy of instance at some point.","commit_id":"81ab82e2477cb3fbee02c3c8f5fedb2c7ea08ed8"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"7a2673ce0c6f2ac95c2e10d17a33765a9a5dbeb5","unresolved":true,"context_lines":[{"line_number":198,"context_line":"        been aborted."},{"line_number":199,"context_line":"        \"\"\""},{"line_number":200,"context_line":"        LOG.debug(\"Aborting claim: %s\", self, instance\u003dself.instance_ref)"},{"line_number":201,"context_line":"        self.tracker.drop_move_claim("},{"line_number":202,"context_line":"            self.context,"},{"line_number":203,"context_line":"            self.instance_ref, self.nodename,"},{"line_number":204,"context_line":"            flavor\u003dself.flavor)"},{"line_number":205,"context_line":"        self.instance_ref.drop_migration_context()"},{"line_number":206,"context_line":""},{"line_number":207,"context_line":"    def _test_live_migration_page_size(self):"},{"line_number":208,"context_line":"        \"\"\"Tests that the current page size and the requested page size are the"}],"source_content_type":"text/x-python","patch_set":3,"id":"5d83b576_b6a493c4","line":205,"range":{"start_line":201,"start_character":0,"end_line":205,"end_character":50},"updated":"2026-11-23 13:32:17.000000000","message":"and the fix is to make sure we also use the instnace_ref for abort for move opertions.","commit_id":"81ab82e2477cb3fbee02c3c8f5fedb2c7ea08ed8"},{"author":{"_account_id":22443,"name":"Mike Lowe","email":"jomlowe@iu.edu","username":"jomlowe"},"change_message_id":"40bddb2445dab2d7f25ccd6501a6e4032d7eb213","unresolved":false,"context_lines":[{"line_number":202,"context_line":"            self.context,"},{"line_number":203,"context_line":"            self.instance_ref, self.nodename,"},{"line_number":204,"context_line":"            flavor\u003dself.flavor)"},{"line_number":205,"context_line":"        self.instance_ref.drop_migration_context()"},{"line_number":206,"context_line":""},{"line_number":207,"context_line":"    def _test_live_migration_page_size(self):"},{"line_number":208,"context_line":"        \"\"\"Tests that the current page size and the requested page size are the"}],"source_content_type":"text/x-python","patch_set":3,"id":"273ee85d_a5ae0d55","line":205,"in_reply_to":"5d83b576_b6a493c4","updated":"2026-11-28 02:57:20.000000000","message":"Right. Claim.abort() for the initial spawn already freed PCI devices against instance_ref, and MoveClaim.abort() now does the same, so an aborted move claim releases the devices it actually claimed instead of a copy. I\u0027ll do the obj_clone() removal ghanshyam suggested as a separate follow-up so this fix stays small and backportable.","commit_id":"81ab82e2477cb3fbee02c3c8f5fedb2c7ea08ed8"}],"nova/pci/manager.py":[{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"1cfce39f73a627ed58c996dd2aca90fb11d4731c","unresolved":false,"context_lines":[{"line_number":378,"context_line":"                    instance[\u0027uuid\u0027], pci_dev, self.allocations)"},{"line_number":379,"context_line":"                self._remove_device_from_pci_mapping("},{"line_number":380,"context_line":"                    instance[\u0027uuid\u0027], pci_dev, self.claims)"},{"line_number":381,"context_line":"                self._free_device(pci_dev, instance)"},{"line_number":382,"context_line":"                break"},{"line_number":383,"context_line":""},{"line_number":384,"context_line":"    def _remove_device_from_pci_mapping("}],"source_content_type":"text/x-python","patch_set":2,"id":"df6b2c45_00760a18","line":381,"range":{"start_line":381,"start_character":51,"end_line":381,"end_character":52},"updated":"2026-11-16 19:51:25.000000000","message":"this make sense, not sure why we missed it in first place or in previous fix https://review.opendev.org/c/openstack/nova/+/926407","commit_id":"bc58c7a6ac17f1ea84f0b2f0b6eaa6235fc69cd6"}]}
