)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":27615,"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","username":"whoami-rajat"},"change_message_id":"352414d6aaa7503196d9c6733a01790700a10263","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"VNX: delete the LUN from VNX backend"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Async migration was used in the process of creating a volume from a"},{"line_number":10,"context_line":"snapshot and an internal temp snapshot was created for async migration."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Because the temp snapshot wasn\u0027t deleted, the LUN hosting the snapshot"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"5fc1f717_3ed8e77d","line":9,"range":{"start_line":9,"start_character":16,"end_line":9,"end_character":19},"updated":"2019-03-19 16:34:16.000000000","message":"is","commit_id":"dde9dce584e0225beead6998034a9d22a4df2f2e"},{"author":{"_account_id":27615,"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","username":"whoami-rajat"},"change_message_id":"352414d6aaa7503196d9c6733a01790700a10263","unresolved":false,"context_lines":[{"line_number":7,"context_line":"VNX: delete the LUN from VNX backend"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Async migration was used in the process of creating a volume from a"},{"line_number":10,"context_line":"snapshot and an internal temp snapshot was created for async migration."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Because the temp snapshot wasn\u0027t deleted, the LUN hosting the snapshot"},{"line_number":13,"context_line":"cannot be deleted from the VNX storage."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"5fc1f717_dee4433f","line":10,"range":{"start_line":10,"start_character":39,"end_line":10,"end_character":42},"updated":"2019-03-19 16:34:16.000000000","message":"is","commit_id":"dde9dce584e0225beead6998034a9d22a4df2f2e"},{"author":{"_account_id":27615,"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","username":"whoami-rajat"},"change_message_id":"352414d6aaa7503196d9c6733a01790700a10263","unresolved":false,"context_lines":[{"line_number":7,"context_line":"VNX: delete the LUN from VNX backend"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Async migration was used in the process of creating a volume from a"},{"line_number":10,"context_line":"snapshot and an internal temp snapshot was created for async migration."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Because the temp snapshot wasn\u0027t deleted, the LUN hosting the snapshot"},{"line_number":13,"context_line":"cannot be deleted from the VNX storage."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"5fc1f717_81a89cdb","line":10,"range":{"start_line":10,"start_character":51,"end_line":10,"end_character":70},"updated":"2019-03-19 16:34:16.000000000","message":"remove this","commit_id":"dde9dce584e0225beead6998034a9d22a4df2f2e"},{"author":{"_account_id":27615,"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","username":"whoami-rajat"},"change_message_id":"352414d6aaa7503196d9c6733a01790700a10263","unresolved":false,"context_lines":[{"line_number":9,"context_line":"Async migration was used in the process of creating a volume from a"},{"line_number":10,"context_line":"snapshot and an internal temp snapshot was created for async migration."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Because the temp snapshot wasn\u0027t deleted, the LUN hosting the snapshot"},{"line_number":13,"context_line":"cannot be deleted from the VNX storage."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"The fix makes sure the snapshot is deleted."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"5fc1f717_41aab4d2","line":12,"range":{"start_line":12,"start_character":26,"end_line":12,"end_character":32},"updated":"2019-03-19 16:34:16.000000000","message":"isn\u0027t","commit_id":"dde9dce584e0225beead6998034a9d22a4df2f2e"},{"author":{"_account_id":27615,"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","username":"whoami-rajat"},"change_message_id":"352414d6aaa7503196d9c6733a01790700a10263","unresolved":false,"context_lines":[{"line_number":12,"context_line":"Because the temp snapshot wasn\u0027t deleted, the LUN hosting the snapshot"},{"line_number":13,"context_line":"cannot be deleted from the VNX storage."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"The fix makes sure the snapshot is deleted."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Change-Id: Ib86729488ebfb0aea5d5d4f815a64e00258040e7"},{"line_number":18,"context_line":"Closes-bug: #1794646"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"5fc1f717_21dbe87d","line":15,"range":{"start_line":15,"start_character":23,"end_line":15,"end_character":31},"updated":"2019-03-19 16:34:16.000000000","message":"temp snapshot","commit_id":"dde9dce584e0225beead6998034a9d22a4df2f2e"},{"author":{"_account_id":27615,"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","username":"whoami-rajat"},"change_message_id":"352414d6aaa7503196d9c6733a01790700a10263","unresolved":false,"context_lines":[{"line_number":15,"context_line":"The fix makes sure the snapshot is deleted."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Change-Id: Ib86729488ebfb0aea5d5d4f815a64e00258040e7"},{"line_number":18,"context_line":"Closes-bug: #1794646"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"5fc1f717_1ec40b92","line":18,"range":{"start_line":18,"start_character":7,"end_line":18,"end_character":10},"updated":"2019-03-19 16:34:16.000000000","message":"Bug","commit_id":"dde9dce584e0225beead6998034a9d22a4df2f2e"}],"cinder/volume/drivers/dell_emc/vnx/adapter.py":[{"author":{"_account_id":27615,"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","username":"whoami-rajat"},"change_message_id":"8934749d3ec74e813bf0827b97ca62281da54583","unresolved":false,"context_lines":[{"line_number":801,"context_line":"            # for later deletion"},{"line_number":802,"context_line":"            self.client.delay_delete_lun(volume.name)"},{"line_number":803,"context_line":"        # Case 2. Migration already finished, try to delete the temp snap"},{"line_number":804,"context_line":"        # only when it\u0027s a cloned volume or created from snapshot."},{"line_number":805,"context_line":"        if async_migrate and (volume.source_volid or volume.snapshot_id):"},{"line_number":806,"context_line":"            self.client.delete_snapshot(utils.construct_snap_name(volume))"},{"line_number":807,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"3f79a3b5_7c12fbb5","line":804,"range":{"start_line":804,"start_character":10,"end_line":804,"end_character":15},"updated":"2018-10-04 08:54:23.000000000","message":"NIT: if you update PS then consider removing this.","commit_id":"0b0a57dc19123b4aabaf14165d1937e6970fa668"},{"author":{"_account_id":27615,"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","username":"whoami-rajat"},"change_message_id":"352414d6aaa7503196d9c6733a01790700a10263","unresolved":false,"context_lines":[{"line_number":801,"context_line":"            # for later deletion"},{"line_number":802,"context_line":"            self.client.delay_delete_lun(volume.name)"},{"line_number":803,"context_line":"        # Case 2. Migration already finished, try to delete the temp snap"},{"line_number":804,"context_line":"        # only when it\u0027s a cloned volume or created from snapshot."},{"line_number":805,"context_line":"        if async_migrate and (volume.source_volid or volume.snapshot_id):"},{"line_number":806,"context_line":"            self.client.delete_snapshot(utils.construct_snap_name(volume))"},{"line_number":807,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"5fc1f717_bbf38973","line":804,"range":{"start_line":804,"start_character":10,"end_line":804,"end_character":14},"updated":"2019-03-19 16:34:16.000000000","message":"remove this","commit_id":"dde9dce584e0225beead6998034a9d22a4df2f2e"},{"author":{"_account_id":27615,"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","username":"whoami-rajat"},"change_message_id":"352414d6aaa7503196d9c6733a01790700a10263","unresolved":false,"context_lines":[{"line_number":802,"context_line":"            self.client.delay_delete_lun(volume.name)"},{"line_number":803,"context_line":"        # Case 2. Migration already finished, try to delete the temp snap"},{"line_number":804,"context_line":"        # only when it\u0027s a cloned volume or created from snapshot."},{"line_number":805,"context_line":"        if async_migrate and (volume.source_volid or volume.snapshot_id):"},{"line_number":806,"context_line":"            self.client.delete_snapshot(utils.construct_snap_name(volume))"},{"line_number":807,"context_line":""},{"line_number":808,"context_line":"    def extend_volume(self, volume, new_size):"}],"source_content_type":"text/x-python","patch_set":4,"id":"5fc1f717_61825003","line":805,"range":{"start_line":805,"start_character":50,"end_line":805,"end_character":71},"updated":"2019-03-19 16:34:16.000000000","message":"IIUC the LUN(volume) failed to delete since it had a temp snap,\nshouldn\u0027t we delete the temp snap before deleting the LUN?","commit_id":"dde9dce584e0225beead6998034a9d22a4df2f2e"},{"author":{"_account_id":18742,"name":"Ryan Liang","email":"ryan.liang@emc.com","username":"RyanLiang"},"change_message_id":"f0ac4bada243b4c78fbb3899cccd075067d32008","unresolved":false,"context_lines":[{"line_number":802,"context_line":"            self.client.delay_delete_lun(volume.name)"},{"line_number":803,"context_line":"        # Case 2. Migration already finished, try to delete the temp snap"},{"line_number":804,"context_line":"        # only when it\u0027s a cloned volume or created from snapshot."},{"line_number":805,"context_line":"        if async_migrate and (volume.source_volid or volume.snapshot_id):"},{"line_number":806,"context_line":"            self.client.delete_snapshot(utils.construct_snap_name(volume))"},{"line_number":807,"context_line":""},{"line_number":808,"context_line":"    def extend_volume(self, volume, new_size):"}],"source_content_type":"text/x-python","patch_set":4,"id":"5fc1f717_4e0e5433","line":805,"range":{"start_line":805,"start_character":50,"end_line":805,"end_character":71},"in_reply_to":"5fc1f717_61825003","updated":"2019-03-20 03:13:40.000000000","message":"Imaging that we have volume V1 and it\u0027s snapshot S1, and we create new volume V2 from S1. A temp internal (user-invisible) snapshot S2 is created by copying S1 during V2 creation. Both S1 and S2 are snapshots of V1 while S2 with name `tmp-snap-V2`. Then we delete V1, the deletion will be delayed due to it still has snapshot S2. Then the migration finishes and we delete V2, V2 will be deleted on line 787 and S2 will be deleted on line 806. Then the delay deletion of V1 will complete. So, there is no volume left on VNX.","commit_id":"dde9dce584e0225beead6998034a9d22a4df2f2e"}],"releasenotes/notes/vnx-fail-delete-lun-due-to-tmp-snapshot-edd3cdd85e28be60.yaml":[{"author":{"_account_id":27615,"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","username":"whoami-rajat"},"change_message_id":"352414d6aaa7503196d9c6733a01790700a10263","unresolved":false,"context_lines":[{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Dell EMC VNX Cinder Driver: Fixes `bug 1794646"},{"line_number":5,"context_line":"    \u003chttps://bugs.launchpad.net/cinder/+bug/1794646\u003e`__ to delete the LUN from"},{"line_number":6,"context_line":"    the VNX storage. Because a temporary snapshot was created from the LUN"},{"line_number":7,"context_line":"    during creating a volume from a snapshot and wasn\u0027t deleted, the LUN cannot"},{"line_number":8,"context_line":"    be deleted before its snapshot was deleted. The fix makes sure the snapshot"},{"line_number":9,"context_line":"    is deleted."}],"source_content_type":"text/x-yaml","patch_set":4,"id":"5fc1f717_bee057ce","line":6,"range":{"start_line":6,"start_character":50,"end_line":6,"end_character":53},"updated":"2019-03-19 16:34:16.000000000","message":"is","commit_id":"dde9dce584e0225beead6998034a9d22a4df2f2e"},{"author":{"_account_id":27615,"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","username":"whoami-rajat"},"change_message_id":"352414d6aaa7503196d9c6733a01790700a10263","unresolved":false,"context_lines":[{"line_number":4,"context_line":"    Dell EMC VNX Cinder Driver: Fixes `bug 1794646"},{"line_number":5,"context_line":"    \u003chttps://bugs.launchpad.net/cinder/+bug/1794646\u003e`__ to delete the LUN from"},{"line_number":6,"context_line":"    the VNX storage. Because a temporary snapshot was created from the LUN"},{"line_number":7,"context_line":"    during creating a volume from a snapshot and wasn\u0027t deleted, the LUN cannot"},{"line_number":8,"context_line":"    be deleted before its snapshot was deleted. The fix makes sure the snapshot"},{"line_number":9,"context_line":"    is deleted."}],"source_content_type":"text/x-yaml","patch_set":4,"id":"5fc1f717_a1db581f","line":7,"range":{"start_line":7,"start_character":49,"end_line":7,"end_character":55},"updated":"2019-03-19 16:34:16.000000000","message":"isn\u0027t","commit_id":"dde9dce584e0225beead6998034a9d22a4df2f2e"},{"author":{"_account_id":27615,"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","username":"whoami-rajat"},"change_message_id":"352414d6aaa7503196d9c6733a01790700a10263","unresolved":false,"context_lines":[{"line_number":5,"context_line":"    \u003chttps://bugs.launchpad.net/cinder/+bug/1794646\u003e`__ to delete the LUN from"},{"line_number":6,"context_line":"    the VNX storage. Because a temporary snapshot was created from the LUN"},{"line_number":7,"context_line":"    during creating a volume from a snapshot and wasn\u0027t deleted, the LUN cannot"},{"line_number":8,"context_line":"    be deleted before its snapshot was deleted. The fix makes sure the snapshot"},{"line_number":9,"context_line":"    is deleted."}],"source_content_type":"text/x-yaml","patch_set":4,"id":"5fc1f717_feeedfb2","line":8,"range":{"start_line":8,"start_character":35,"end_line":8,"end_character":38},"updated":"2019-03-19 16:34:16.000000000","message":"is","commit_id":"dde9dce584e0225beead6998034a9d22a4df2f2e"},{"author":{"_account_id":27615,"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","username":"whoami-rajat"},"change_message_id":"352414d6aaa7503196d9c6733a01790700a10263","unresolved":false,"context_lines":[{"line_number":5,"context_line":"    \u003chttps://bugs.launchpad.net/cinder/+bug/1794646\u003e`__ to delete the LUN from"},{"line_number":6,"context_line":"    the VNX storage. Because a temporary snapshot was created from the LUN"},{"line_number":7,"context_line":"    during creating a volume from a snapshot and wasn\u0027t deleted, the LUN cannot"},{"line_number":8,"context_line":"    be deleted before its snapshot was deleted. The fix makes sure the snapshot"},{"line_number":9,"context_line":"    is deleted."}],"source_content_type":"text/x-yaml","patch_set":4,"id":"5fc1f717_01a82c75","line":8,"range":{"start_line":8,"start_character":71,"end_line":8,"end_character":79},"updated":"2019-03-19 16:34:16.000000000","message":"temp snapshot","commit_id":"dde9dce584e0225beead6998034a9d22a4df2f2e"}]}
