)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"cdd38ab94eb0ed3cca2c326fe614bc6d8ed74e3d","unresolved":false,"context_lines":[{"line_number":11,"context_line":"no way to get the UDID value of the VM to identify the device name."},{"line_number":12,"context_line":"Handling this scenario by performing an additional iSCSI volume discovery"},{"line_number":13,"context_line":"to get the volume device name so it can be disconnected."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Change-Id: I81aee924093ebcbf1e43ec8c7e330b7d4a973420"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"5f7c97a3_f9096a83","line":14,"updated":"2018-06-25 15:30:38.000000000","message":"This feels like it should have a bug.","commit_id":"ff1cd10d05357523eca6a0fc98b4e7abf44adcfc"},{"author":{"_account_id":14806,"name":"Chhavi Agarwal","email":"chhagarw@in.ibm.com","username":"chhagarw"},"change_message_id":"aec83a9453cfb1fd0aca173996a1c14f74d22240","unresolved":false,"context_lines":[{"line_number":11,"context_line":"no way to get the UDID value of the VM to identify the device name."},{"line_number":12,"context_line":"Handling this scenario by performing an additional iSCSI volume discovery"},{"line_number":13,"context_line":"to get the volume device name so it can be disconnected."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Change-Id: I81aee924093ebcbf1e43ec8c7e330b7d4a973420"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"5f7c97a3_1a63e6b2","line":14,"in_reply_to":"5f7c97a3_00a143f7","updated":"2018-06-26 07:29:27.000000000","message":"Its not a bug from the community standpoint, as the BDM connection_info is refreshed and populated by nova, But since we additionally need and store the UDID information for the discovered volume, we have to update the BDM.","commit_id":"ff1cd10d05357523eca6a0fc98b4e7abf44adcfc"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"da769cb7bc6b261467b6146b78d3078ef57ae8b2","unresolved":false,"context_lines":[{"line_number":11,"context_line":"no way to get the UDID value of the VM to identify the device name."},{"line_number":12,"context_line":"Handling this scenario by performing an additional iSCSI volume discovery"},{"line_number":13,"context_line":"to get the volume device name so it can be disconnected."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Change-Id: I81aee924093ebcbf1e43ec8c7e330b7d4a973420"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"5f7c97a3_da456045","line":14,"in_reply_to":"5f7c97a3_1a63e6b2","updated":"2018-06-26 16:53:19.000000000","message":"I\u0027m not saying it\u0027s necessarily a bug in nova.  But we\u0027re fixing broken behavior that manifests when using nova-powervm.  So that should be described in a bug report.","commit_id":"ff1cd10d05357523eca6a0fc98b4e7abf44adcfc"},{"author":{"_account_id":14532,"name":"Gerald McBrearty","email":"gfm@us.ibm.com","username":"gfm"},"change_message_id":"0861e2604ae6504c6f4d845962dff573fbc12e1d","unresolved":false,"context_lines":[{"line_number":11,"context_line":"no way to get the UDID value of the VM to identify the device name."},{"line_number":12,"context_line":"Handling this scenario by performing an additional iSCSI volume discovery"},{"line_number":13,"context_line":"to get the volume device name so it can be disconnected."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Change-Id: I81aee924093ebcbf1e43ec8c7e330b7d4a973420"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"5f7c97a3_00a143f7","line":14,"in_reply_to":"5f7c97a3_f9096a83","updated":"2018-06-25 18:49:15.000000000","message":"Agree","commit_id":"ff1cd10d05357523eca6a0fc98b4e7abf44adcfc"},{"author":{"_account_id":12802,"name":"Carl Pecinovsky","email":"csky@us.ibm.com","username":"carl-sky"},"change_message_id":"97478b4dfb1ceef6dc616803266ebf477f03ca11","unresolved":false,"context_lines":[{"line_number":7,"context_line":"iSCSI volume detach after migration"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"In the case of live_migration if the detach or delete is performed"},{"line_number":10,"context_line":"on iSCSI VM it fails since the BDM connection_info information is"},{"line_number":11,"context_line":"does not have the UDID value needed by powervm to identify the"},{"line_number":12,"context_line":"device name."},{"line_number":13,"context_line":"Handling this scenario by saving the BDM information during"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"5f7c97a3_9ab4cdf2","line":10,"updated":"2018-06-26 14:00:46.000000000","message":"remove \u0027is\u0027","commit_id":"77a1131024a531f92f3a0f702a4c8f2bc5dc48ee"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"2a86417d50fe9c30dab10e91d569781cfc01e788","unresolved":false,"context_lines":[{"line_number":13,"context_line":"Handling this scenario by saving the BDM information during"},{"line_number":14,"context_line":"pre_live_migration after volume discovery. Also performing an"},{"line_number":15,"context_line":"additional iSCSI volume discovery during failback case to handle"},{"line_number":16,"context_line":"scenarios for Onboarded VM, to get the volume device name so they"},{"line_number":17,"context_line":"can be disconnected."},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"Change-Id: I81aee924093ebcbf1e43ec8c7e330b7d4a973420"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"5f7c97a3_50237158","line":16,"range":{"start_line":16,"start_character":14,"end_line":16,"end_character":23},"updated":"2018-06-26 18:59:30.000000000","message":"there is no such thing in OpenStack","commit_id":"77a1131024a531f92f3a0f702a4c8f2bc5dc48ee"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"2a86417d50fe9c30dab10e91d569781cfc01e788","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"iSCSI volume detach after migration"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"In the case of live_migration if the detach or delete is performed"},{"line_number":10,"context_line":"on iSCSI VM it fails since the BDM connection_info information is"},{"line_number":11,"context_line":"does not have the UDID value needed by powervm to identify the"},{"line_number":12,"context_line":"device name."},{"line_number":13,"context_line":"Handling this scenario by saving the BDM information during"},{"line_number":14,"context_line":"pre_live_migration after volume discovery. Also performing an"},{"line_number":15,"context_line":"additional iSCSI volume discovery during failback case to handle"},{"line_number":16,"context_line":"scenarios for Onboarded VM, to get the volume device name so they"},{"line_number":17,"context_line":"can be disconnected."},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"Change-Id: I81aee924093ebcbf1e43ec8c7e330b7d4a973420"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"5f7c97a3_7026ad69","line":17,"range":{"start_line":9,"start_character":0,"end_line":17,"end_character":20},"updated":"2018-06-26 18:59:30.000000000","message":"replace all this with the following:\n\nSaves updated BDM information during pre_live_migration. This solves an issue where iSCSI volume detachment fails after live migration because the block device mapping connection_info is missing the UDID necessary to identify the device name.","commit_id":"77a1131024a531f92f3a0f702a4c8f2bc5dc48ee"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"2a86417d50fe9c30dab10e91d569781cfc01e788","unresolved":false,"context_lines":[{"line_number":16,"context_line":"scenarios for Onboarded VM, to get the volume device name so they"},{"line_number":17,"context_line":"can be disconnected."},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"Change-Id: I81aee924093ebcbf1e43ec8c7e330b7d4a973420"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"5f7c97a3_f0115df9","line":19,"updated":"2018-06-26 18:59:30.000000000","message":"As Eric and Gerald said on a previous patch set... add Closes-Bug: ###### referencing a nova-powervm (not nova) bug report.","commit_id":"77a1131024a531f92f3a0f702a4c8f2bc5dc48ee"}],"nova_powervm/tests/virt/powervm/.test_driver.py.swp":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"cdd38ab94eb0ed3cca2c326fe614bc6d8ed74e3d","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":5,"id":"5f7c97a3_b940d236","updated":"2018-06-25 15:30:38.000000000","message":"oops","commit_id":"ff1cd10d05357523eca6a0fc98b4e7abf44adcfc"},{"author":{"_account_id":14532,"name":"Gerald McBrearty","email":"gfm@us.ibm.com","username":"gfm"},"change_message_id":"0861e2604ae6504c6f4d845962dff573fbc12e1d","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":5,"id":"5f7c97a3_805f930d","in_reply_to":"5f7c97a3_b940d236","updated":"2018-06-25 18:49:15.000000000","message":"bummer","commit_id":"ff1cd10d05357523eca6a0fc98b4e7abf44adcfc"}],"nova_powervm/tests/virt/powervm/test_driver.py":[{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"46440abe9fef68b6d0185e31f8f885ad6b75d16f","unresolved":false,"context_lines":[{"line_number":1978,"context_line":"    @mock.patch(\u0027nova_powervm.virt.powervm.driver.PowerVMDriver._vol_drv_iter\u0027)"},{"line_number":1979,"context_line":"    def test_post_live_mig_dest(self, mock_vdi):"},{"line_number":1980,"context_line":"        vals \u003d [(None, None)]"},{"line_number":1981,"context_line":"        mock_vdi.return_value \u003d [(None, None)]"},{"line_number":1982,"context_line":"        self.drv.post_live_migration_at_destination("},{"line_number":1983,"context_line":"            \u0027context\u0027, self.lpm_inst, \u0027network_info\u0027)"},{"line_number":1984,"context_line":"        self.lpm.post_live_migration_at_destination.assert_called_once_with("}],"source_content_type":"text/x-python","patch_set":10,"id":"5f7c97a3_c1383a3c","line":1981,"updated":"2018-07-06 21:50:12.000000000","message":"mock_vdi.return_value \u003d vals","commit_id":"49139356ee69b5760fed9c3818696584add426fb"},{"author":{"_account_id":14806,"name":"Chhavi Agarwal","email":"chhagarw@in.ibm.com","username":"chhagarw"},"change_message_id":"f731f06529a323d9c597232b2b7e21c05414b9b0","unresolved":false,"context_lines":[{"line_number":1978,"context_line":"    @mock.patch(\u0027nova_powervm.virt.powervm.driver.PowerVMDriver._vol_drv_iter\u0027)"},{"line_number":1979,"context_line":"    def test_post_live_mig_dest(self, mock_vdi):"},{"line_number":1980,"context_line":"        vals \u003d [(None, None)]"},{"line_number":1981,"context_line":"        mock_vdi.return_value \u003d [(None, None)]"},{"line_number":1982,"context_line":"        self.drv.post_live_migration_at_destination("},{"line_number":1983,"context_line":"            \u0027context\u0027, self.lpm_inst, \u0027network_info\u0027)"},{"line_number":1984,"context_line":"        self.lpm.post_live_migration_at_destination.assert_called_once_with("}],"source_content_type":"text/x-python","patch_set":10,"id":"5f7c97a3_3b403132","line":1981,"in_reply_to":"5f7c97a3_c1383a3c","updated":"2018-07-09 07:28:56.000000000","message":"Done","commit_id":"49139356ee69b5760fed9c3818696584add426fb"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"92db2a946b317be27165004f5e6ffe2cfb3e1bbd","unresolved":false,"context_lines":[{"line_number":1975,"context_line":"        mock_rename.assert_called_once_with("},{"line_number":1976,"context_line":"            self.drv.adapter, self.lpm_inst, self.lpm_inst.name)"},{"line_number":1977,"context_line":""},{"line_number":1978,"context_line":"    @mock.patch(\u0027nova_powervm.virt.powervm.driver.PowerVMDriver._vol_drv_iter\u0027)"},{"line_number":1979,"context_line":"    def test_post_live_mig_dest(self, mock_vdi):"},{"line_number":1980,"context_line":"        vals \u003d [(None, None)]"},{"line_number":1981,"context_line":"        mock_vdi.return_value \u003d vals"}],"source_content_type":"text/x-python","patch_set":15,"id":"5f7c97a3_e67c9123","line":1978,"updated":"2018-07-17 21:28:14.000000000","message":"add \"autospec\u003dTrue\" here and on all the other mocks you\u0027re adding, in this file and others.","commit_id":"2ebe352595e13584c1714c14642c326d3f9caa26"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"2c668e417d7e1b07ee5f4b6ffa9329afc871637b","unresolved":false,"context_lines":[{"line_number":1985,"context_line":"        self.lpm.post_live_migration_at_destination.assert_called_once_with("},{"line_number":1986,"context_line":"            \u0027network_info\u0027, vals)"},{"line_number":1987,"context_line":""},{"line_number":1988,"context_line":"    @mock.patch(\u0027nova_powervm.virt.powervm.driver.PowerVMDriver._extract_bdm\u0027)"},{"line_number":1989,"context_line":"    @mock.patch(\u0027nova_powervm.virt.powervm.driver.PowerVMDriver._vol_drv_iter\u0027,"},{"line_number":1990,"context_line":"                autospec\u003dTrue)"},{"line_number":1991,"context_line":"    def test_post_live_mig_dest_vol_drv(self, mock_vdi, mock_extract):"}],"source_content_type":"text/x-python","patch_set":16,"id":"5f7c97a3_5c9188f6","line":1988,"updated":"2018-07-18 12:26:14.000000000","message":"autospec\u003dTrue","commit_id":"8aac035b4a7fec952625962e777ef4f62e4d03bc"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"2c668e417d7e1b07ee5f4b6ffa9329afc871637b","unresolved":false,"context_lines":[{"line_number":1990,"context_line":"                autospec\u003dTrue)"},{"line_number":1991,"context_line":"    def test_post_live_mig_dest_vol_drv(self, mock_vdi, mock_extract):"},{"line_number":1992,"context_line":"        bdm1 \u003d mock.Mock()"},{"line_number":1993,"context_line":"        block_device_info \u003d mock.MagicMock()"},{"line_number":1994,"context_line":"        vals \u003d [(bdm1, self.iscsi_vol_drv)]"},{"line_number":1995,"context_line":"        mock_extract.return_value \u003d [bdm1]"},{"line_number":1996,"context_line":"        mock_vdi.return_value \u003d vals"}],"source_content_type":"text/x-python","patch_set":16,"id":"5f7c97a3_dc84b8b4","line":1993,"updated":"2018-07-18 12:26:14.000000000","message":"this is unused","commit_id":"8aac035b4a7fec952625962e777ef4f62e4d03bc"},{"author":{"_account_id":14806,"name":"Chhavi Agarwal","email":"chhagarw@in.ibm.com","username":"chhagarw"},"change_message_id":"7100ba055b2986342af3cab1bc5941fe7f9040bf","unresolved":false,"context_lines":[{"line_number":1990,"context_line":"                autospec\u003dTrue)"},{"line_number":1991,"context_line":"    def test_post_live_mig_dest_vol_drv(self, mock_vdi, mock_extract):"},{"line_number":1992,"context_line":"        bdm1 \u003d mock.Mock()"},{"line_number":1993,"context_line":"        block_device_info \u003d mock.MagicMock()"},{"line_number":1994,"context_line":"        vals \u003d [(bdm1, self.iscsi_vol_drv)]"},{"line_number":1995,"context_line":"        mock_extract.return_value \u003d [bdm1]"},{"line_number":1996,"context_line":"        mock_vdi.return_value \u003d vals"}],"source_content_type":"text/x-python","patch_set":16,"id":"5f7c97a3_3a528b69","line":1993,"in_reply_to":"5f7c97a3_dc84b8b4","updated":"2018-07-18 15:41:14.000000000","message":"Done","commit_id":"8aac035b4a7fec952625962e777ef4f62e4d03bc"}],"nova_powervm/tests/virt/powervm/test_live_migration.py":[{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"46440abe9fef68b6d0185e31f8f885ad6b75d16f","unresolved":false,"context_lines":[{"line_number":320,"context_line":"                                                        mock.ANY, network_info)"},{"line_number":321,"context_line":""},{"line_number":322,"context_line":"    @mock.patch(\u0027nova_powervm.virt.powervm.tasks.storage.SaveBDM.execute\u0027)"},{"line_number":323,"context_line":"    @mock.patch(\u0027nova_powervm.virt.powervm.vif.post_live_migrate_at_source\u0027,"},{"line_number":324,"context_line":"                autospec\u003dTrue)"},{"line_number":325,"context_line":"    def test_post_live_migration_at_dest(self, mock_vif_post_lpm_at_source,"},{"line_number":326,"context_line":"                                         mock_save_bdm):"}],"source_content_type":"text/x-python","patch_set":10,"id":"5f7c97a3_a1cf3e55","line":323,"updated":"2018-07-06 21:50:12.000000000","message":"you\u0027re not using this","commit_id":"49139356ee69b5760fed9c3818696584add426fb"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"46440abe9fef68b6d0185e31f8f885ad6b75d16f","unresolved":false,"context_lines":[{"line_number":330,"context_line":"        # Assertions"},{"line_number":331,"context_line":""},{"line_number":332,"context_line":"        for bdm, vol_drv in vals:"},{"line_number":333,"context_line":"            vol_drv.post_live_migration_at_destination.assert_called_with("},{"line_number":334,"context_line":"                mock.ANY)"},{"line_number":335,"context_line":"            mock_save_bdm.assert_called()"}],"source_content_type":"text/x-python","patch_set":10,"id":"5f7c97a3_21dc8e16","line":333,"updated":"2018-07-06 21:50:12.000000000","message":"you called this yourself on L329, so there\u0027s no point in checking that it was called.","commit_id":"49139356ee69b5760fed9c3818696584add426fb"},{"author":{"_account_id":14806,"name":"Chhavi Agarwal","email":"chhagarw@in.ibm.com","username":"chhagarw"},"change_message_id":"f731f06529a323d9c597232b2b7e21c05414b9b0","unresolved":false,"context_lines":[{"line_number":330,"context_line":"        # Assertions"},{"line_number":331,"context_line":""},{"line_number":332,"context_line":"        for bdm, vol_drv in vals:"},{"line_number":333,"context_line":"            vol_drv.post_live_migration_at_destination.assert_called_with("},{"line_number":334,"context_line":"                mock.ANY)"},{"line_number":335,"context_line":"            mock_save_bdm.assert_called()"}],"source_content_type":"text/x-python","patch_set":10,"id":"5f7c97a3_3ebb3fbe","line":333,"in_reply_to":"5f7c97a3_21dc8e16","updated":"2018-07-09 07:28:56.000000000","message":"this is volume driver call check\nabove is the pvm driver layer call","commit_id":"49139356ee69b5760fed9c3818696584add426fb"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"46440abe9fef68b6d0185e31f8f885ad6b75d16f","unresolved":false,"context_lines":[{"line_number":332,"context_line":"        for bdm, vol_drv in vals:"},{"line_number":333,"context_line":"            vol_drv.post_live_migration_at_destination.assert_called_with("},{"line_number":334,"context_line":"                mock.ANY)"},{"line_number":335,"context_line":"            mock_save_bdm.assert_called()"}],"source_content_type":"text/x-python","patch_set":10,"id":"5f7c97a3_81d002f6","line":335,"updated":"2018-07-06 21:50:12.000000000","message":"pull this out of the for loop and assert that it was called twice.","commit_id":"49139356ee69b5760fed9c3818696584add426fb"},{"author":{"_account_id":14806,"name":"Chhavi Agarwal","email":"chhagarw@in.ibm.com","username":"chhagarw"},"change_message_id":"f731f06529a323d9c597232b2b7e21c05414b9b0","unresolved":false,"context_lines":[{"line_number":332,"context_line":"        for bdm, vol_drv in vals:"},{"line_number":333,"context_line":"            vol_drv.post_live_migration_at_destination.assert_called_with("},{"line_number":334,"context_line":"                mock.ANY)"},{"line_number":335,"context_line":"            mock_save_bdm.assert_called()"}],"source_content_type":"text/x-python","patch_set":10,"id":"5f7c97a3_9ee133d2","line":335,"in_reply_to":"5f7c97a3_81d002f6","updated":"2018-07-09 07:28:56.000000000","message":"I can pull out save bdm mock but vol drv will be there in for loop","commit_id":"49139356ee69b5760fed9c3818696584add426fb"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"71adc8f36ae1aba0536794b0a9535b6b1d64eda6","unresolved":false,"context_lines":[{"line_number":329,"context_line":"        for bdm, vol_drv in vals:"},{"line_number":330,"context_line":"            vol_drv.post_live_migration_at_destination.assert_called_with("},{"line_number":331,"context_line":"                mock.ANY)"},{"line_number":332,"context_line":"        self.assertEqual(2, mock_save_bdm.call_count)"}],"source_content_type":"text/x-python","patch_set":11,"id":"5f7c97a3_4ed0bcf4","line":332,"range":{"start_line":332,"start_character":25,"end_line":332,"end_character":26},"updated":"2018-07-09 17:12:31.000000000","message":"s/2/len(vals)/","commit_id":"9f1e55b957f2b9487f81bc24cfef95dd9700173f"},{"author":{"_account_id":14806,"name":"Chhavi Agarwal","email":"chhagarw@in.ibm.com","username":"chhagarw"},"change_message_id":"ff1a4346b28893acc4f57f06a755dfdaa05ce5b2","unresolved":false,"context_lines":[{"line_number":329,"context_line":"        for bdm, vol_drv in vals:"},{"line_number":330,"context_line":"            vol_drv.post_live_migration_at_destination.assert_called_with("},{"line_number":331,"context_line":"                mock.ANY)"},{"line_number":332,"context_line":"        self.assertEqual(2, mock_save_bdm.call_count)"}],"source_content_type":"text/x-python","patch_set":11,"id":"5f7c97a3_09c95e23","line":332,"range":{"start_line":332,"start_character":25,"end_line":332,"end_character":26},"in_reply_to":"5f7c97a3_4ed0bcf4","updated":"2018-07-09 18:02:01.000000000","message":"Done","commit_id":"9f1e55b957f2b9487f81bc24cfef95dd9700173f"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"2c668e417d7e1b07ee5f4b6ffa9329afc871637b","unresolved":false,"context_lines":[{"line_number":319,"context_line":"            mock_vif_post_lpm_at_source.assert_any_call(mock.ANY, mock.ANY,"},{"line_number":320,"context_line":"                                                        mock.ANY, network_info)"},{"line_number":321,"context_line":""},{"line_number":322,"context_line":"    @mock.patch(\u0027nova_powervm.virt.powervm.tasks.storage.SaveBDM.execute\u0027)"},{"line_number":323,"context_line":"    def test_post_live_migration_at_dest(self, mock_save_bdm):"},{"line_number":324,"context_line":"        bdm1, bdm2, vol_drv1, vol_drv2 \u003d [mock.Mock()] * 4"},{"line_number":325,"context_line":"        vals \u003d [(bdm1, vol_drv1), (bdm2, vol_drv2)]"}],"source_content_type":"text/x-python","patch_set":16,"id":"5f7c97a3_1cb0f08c","line":322,"updated":"2018-07-18 12:26:14.000000000","message":"autospec\u003dTrue","commit_id":"8aac035b4a7fec952625962e777ef4f62e4d03bc"}],"nova_powervm/tests/virt/powervm/volume/test_iscsi.py":[{"author":{"_account_id":12802,"name":"Carl Pecinovsky","email":"csky@us.ibm.com","username":"carl-sky"},"change_message_id":"97478b4dfb1ceef6dc616803266ebf477f03ca11","unresolved":false,"context_lines":[{"line_number":403,"context_line":"            mock_remove_iscsi.assert_not_called()"},{"line_number":404,"context_line":""},{"line_number":405,"context_line":"            # Check if device_name is returned on re-discovery, then"},{"line_number":406,"context_line":"            # disconnect should be called."},{"line_number":407,"context_line":"            mock_discover.return_value \u003d (\u0027dev_name\u0027, \u0027udid\u0027)"},{"line_number":408,"context_line":""},{"line_number":409,"context_line":"            # Run the method"}],"source_content_type":"text/x-python","patch_set":6,"id":"5f7c97a3_5a3635e9","line":406,"updated":"2018-06-26 14:00:46.000000000","message":"you mean, \"then the removal methods should be called.\"?","commit_id":"77a1131024a531f92f3a0f702a4c8f2bc5dc48ee"},{"author":{"_account_id":14806,"name":"Chhavi Agarwal","email":"chhagarw@in.ibm.com","username":"chhagarw"},"change_message_id":"f9c86b60932327f85743b6156bea837dc224cecd","unresolved":false,"context_lines":[{"line_number":403,"context_line":"            mock_remove_iscsi.assert_not_called()"},{"line_number":404,"context_line":""},{"line_number":405,"context_line":"            # Check if device_name is returned on re-discovery, then"},{"line_number":406,"context_line":"            # disconnect should be called."},{"line_number":407,"context_line":"            mock_discover.return_value \u003d (\u0027dev_name\u0027, \u0027udid\u0027)"},{"line_number":408,"context_line":""},{"line_number":409,"context_line":"            # Run the method"}],"source_content_type":"text/x-python","patch_set":6,"id":"5f7c97a3_c530260a","line":406,"in_reply_to":"5f7c97a3_5a3635e9","updated":"2018-06-27 07:01:41.000000000","message":"When there is no UDID and device name, removal method will not be called.","commit_id":"77a1131024a531f92f3a0f702a4c8f2bc5dc48ee"},{"author":{"_account_id":13002,"name":"Shyama","email":"shyvenug@in.ibm.com","username":"shyama"},"change_message_id":"8338cf4db65baa0cf96313a5f606e8e717f9bff4","unresolved":false,"context_lines":[{"line_number":403,"context_line":"            mock_remove_iscsi.assert_not_called()"},{"line_number":404,"context_line":""},{"line_number":405,"context_line":"            # Check if device_name is returned on re-discovery, then"},{"line_number":406,"context_line":"            # disconnect should be called."},{"line_number":407,"context_line":"            mock_discover.return_value \u003d (\u0027dev_name\u0027, \u0027udid\u0027)"},{"line_number":408,"context_line":""},{"line_number":409,"context_line":"            # Run the method"}],"source_content_type":"text/x-python","patch_set":6,"id":"5f7c97a3_88d47048","line":406,"in_reply_to":"5f7c97a3_c530260a","updated":"2018-06-27 09:11:25.000000000","message":"When the removal is not done is there an exception thrown ?","commit_id":"77a1131024a531f92f3a0f702a4c8f2bc5dc48ee"},{"author":{"_account_id":12802,"name":"Carl Pecinovsky","email":"csky@us.ibm.com","username":"carl-sky"},"change_message_id":"97478b4dfb1ceef6dc616803266ebf477f03ca11","unresolved":false,"context_lines":[{"line_number":409,"context_line":"            # Run the method"},{"line_number":410,"context_line":"            self.vol_drv.disconnect_volume(self.slot_mgr)"},{"line_number":411,"context_line":""},{"line_number":412,"context_line":"            mock_remove_maps.assert_called()"},{"line_number":413,"context_line":"            mock_remove_iscsi.assert_called()"},{"line_number":414,"context_line":""},{"line_number":415,"context_line":"    def test_min_xags(self):"}],"source_content_type":"text/x-python","patch_set":6,"id":"5f7c97a3_5ae155fb","line":412,"updated":"2018-06-26 14:00:46.000000000","message":"any called_with param we can assert on here, like udid, or no?","commit_id":"77a1131024a531f92f3a0f702a4c8f2bc5dc48ee"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"46440abe9fef68b6d0185e31f8f885ad6b75d16f","unresolved":false,"context_lines":[{"line_number":382,"context_line":"    @mock.patch(\u0027nova_powervm.virt.powervm.vm.get_vm_id\u0027)"},{"line_number":383,"context_line":"    @mock.patch(\u0027pypowervm.tasks.hdisk.remove_iscsi\u0027)"},{"line_number":384,"context_line":"    @mock.patch(\u0027pypowervm.tasks.scsi_mapper.remove_maps\u0027)"},{"line_number":385,"context_line":"    def test_disconnect_volume_no_udid("},{"line_number":386,"context_line":"            self, mock_remove_maps, mock_remove_iscsi, mock_get_vm_id):"},{"line_number":387,"context_line":""},{"line_number":388,"context_line":"        # Ensures that if the UDID and device_name not found, then"}],"source_content_type":"text/x-python","patch_set":10,"id":"5f7c97a3_e193f64c","line":385,"updated":"2018-07-06 21:50:12.000000000","message":"I think we agreed that no_udid shouldn\u0027t really happen. We can test it just to be safe, but let\u0027s generalize and test for no device_name, which could be either because we don\u0027t have udid or because we failed to lookup the device_name from the udid. And the test itself will have to be updated to check what we\u0027re really doing now... logging and returning False.","commit_id":"49139356ee69b5760fed9c3818696584add426fb"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"46440abe9fef68b6d0185e31f8f885ad6b75d16f","unresolved":false,"context_lines":[{"line_number":390,"context_line":"        self.vol_drv._set_udid(None)"},{"line_number":391,"context_line":"        mock_get_vm_id.return_value \u003d \u00272\u0027"},{"line_number":392,"context_line":""},{"line_number":393,"context_line":"        with mock.patch.object(self.vol_drv,"},{"line_number":394,"context_line":"                               \u0027_discover_volume_on_vios\u0027) as mock_discover:"},{"line_number":395,"context_line":""},{"line_number":396,"context_line":"            mock_discover.return_value \u003d (None, None)"}],"source_content_type":"text/x-python","patch_set":10,"id":"5f7c97a3_c19cba5c","line":393,"updated":"2018-07-06 21:50:12.000000000","message":"we removed the rediscovery code, so _discover_volume_on_vios isn\u0027t going to be called during disconnect_volume anymore. If you had an assert that it was called here, you\u0027d have caught that this wasn\u0027t doing anything and removed it.","commit_id":"49139356ee69b5760fed9c3818696584add426fb"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"71adc8f36ae1aba0536794b0a9535b6b1d64eda6","unresolved":false,"context_lines":[{"line_number":389,"context_line":""},{"line_number":390,"context_line":"        # Ensures that if the UDID and device_name not found, then"},{"line_number":391,"context_line":"        # disconnect is not called."},{"line_number":392,"context_line":"        mock_hdisk_from_uuid.return_value \u003d None"},{"line_number":393,"context_line":"        mock_get_vm_id.return_value \u003d \u00272\u0027"},{"line_number":394,"context_line":""},{"line_number":395,"context_line":"        with mock.patch.object(self.vol_drv,"}],"source_content_type":"text/x-python","patch_set":11,"id":"5f7c97a3_aee4f0a8","line":392,"updated":"2018-07-09 17:12:31.000000000","message":"add an assert that this is called to make sure this is making a difference, vs. the case where self._get_udid() returns None.","commit_id":"9f1e55b957f2b9487f81bc24cfef95dd9700173f"},{"author":{"_account_id":14806,"name":"Chhavi Agarwal","email":"chhagarw@in.ibm.com","username":"chhagarw"},"change_message_id":"ff1a4346b28893acc4f57f06a755dfdaa05ce5b2","unresolved":false,"context_lines":[{"line_number":389,"context_line":""},{"line_number":390,"context_line":"        # Ensures that if the UDID and device_name not found, then"},{"line_number":391,"context_line":"        # disconnect is not called."},{"line_number":392,"context_line":"        mock_hdisk_from_uuid.return_value \u003d None"},{"line_number":393,"context_line":"        mock_get_vm_id.return_value \u003d \u00272\u0027"},{"line_number":394,"context_line":""},{"line_number":395,"context_line":"        with mock.patch.object(self.vol_drv,"}],"source_content_type":"text/x-python","patch_set":11,"id":"5f7c97a3_e9fd0208","line":392,"in_reply_to":"5f7c97a3_aee4f0a8","updated":"2018-07-09 18:02:01.000000000","message":"Done","commit_id":"9f1e55b957f2b9487f81bc24cfef95dd9700173f"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"71adc8f36ae1aba0536794b0a9535b6b1d64eda6","unresolved":false,"context_lines":[{"line_number":392,"context_line":"        mock_hdisk_from_uuid.return_value \u003d None"},{"line_number":393,"context_line":"        mock_get_vm_id.return_value \u003d \u00272\u0027"},{"line_number":394,"context_line":""},{"line_number":395,"context_line":"        with mock.patch.object(self.vol_drv,"},{"line_number":396,"context_line":"                               \u0027_discover_volume_on_vios\u0027) as mock_discover:"},{"line_number":397,"context_line":""},{"line_number":398,"context_line":"            mock_discover.return_value \u003d (None, None)"}],"source_content_type":"text/x-python","patch_set":11,"id":"5f7c97a3_ee2988f1","line":395,"updated":"2018-07-09 17:12:31.000000000","message":"I think you misunderstood what I said in PS10. I wasn\u0027t trying to say you should add an assert that this is not called. I was trying to say that in earlier PS where it _was_called you should have had an assert that it _was_ called, but now that it\u0027s not called you should not have an assert _or_ mock it at all.","commit_id":"9f1e55b957f2b9487f81bc24cfef95dd9700173f"},{"author":{"_account_id":14806,"name":"Chhavi Agarwal","email":"chhagarw@in.ibm.com","username":"chhagarw"},"change_message_id":"ff1a4346b28893acc4f57f06a755dfdaa05ce5b2","unresolved":false,"context_lines":[{"line_number":392,"context_line":"        mock_hdisk_from_uuid.return_value \u003d None"},{"line_number":393,"context_line":"        mock_get_vm_id.return_value \u003d \u00272\u0027"},{"line_number":394,"context_line":""},{"line_number":395,"context_line":"        with mock.patch.object(self.vol_drv,"},{"line_number":396,"context_line":"                               \u0027_discover_volume_on_vios\u0027) as mock_discover:"},{"line_number":397,"context_line":""},{"line_number":398,"context_line":"            mock_discover.return_value \u003d (None, None)"}],"source_content_type":"text/x-python","patch_set":11,"id":"5f7c97a3_4efd1c07","line":395,"in_reply_to":"5f7c97a3_ee2988f1","updated":"2018-07-09 18:02:01.000000000","message":"Done","commit_id":"9f1e55b957f2b9487f81bc24cfef95dd9700173f"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"71adc8f36ae1aba0536794b0a9535b6b1d64eda6","unresolved":false,"context_lines":[{"line_number":398,"context_line":"            mock_discover.return_value \u003d (None, None)"},{"line_number":399,"context_line":""},{"line_number":400,"context_line":"            # Run the method"},{"line_number":401,"context_line":"            status \u003d self.vol_drv.disconnect_volume(self.slot_mgr)"},{"line_number":402,"context_line":""},{"line_number":403,"context_line":"            # As initialized above, remove_maps returns True to trigger update."},{"line_number":404,"context_line":"            mock_remove_maps.assert_not_called()"}],"source_content_type":"text/x-python","patch_set":11,"id":"5f7c97a3_8efd743c","line":401,"updated":"2018-07-09 17:12:31.000000000","message":"We should actually try this twice in this test method, both with and without self._get_udid() returning None. In both cases, we will be unable to get device_name.","commit_id":"9f1e55b957f2b9487f81bc24cfef95dd9700173f"},{"author":{"_account_id":14806,"name":"Chhavi Agarwal","email":"chhagarw@in.ibm.com","username":"chhagarw"},"change_message_id":"ff1a4346b28893acc4f57f06a755dfdaa05ce5b2","unresolved":false,"context_lines":[{"line_number":398,"context_line":"            mock_discover.return_value \u003d (None, None)"},{"line_number":399,"context_line":""},{"line_number":400,"context_line":"            # Run the method"},{"line_number":401,"context_line":"            status \u003d self.vol_drv.disconnect_volume(self.slot_mgr)"},{"line_number":402,"context_line":""},{"line_number":403,"context_line":"            # As initialized above, remove_maps returns True to trigger update."},{"line_number":404,"context_line":"            mock_remove_maps.assert_not_called()"}],"source_content_type":"text/x-python","patch_set":11,"id":"5f7c97a3_09015e04","line":401,"in_reply_to":"5f7c97a3_8efd743c","updated":"2018-07-09 18:02:01.000000000","message":"Done","commit_id":"9f1e55b957f2b9487f81bc24cfef95dd9700173f"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"71adc8f36ae1aba0536794b0a9535b6b1d64eda6","unresolved":false,"context_lines":[{"line_number":403,"context_line":"            # As initialized above, remove_maps returns True to trigger update."},{"line_number":404,"context_line":"            mock_remove_maps.assert_not_called()"},{"line_number":405,"context_line":"            mock_remove_iscsi.assert_not_called()"},{"line_number":406,"context_line":"            mock_discover.assert_not_called()"},{"line_number":407,"context_line":"            self.assertFalse(status)"},{"line_number":408,"context_line":""},{"line_number":409,"context_line":"    def test_min_xags(self):"}],"source_content_type":"text/x-python","patch_set":11,"id":"5f7c97a3_8e21f4fe","line":406,"updated":"2018-07-09 17:12:31.000000000","message":"remove","commit_id":"9f1e55b957f2b9487f81bc24cfef95dd9700173f"},{"author":{"_account_id":14806,"name":"Chhavi Agarwal","email":"chhagarw@in.ibm.com","username":"chhagarw"},"change_message_id":"ff1a4346b28893acc4f57f06a755dfdaa05ce5b2","unresolved":false,"context_lines":[{"line_number":403,"context_line":"            # As initialized above, remove_maps returns True to trigger update."},{"line_number":404,"context_line":"            mock_remove_maps.assert_not_called()"},{"line_number":405,"context_line":"            mock_remove_iscsi.assert_not_called()"},{"line_number":406,"context_line":"            mock_discover.assert_not_called()"},{"line_number":407,"context_line":"            self.assertFalse(status)"},{"line_number":408,"context_line":""},{"line_number":409,"context_line":"    def test_min_xags(self):"}],"source_content_type":"text/x-python","patch_set":11,"id":"5f7c97a3_a9038a0b","line":406,"in_reply_to":"5f7c97a3_8e21f4fe","updated":"2018-07-09 18:02:01.000000000","message":"Done","commit_id":"9f1e55b957f2b9487f81bc24cfef95dd9700173f"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"2c668e417d7e1b07ee5f4b6ffa9329afc871637b","unresolved":false,"context_lines":[{"line_number":379,"context_line":"        self.multi_vol_drv.disconnect_volume(self.slot_mgr)"},{"line_number":380,"context_line":"        mock_remove_iscsi.assert_has_calls(multi_calls, any_order\u003dTrue)"},{"line_number":381,"context_line":""},{"line_number":382,"context_line":"    @mock.patch(\u0027pypowervm.wrappers.virtual_io_server.VIOS.hdisk_from_uuid\u0027)"},{"line_number":383,"context_line":"    @mock.patch(\u0027nova_powervm.virt.powervm.vm.get_vm_id\u0027)"},{"line_number":384,"context_line":"    @mock.patch(\u0027pypowervm.tasks.hdisk.remove_iscsi\u0027)"},{"line_number":385,"context_line":"    @mock.patch(\u0027pypowervm.tasks.scsi_mapper.remove_maps\u0027)"}],"source_content_type":"text/x-python","patch_set":16,"id":"5f7c97a3_9c516034","line":382,"updated":"2018-07-18 12:26:14.000000000","message":"autospec\u003dTrue on each of these 4 lines","commit_id":"8aac035b4a7fec952625962e777ef4f62e4d03bc"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"2c668e417d7e1b07ee5f4b6ffa9329afc871637b","unresolved":false,"context_lines":[{"line_number":399,"context_line":"        # In this case no disconnect should happen"},{"line_number":400,"context_line":"        mock_remove_maps.assert_not_called()"},{"line_number":401,"context_line":"        mock_remove_iscsi.assert_not_called()"},{"line_number":402,"context_line":"        mock_hdisk_from_uuid.assert_called()"},{"line_number":403,"context_line":"        self.assertFalse(status)"},{"line_number":404,"context_line":""},{"line_number":405,"context_line":"        # Ensures that if UDID not found, then mappings are not"}],"source_content_type":"text/x-python","patch_set":16,"id":"5f7c97a3_9cff2002","line":402,"updated":"2018-07-18 12:26:14.000000000","message":"assert called with \u0027vstor_uuid\u0027","commit_id":"8aac035b4a7fec952625962e777ef4f62e4d03bc"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"2c668e417d7e1b07ee5f4b6ffa9329afc871637b","unresolved":false,"context_lines":[{"line_number":579,"context_line":"        mock_discover.assert_not_called()"},{"line_number":580,"context_line":""},{"line_number":581,"context_line":"    @mock.patch(\u0027nova_powervm.virt.powervm.volume.volume.VscsiVolumeAdapter\u0027"},{"line_number":582,"context_line":"                \u0027._set_udid\u0027)"},{"line_number":583,"context_line":"    def test_post_live_migration_at_destination(self, mock_set_udid):"},{"line_number":584,"context_line":"        volume_key \u003d \u0027vscsi-\u0027 + self.serial"},{"line_number":585,"context_line":"        mig_vol_stor \u003d {volume_key: \u0027udid\u0027}"}],"source_content_type":"text/x-python","patch_set":16,"id":"5f7c97a3_7c648421","line":582,"updated":"2018-07-18 12:26:14.000000000","message":"autospec\u003dTrue","commit_id":"8aac035b4a7fec952625962e777ef4f62e4d03bc"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"2c668e417d7e1b07ee5f4b6ffa9329afc871637b","unresolved":false,"context_lines":[{"line_number":584,"context_line":"        volume_key \u003d \u0027vscsi-\u0027 + self.serial"},{"line_number":585,"context_line":"        mig_vol_stor \u003d {volume_key: \u0027udid\u0027}"},{"line_number":586,"context_line":"        self.vol_drv.post_live_migration_at_destination(mig_vol_stor)"},{"line_number":587,"context_line":"        mock_set_udid.assert_called()"},{"line_number":588,"context_line":""},{"line_number":589,"context_line":"    @mock.patch(\u0027nova_powervm.virt.powervm.volume.driver.PowerVMVolumeAdapter.\u0027"},{"line_number":590,"context_line":"                \u0027vios_uuids\u0027, new_callable\u003dmock.PropertyMock)"}],"source_content_type":"text/x-python","patch_set":16,"id":"5f7c97a3_fc1df476","line":587,"updated":"2018-07-18 12:26:14.000000000","message":"assert that it is called with \u0027udid\u0027","commit_id":"8aac035b4a7fec952625962e777ef4f62e4d03bc"}],"nova_powervm/virt/powervm/driver.py":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"cdd38ab94eb0ed3cca2c326fe614bc6d8ed74e3d","unresolved":false,"context_lines":[{"line_number":1466,"context_line":"        LOG.info(\"Pre live migration processing.\", instance\u003dinstance)"},{"line_number":1467,"context_line":"        mig \u003d self.live_migrations[instance.uuid]"},{"line_number":1468,"context_line":""},{"line_number":1469,"context_line":"        bdms \u003d self._extract_bdm(block_device_info)"},{"line_number":1470,"context_line":"        # Get a volume driver iterator for volume and BDM mapping"},{"line_number":1471,"context_line":"        vol_drv_iter \u003d self._vol_drv_iter(context, instance, bdms)"},{"line_number":1472,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"5f7c97a3_d9226e01","line":1469,"updated":"2018-06-25 15:30:38.000000000","message":"Why was this part of the change needed?","commit_id":"ff1cd10d05357523eca6a0fc98b4e7abf44adcfc"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"da769cb7bc6b261467b6146b78d3078ef57ae8b2","unresolved":false,"context_lines":[{"line_number":1466,"context_line":"        LOG.info(\"Pre live migration processing.\", instance\u003dinstance)"},{"line_number":1467,"context_line":"        mig \u003d self.live_migrations[instance.uuid]"},{"line_number":1468,"context_line":""},{"line_number":1469,"context_line":"        bdms \u003d self._extract_bdm(block_device_info)"},{"line_number":1470,"context_line":"        # Get a volume driver iterator for volume and BDM mapping"},{"line_number":1471,"context_line":"        vol_drv_iter \u003d self._vol_drv_iter(context, instance, bdms)"},{"line_number":1472,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"5f7c97a3_ba3984a3","line":1469,"in_reply_to":"5f7c97a3_3ac10230","updated":"2018-06-26 16:53:19.000000000","message":"I see.  So hmm, it seems like our problem is that we\u0027re peeling too much information away from the BDM before sending it to the volume driver init.  I.e. we\u0027ve now found we need the whole BDM, not just the connection_info.  So what do folks think about zooming that out and making *VolumeAdapter.__init__ take bdm in place of conn_info?","commit_id":"ff1cd10d05357523eca6a0fc98b4e7abf44adcfc"},{"author":{"_account_id":14806,"name":"Chhavi Agarwal","email":"chhagarw@in.ibm.com","username":"chhagarw"},"change_message_id":"128a8badb79a8ef7e8da43e3627be631513b845d","unresolved":false,"context_lines":[{"line_number":1466,"context_line":"        LOG.info(\"Pre live migration processing.\", instance\u003dinstance)"},{"line_number":1467,"context_line":"        mig \u003d self.live_migrations[instance.uuid]"},{"line_number":1468,"context_line":""},{"line_number":1469,"context_line":"        bdms \u003d self._extract_bdm(block_device_info)"},{"line_number":1470,"context_line":"        # Get a volume driver iterator for volume and BDM mapping"},{"line_number":1471,"context_line":"        vol_drv_iter \u003d self._vol_drv_iter(context, instance, bdms)"},{"line_number":1472,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"5f7c97a3_4e9d0507","line":1469,"in_reply_to":"5f7c97a3_ba3984a3","updated":"2018-06-27 07:11:35.000000000","message":"No, the issue is not that, we are still using the connection_info, the issue is during volume connect, we are hacking and updating the connection_info with one additional property. Which got missed when the new connection_info is returned for the destination host.","commit_id":"ff1cd10d05357523eca6a0fc98b4e7abf44adcfc"},{"author":{"_account_id":14806,"name":"Chhavi Agarwal","email":"chhagarw@in.ibm.com","username":"chhagarw"},"change_message_id":"aec83a9453cfb1fd0aca173996a1c14f74d22240","unresolved":false,"context_lines":[{"line_number":1466,"context_line":"        LOG.info(\"Pre live migration processing.\", instance\u003dinstance)"},{"line_number":1467,"context_line":"        mig \u003d self.live_migrations[instance.uuid]"},{"line_number":1468,"context_line":""},{"line_number":1469,"context_line":"        bdms \u003d self._extract_bdm(block_device_info)"},{"line_number":1470,"context_line":"        # Get a volume driver iterator for volume and BDM mapping"},{"line_number":1471,"context_line":"        vol_drv_iter \u003d self._vol_drv_iter(context, instance, bdms)"},{"line_number":1472,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"5f7c97a3_3ac10230","line":1469,"in_reply_to":"5f7c97a3_d9226e01","updated":"2018-06-26 07:29:27.000000000","message":"This is needed since because we need to BDM as well as volume driver information while processing pre_live_migration.\n\nEarlier we were just passing vol_drvs. In order to update the BDM we need to pass the volume driver iterator which has the mapping for each volume driver with BDM.","commit_id":"ff1cd10d05357523eca6a0fc98b4e7abf44adcfc"},{"author":{"_account_id":12802,"name":"Carl Pecinovsky","email":"csky@us.ibm.com","username":"carl-sky"},"change_message_id":"433ca5a9f502b948d994b3b76aaeb70fb7fbfd63","unresolved":false,"context_lines":[{"line_number":1646,"context_line":"        :param context: security context"},{"line_number":1647,"context_line":"        :param instance: instance object that is migrated"},{"line_number":1648,"context_line":"        :param network_info: instance network information"},{"line_number":1649,"context_line":"        :param block_migration: if true, post operation of block_migration."},{"line_number":1650,"context_line":"        \"\"\""},{"line_number":1651,"context_line":"        LOG.info(\"Post live migration processing on destination host.\","},{"line_number":1652,"context_line":"                 instance\u003dinstance)"}],"source_content_type":"text/x-python","patch_set":15,"id":"5f7c97a3_a21bee19","line":1649,"updated":"2018-07-17 15:31:43.000000000","message":"Can you add block_device_info to the comment block here for completeness?","commit_id":"2ebe352595e13584c1714c14642c326d3f9caa26"},{"author":{"_account_id":14806,"name":"Chhavi Agarwal","email":"chhagarw@in.ibm.com","username":"chhagarw"},"change_message_id":"7100ba055b2986342af3cab1bc5941fe7f9040bf","unresolved":false,"context_lines":[{"line_number":1646,"context_line":"        :param context: security context"},{"line_number":1647,"context_line":"        :param instance: instance object that is migrated"},{"line_number":1648,"context_line":"        :param network_info: instance network information"},{"line_number":1649,"context_line":"        :param block_migration: if true, post operation of block_migration."},{"line_number":1650,"context_line":"        \"\"\""},{"line_number":1651,"context_line":"        LOG.info(\"Post live migration processing on destination host.\","},{"line_number":1652,"context_line":"                 instance\u003dinstance)"}],"source_content_type":"text/x-python","patch_set":15,"id":"5f7c97a3_236352df","line":1649,"in_reply_to":"5f7c97a3_a21bee19","updated":"2018-07-18 15:41:14.000000000","message":"Done","commit_id":"2ebe352595e13584c1714c14642c326d3f9caa26"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"92db2a946b317be27165004f5e6ffe2cfb3e1bbd","unresolved":false,"context_lines":[{"line_number":1655,"context_line":""},{"line_number":1656,"context_line":"        bdms \u003d self._extract_bdm(block_device_info)"},{"line_number":1657,"context_line":"        # Get a volume driver iterator for volume and BDM mapping"},{"line_number":1658,"context_line":"        vol_drv_iter \u003d self._vol_drv_iter(instance, bdms)"},{"line_number":1659,"context_line":""},{"line_number":1660,"context_line":"        # Run post live migration"},{"line_number":1661,"context_line":"        mig.post_live_migration_at_destination(network_info, vol_drv_iter)"}],"source_content_type":"text/x-python","patch_set":15,"id":"5f7c97a3_26e6094c","line":1658,"updated":"2018-07-17 21:28:14.000000000","message":"the bug you fixed here between ps12 and ps15 should have been caught in UT if we were using autospec\u003dTrue... please update the UTs to catch that in future.","commit_id":"2ebe352595e13584c1714c14642c326d3f9caa26"},{"author":{"_account_id":14806,"name":"Chhavi Agarwal","email":"chhagarw@in.ibm.com","username":"chhagarw"},"change_message_id":"7100ba055b2986342af3cab1bc5941fe7f9040bf","unresolved":false,"context_lines":[{"line_number":1655,"context_line":""},{"line_number":1656,"context_line":"        bdms \u003d self._extract_bdm(block_device_info)"},{"line_number":1657,"context_line":"        # Get a volume driver iterator for volume and BDM mapping"},{"line_number":1658,"context_line":"        vol_drv_iter \u003d self._vol_drv_iter(instance, bdms)"},{"line_number":1659,"context_line":""},{"line_number":1660,"context_line":"        # Run post live migration"},{"line_number":1661,"context_line":"        mig.post_live_migration_at_destination(network_info, vol_drv_iter)"}],"source_content_type":"text/x-python","patch_set":15,"id":"5f7c97a3_e358fa25","line":1658,"in_reply_to":"5f7c97a3_26e6094c","updated":"2018-07-18 15:41:14.000000000","message":"Done","commit_id":"2ebe352595e13584c1714c14642c326d3f9caa26"}],"nova_powervm/virt/powervm/live_migration.py":[{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"2a86417d50fe9c30dab10e91d569781cfc01e788","unresolved":false,"context_lines":[{"line_number":168,"context_line":"                vol_drv.pre_live_migration_on_destination("},{"line_number":169,"context_line":"                    migrate_data.vol_data)"},{"line_number":170,"context_line":"                # Save the BDM for the updated connection info with UDID"},{"line_number":171,"context_line":"                tf_stg.SaveBDM(bdm, self.instance).execute()"},{"line_number":172,"context_line":"            except Exception:"},{"line_number":173,"context_line":"                LOG.exception(\"PowerVM error preparing instance for live \""},{"line_number":174,"context_line":"                              \"migration.\", instance\u003dself.instance)"}],"source_content_type":"text/x-python","patch_set":6,"id":"5f7c97a3_30ca756d","line":171,"updated":"2018-06-26 18:59:30.000000000","message":"I don\u0027t think we can do this here. If the migration fails, we will have messed up the BDM information (it will be for the wrong host). I think we need to wait and do this in post_live_migration_at_destination, when we know the migration has succeeded.","commit_id":"77a1131024a531f92f3a0f702a4c8f2bc5dc48ee"},{"author":{"_account_id":14806,"name":"Chhavi Agarwal","email":"chhagarw@in.ibm.com","username":"chhagarw"},"change_message_id":"f9c86b60932327f85743b6156bea837dc224cecd","unresolved":false,"context_lines":[{"line_number":168,"context_line":"                vol_drv.pre_live_migration_on_destination("},{"line_number":169,"context_line":"                    migrate_data.vol_data)"},{"line_number":170,"context_line":"                # Save the BDM for the updated connection info with UDID"},{"line_number":171,"context_line":"                tf_stg.SaveBDM(bdm, self.instance).execute()"},{"line_number":172,"context_line":"            except Exception:"},{"line_number":173,"context_line":"                LOG.exception(\"PowerVM error preparing instance for live \""},{"line_number":174,"context_line":"                              \"migration.\", instance\u003dself.instance)"}],"source_content_type":"text/x-python","patch_set":6,"id":"5f7c97a3_ee541156","line":171,"in_reply_to":"5f7c97a3_30ca756d","updated":"2018-06-27 07:01:41.000000000","message":"yeah, I think it will be better to do this in post_live_migration_at_destination. I need to check how to get UDID information there, _get_udid can be used.","commit_id":"77a1131024a531f92f3a0f702a4c8f2bc5dc48ee"},{"author":{"_account_id":14532,"name":"Gerald McBrearty","email":"gfm@us.ibm.com","username":"gfm"},"change_message_id":"98fa0dd976ccee02e6c80f486df0a6e02d8c1280","unresolved":false,"context_lines":[{"line_number":168,"context_line":"                vol_drv.pre_live_migration_on_destination("},{"line_number":169,"context_line":"                    migrate_data.vol_data)"},{"line_number":170,"context_line":"                # Save the BDM for the updated connection info with UDID"},{"line_number":171,"context_line":"                tf_stg.SaveBDM(bdm, self.instance).execute()"},{"line_number":172,"context_line":"            except Exception:"},{"line_number":173,"context_line":"                LOG.exception(\"PowerVM error preparing instance for live \""},{"line_number":174,"context_line":"                              \"migration.\", instance\u003dself.instance)"}],"source_content_type":"text/x-python","patch_set":6,"id":"5f7c97a3_d27c5321","line":171,"in_reply_to":"5f7c97a3_4897383a","updated":"2018-06-27 14:04:35.000000000","message":"Does saving in the manager open new windows where the BDM may not match the real state during rollback?","commit_id":"77a1131024a531f92f3a0f702a4c8f2bc5dc48ee"},{"author":{"_account_id":14806,"name":"Chhavi Agarwal","email":"chhagarw@in.ibm.com","username":"chhagarw"},"change_message_id":"1d3c550a5990816e5cc18bda977485841f1577eb","unresolved":false,"context_lines":[{"line_number":168,"context_line":"                vol_drv.pre_live_migration_on_destination("},{"line_number":169,"context_line":"                    migrate_data.vol_data)"},{"line_number":170,"context_line":"                # Save the BDM for the updated connection info with UDID"},{"line_number":171,"context_line":"                tf_stg.SaveBDM(bdm, self.instance).execute()"},{"line_number":172,"context_line":"            except Exception:"},{"line_number":173,"context_line":"                LOG.exception(\"PowerVM error preparing instance for live \""},{"line_number":174,"context_line":"                              \"migration.\", instance\u003dself.instance)"}],"source_content_type":"text/x-python","patch_set":6,"id":"5f7c97a3_12572b5c","line":171,"in_reply_to":"5f7c97a3_4897383a","updated":"2018-06-27 13:36:11.000000000","message":"In that case than we can go with the vSCSI flow and have always perform the re-discovery.","commit_id":"77a1131024a531f92f3a0f702a4c8f2bc5dc48ee"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"12f4fe0735821a6b7ff6b580964234ced44b573b","unresolved":false,"context_lines":[{"line_number":168,"context_line":"                vol_drv.pre_live_migration_on_destination("},{"line_number":169,"context_line":"                    migrate_data.vol_data)"},{"line_number":170,"context_line":"                # Save the BDM for the updated connection info with UDID"},{"line_number":171,"context_line":"                tf_stg.SaveBDM(bdm, self.instance).execute()"},{"line_number":172,"context_line":"            except Exception:"},{"line_number":173,"context_line":"                LOG.exception(\"PowerVM error preparing instance for live \""},{"line_number":174,"context_line":"                              \"migration.\", instance\u003dself.instance)"}],"source_content_type":"text/x-python","patch_set":6,"id":"5f7c97a3_fb9a875e","line":171,"in_reply_to":"5f7c97a3_d27c5321","updated":"2018-06-27 15:31:01.000000000","message":"we can\u0027t do it in the manager, because we don\u0027t control the manager. That is nova code. But why does it need to happen in the manager? What\u0027s wrong with doing it in post_live_migration_at_destination? Isn\u0027t that better than doing it in the manager?","commit_id":"77a1131024a531f92f3a0f702a4c8f2bc5dc48ee"},{"author":{"_account_id":14806,"name":"Chhavi Agarwal","email":"chhagarw@in.ibm.com","username":"chhagarw"},"change_message_id":"1bdc2a1e2d1a1672d622c3cc1b904d93df32e10b","unresolved":false,"context_lines":[{"line_number":168,"context_line":"                vol_drv.pre_live_migration_on_destination("},{"line_number":169,"context_line":"                    migrate_data.vol_data)"},{"line_number":170,"context_line":"                # Save the BDM for the updated connection info with UDID"},{"line_number":171,"context_line":"                tf_stg.SaveBDM(bdm, self.instance).execute()"},{"line_number":172,"context_line":"            except Exception:"},{"line_number":173,"context_line":"                LOG.exception(\"PowerVM error preparing instance for live \""},{"line_number":174,"context_line":"                              \"migration.\", instance\u003dself.instance)"}],"source_content_type":"text/x-python","patch_set":6,"id":"5f7c97a3_d550bc62","line":171,"in_reply_to":"5f7c97a3_d27c5321","updated":"2018-06-27 16:00:27.000000000","message":"while saving the BDM, we need to be very sure, that its been taken care in the rollback and other code paths.\nAlso there can be a issue where BDM might have stale UDID information, and that can lead to disconnect failure. So after hearing all these comments, I am leaning towards what we had in patch 2, to keep aligned with vSCSI and have the re-discovery.","commit_id":"77a1131024a531f92f3a0f702a4c8f2bc5dc48ee"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"7376f6467769834be8ba3dbd5b236ebaef8ef2af","unresolved":false,"context_lines":[{"line_number":168,"context_line":"                vol_drv.pre_live_migration_on_destination("},{"line_number":169,"context_line":"                    migrate_data.vol_data)"},{"line_number":170,"context_line":"                # Save the BDM for the updated connection info with UDID"},{"line_number":171,"context_line":"                tf_stg.SaveBDM(bdm, self.instance).execute()"},{"line_number":172,"context_line":"            except Exception:"},{"line_number":173,"context_line":"                LOG.exception(\"PowerVM error preparing instance for live \""},{"line_number":174,"context_line":"                              \"migration.\", instance\u003dself.instance)"}],"source_content_type":"text/x-python","patch_set":6,"id":"5f7c97a3_369db6ba","line":171,"in_reply_to":"5f7c97a3_d550bc62","updated":"2018-07-06 19:59:48.000000000","message":"you haven\u0027t said when/why BDM might have stale UDID information. That seems like a solvable problem... and one that we indeed need to solve.","commit_id":"77a1131024a531f92f3a0f702a4c8f2bc5dc48ee"},{"author":{"_account_id":13002,"name":"Shyama","email":"shyvenug@in.ibm.com","username":"shyama"},"change_message_id":"8338cf4db65baa0cf96313a5f606e8e717f9bff4","unresolved":false,"context_lines":[{"line_number":168,"context_line":"                vol_drv.pre_live_migration_on_destination("},{"line_number":169,"context_line":"                    migrate_data.vol_data)"},{"line_number":170,"context_line":"                # Save the BDM for the updated connection info with UDID"},{"line_number":171,"context_line":"                tf_stg.SaveBDM(bdm, self.instance).execute()"},{"line_number":172,"context_line":"            except Exception:"},{"line_number":173,"context_line":"                LOG.exception(\"PowerVM error preparing instance for live \""},{"line_number":174,"context_line":"                              \"migration.\", instance\u003dself.instance)"}],"source_content_type":"text/x-python","patch_set":6,"id":"5f7c97a3_4897383a","line":171,"in_reply_to":"5f7c97a3_ee541156","updated":"2018-06-27 09:11:25.000000000","message":"Agree , saving anything in the BDM in the driver layer is not safe. BDM save should be done in manager. If a failure occurs in post-live migration we should be able to revert back properly.","commit_id":"77a1131024a531f92f3a0f702a4c8f2bc5dc48ee"},{"author":{"_account_id":14806,"name":"Chhavi Agarwal","email":"chhagarw@in.ibm.com","username":"chhagarw"},"change_message_id":"1bdc2a1e2d1a1672d622c3cc1b904d93df32e10b","unresolved":false,"context_lines":[{"line_number":168,"context_line":"                vol_drv.pre_live_migration_on_destination("},{"line_number":169,"context_line":"                    migrate_data.vol_data)"},{"line_number":170,"context_line":"                # Save the BDM for the updated connection info with UDID"},{"line_number":171,"context_line":"                tf_stg.SaveBDM(bdm, self.instance).execute()"},{"line_number":172,"context_line":"            except Exception:"},{"line_number":173,"context_line":"                LOG.exception(\"PowerVM error preparing instance for live \""},{"line_number":174,"context_line":"                              \"migration.\", instance\u003dself.instance)"}],"source_content_type":"text/x-python","patch_set":6,"id":"5f7c97a3_7e8ae51a","line":171,"in_reply_to":"5f7c97a3_fb9a875e","updated":"2018-06-27 16:00:27.000000000","message":"Saving and updating BDM are DB task, so its preferable and recommended to done at the manager layer.\nif the migration is failed for any reason then it should get reverted as well.\nFor detach and delete scenarios, it is not safe to just rely on BDM, as they can have a stale information, and it can end up leaving the VM left behind, where we can fetch the fresh information from re-discovery.","commit_id":"77a1131024a531f92f3a0f702a4c8f2bc5dc48ee"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"92db2a946b317be27165004f5e6ffe2cfb3e1bbd","unresolved":false,"context_lines":[{"line_number":194,"context_line":"        # The LPAR should be on this host now."},{"line_number":195,"context_line":"        LOG.debug(\"Post live migration at destination.\","},{"line_number":196,"context_line":"                  instance\u003dself.instance)"},{"line_number":197,"context_line":""},{"line_number":198,"context_line":"        # An unbounded dictionary that each volume adapter can use to persist"},{"line_number":199,"context_line":"        # data from one call to the next."},{"line_number":200,"context_line":"        # mig_vol_stor \u003d {}"},{"line_number":201,"context_line":""},{"line_number":202,"context_line":"        # For each volume, make sure it completes the migration"},{"line_number":203,"context_line":"        for bdm, vol_drv in vol_drv_iter:"}],"source_content_type":"text/x-python","patch_set":15,"id":"5f7c97a3_cb1b9e19","line":200,"range":{"start_line":197,"start_character":0,"end_line":200,"end_character":27},"updated":"2018-07-17 21:28:14.000000000","message":"if this is no longer needed, then remove it... NEVER just comment out code tracked by a version control system.","commit_id":"2ebe352595e13584c1714c14642c326d3f9caa26"},{"author":{"_account_id":14806,"name":"Chhavi Agarwal","email":"chhagarw@in.ibm.com","username":"chhagarw"},"change_message_id":"7100ba055b2986342af3cab1bc5941fe7f9040bf","unresolved":false,"context_lines":[{"line_number":194,"context_line":"        # The LPAR should be on this host now."},{"line_number":195,"context_line":"        LOG.debug(\"Post live migration at destination.\","},{"line_number":196,"context_line":"                  instance\u003dself.instance)"},{"line_number":197,"context_line":""},{"line_number":198,"context_line":"        # An unbounded dictionary that each volume adapter can use to persist"},{"line_number":199,"context_line":"        # data from one call to the next."},{"line_number":200,"context_line":"        # mig_vol_stor \u003d {}"},{"line_number":201,"context_line":""},{"line_number":202,"context_line":"        # For each volume, make sure it completes the migration"},{"line_number":203,"context_line":"        for bdm, vol_drv in vol_drv_iter:"}],"source_content_type":"text/x-python","patch_set":15,"id":"5f7c97a3_e3879ab2","line":200,"range":{"start_line":197,"start_character":0,"end_line":200,"end_character":27},"in_reply_to":"5f7c97a3_cb1b9e19","updated":"2018-07-18 15:41:14.000000000","message":"Done","commit_id":"2ebe352595e13584c1714c14642c326d3f9caa26"},{"author":{"_account_id":12802,"name":"Carl Pecinovsky","email":"csky@us.ibm.com","username":"carl-sky"},"change_message_id":"433ca5a9f502b948d994b3b76aaeb70fb7fbfd63","unresolved":false,"context_lines":[{"line_number":206,"context_line":"            try:"},{"line_number":207,"context_line":"                vol_drv.post_live_migration_at_destination("},{"line_number":208,"context_line":"                    self.pre_live_vol_data)"},{"line_number":209,"context_line":"                tf_stg.SaveBDM(bdm, self.instance).execute()"},{"line_number":210,"context_line":"            except Exception:"},{"line_number":211,"context_line":"                LOG.exception(\"PowerVM error cleaning up destination host \""},{"line_number":212,"context_line":"                              \"after migration.\", instance\u003dself.instance)"}],"source_content_type":"text/x-python","patch_set":15,"id":"5f7c97a3_22335e15","line":209,"updated":"2018-07-17 15:31:43.000000000","message":"I believe it would be helpful to add a comment here about what the SaveBDM is accomplishing...because there is not a clear connection here between self.pre_live_vol_data that is passed to the volume adapter and the bdm which is being persisted here. If updating one affects the other because they are nested or something, shouldn\u0027t we say that?","commit_id":"2ebe352595e13584c1714c14642c326d3f9caa26"},{"author":{"_account_id":14806,"name":"Chhavi Agarwal","email":"chhagarw@in.ibm.com","username":"chhagarw"},"change_message_id":"7100ba055b2986342af3cab1bc5941fe7f9040bf","unresolved":false,"context_lines":[{"line_number":206,"context_line":"            try:"},{"line_number":207,"context_line":"                vol_drv.post_live_migration_at_destination("},{"line_number":208,"context_line":"                    self.pre_live_vol_data)"},{"line_number":209,"context_line":"                tf_stg.SaveBDM(bdm, self.instance).execute()"},{"line_number":210,"context_line":"            except Exception:"},{"line_number":211,"context_line":"                LOG.exception(\"PowerVM error cleaning up destination host \""},{"line_number":212,"context_line":"                              \"after migration.\", instance\u003dself.instance)"}],"source_content_type":"text/x-python","patch_set":15,"id":"5f7c97a3_c38a9ebb","line":209,"in_reply_to":"5f7c97a3_22335e15","updated":"2018-07-18 15:41:14.000000000","message":"Done","commit_id":"2ebe352595e13584c1714c14642c326d3f9caa26"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"2c668e417d7e1b07ee5f4b6ffa9329afc871637b","unresolved":false,"context_lines":[{"line_number":202,"context_line":"            try:"},{"line_number":203,"context_line":"                vol_drv.post_live_migration_at_destination("},{"line_number":204,"context_line":"                    self.pre_live_vol_data)"},{"line_number":205,"context_line":"                # Save the BDM for the updated connection info if any."},{"line_number":206,"context_line":"                tf_stg.SaveBDM(bdm, self.instance).execute()"},{"line_number":207,"context_line":"            except Exception:"},{"line_number":208,"context_line":"                LOG.exception(\"PowerVM error cleaning up destination host \""}],"source_content_type":"text/x-python","patch_set":16,"id":"5f7c97a3_3754e7fc","line":205,"range":{"start_line":205,"start_character":63,"end_line":205,"end_character":69},"updated":"2018-07-18 12:26:14.000000000","message":"what do you mean, \"if any\"?","commit_id":"8aac035b4a7fec952625962e777ef4f62e4d03bc"},{"author":{"_account_id":14806,"name":"Chhavi Agarwal","email":"chhagarw@in.ibm.com","username":"chhagarw"},"change_message_id":"7100ba055b2986342af3cab1bc5941fe7f9040bf","unresolved":false,"context_lines":[{"line_number":202,"context_line":"            try:"},{"line_number":203,"context_line":"                vol_drv.post_live_migration_at_destination("},{"line_number":204,"context_line":"                    self.pre_live_vol_data)"},{"line_number":205,"context_line":"                # Save the BDM for the updated connection info if any."},{"line_number":206,"context_line":"                tf_stg.SaveBDM(bdm, self.instance).execute()"},{"line_number":207,"context_line":"            except Exception:"},{"line_number":208,"context_line":"                LOG.exception(\"PowerVM error cleaning up destination host \""}],"source_content_type":"text/x-python","patch_set":16,"id":"5f7c97a3_9d6ab9e9","line":205,"range":{"start_line":205,"start_character":63,"end_line":205,"end_character":69},"in_reply_to":"5f7c97a3_3754e7fc","updated":"2018-07-18 15:41:14.000000000","message":"Done","commit_id":"8aac035b4a7fec952625962e777ef4f62e4d03bc"}],"nova_powervm/virt/powervm/volume/iscsi.py":[{"author":{"_account_id":12802,"name":"Carl Pecinovsky","email":"csky@us.ibm.com","username":"carl-sky"},"change_message_id":"25a9b4fd63046d1787ec7db0fe3d4dd63a52bdd7","unresolved":false,"context_lines":[{"line_number":346,"context_line":"                if udid:"},{"line_number":347,"context_line":"                    # Get the device name using UniqueDeviceID Identifier."},{"line_number":348,"context_line":"                    device_name \u003d vios_w.hdisk_from_uuid(udid)"},{"line_number":349,"context_line":"                if not udid:"},{"line_number":350,"context_line":"                    # We lost the BDM data, re-discover the volume."},{"line_number":351,"context_line":"                    device_name \u003d self._discover_volume_on_vios(vios_w)[0]"},{"line_number":352,"context_line":"                if not device_name:"}],"source_content_type":"text/x-python","patch_set":2,"id":"5f7c97a3_5afa5a43","line":349,"updated":"2018-06-18 16:20:50.000000000","message":"Use \u0027elif\u0027 here?","commit_id":"67a69de1102b1e236350a6c3449afc7481ca5866"},{"author":{"_account_id":14806,"name":"Chhavi Agarwal","email":"chhagarw@in.ibm.com","username":"chhagarw"},"change_message_id":"657d033cbffd4d8f456564d1f3809e47caa0016d","unresolved":false,"context_lines":[{"line_number":346,"context_line":"                if udid:"},{"line_number":347,"context_line":"                    # Get the device name using UniqueDeviceID Identifier."},{"line_number":348,"context_line":"                    device_name \u003d vios_w.hdisk_from_uuid(udid)"},{"line_number":349,"context_line":"                if not udid:"},{"line_number":350,"context_line":"                    # We lost the BDM data, re-discover the volume."},{"line_number":351,"context_line":"                    device_name \u003d self._discover_volume_on_vios(vios_w)[0]"},{"line_number":352,"context_line":"                if not device_name:"}],"source_content_type":"text/x-python","patch_set":2,"id":"5f7c97a3_936f2f91","line":349,"in_reply_to":"5f7c97a3_20c3ac8c","updated":"2018-06-21 13:19:50.000000000","message":"Done","commit_id":"67a69de1102b1e236350a6c3449afc7481ca5866"},{"author":{"_account_id":14532,"name":"Gerald McBrearty","email":"gfm@us.ibm.com","username":"gfm"},"change_message_id":"648ddb57e027552aef089d62ce2cbcccb41b45fd","unresolved":false,"context_lines":[{"line_number":346,"context_line":"                if udid:"},{"line_number":347,"context_line":"                    # Get the device name using UniqueDeviceID Identifier."},{"line_number":348,"context_line":"                    device_name \u003d vios_w.hdisk_from_uuid(udid)"},{"line_number":349,"context_line":"                if not udid:"},{"line_number":350,"context_line":"                    # We lost the BDM data, re-discover the volume."},{"line_number":351,"context_line":"                    device_name \u003d self._discover_volume_on_vios(vios_w)[0]"},{"line_number":352,"context_line":"                if not device_name:"}],"source_content_type":"text/x-python","patch_set":2,"id":"5f7c97a3_43583256","line":349,"in_reply_to":"5f7c97a3_20c3ac8c","updated":"2018-06-18 19:51:25.000000000","message":"seems like just \"else\" to me","commit_id":"67a69de1102b1e236350a6c3449afc7481ca5866"},{"author":{"_account_id":14806,"name":"Chhavi Agarwal","email":"chhagarw@in.ibm.com","username":"chhagarw"},"change_message_id":"657d033cbffd4d8f456564d1f3809e47caa0016d","unresolved":false,"context_lines":[{"line_number":346,"context_line":"                if udid:"},{"line_number":347,"context_line":"                    # Get the device name using UniqueDeviceID Identifier."},{"line_number":348,"context_line":"                    device_name \u003d vios_w.hdisk_from_uuid(udid)"},{"line_number":349,"context_line":"                if not udid:"},{"line_number":350,"context_line":"                    # We lost the BDM data, re-discover the volume."},{"line_number":351,"context_line":"                    device_name \u003d self._discover_volume_on_vios(vios_w)[0]"},{"line_number":352,"context_line":"                if not device_name:"}],"source_content_type":"text/x-python","patch_set":2,"id":"5f7c97a3_536517ae","line":349,"in_reply_to":"5f7c97a3_43583256","updated":"2018-06-21 13:19:50.000000000","message":"Done","commit_id":"67a69de1102b1e236350a6c3449afc7481ca5866"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"f50db127d889fc16bc4a604aba486f1350500378","unresolved":false,"context_lines":[{"line_number":346,"context_line":"                if udid:"},{"line_number":347,"context_line":"                    # Get the device name using UniqueDeviceID Identifier."},{"line_number":348,"context_line":"                    device_name \u003d vios_w.hdisk_from_uuid(udid)"},{"line_number":349,"context_line":"                if not udid:"},{"line_number":350,"context_line":"                    # We lost the BDM data, re-discover the volume."},{"line_number":351,"context_line":"                    device_name \u003d self._discover_volume_on_vios(vios_w)[0]"},{"line_number":352,"context_line":"                if not device_name:"}],"source_content_type":"text/x-python","patch_set":2,"id":"5f7c97a3_20c3ac8c","line":349,"in_reply_to":"5f7c97a3_5afa5a43","updated":"2018-06-18 18:23:53.000000000","message":"or rather, just \u0027else\u0027","commit_id":"67a69de1102b1e236350a6c3449afc7481ca5866"},{"author":{"_account_id":14532,"name":"Gerald McBrearty","email":"gfm@us.ibm.com","username":"gfm"},"change_message_id":"648ddb57e027552aef089d62ce2cbcccb41b45fd","unresolved":false,"context_lines":[{"line_number":347,"context_line":"                    # Get the device name using UniqueDeviceID Identifier."},{"line_number":348,"context_line":"                    device_name \u003d vios_w.hdisk_from_uuid(udid)"},{"line_number":349,"context_line":"                if not udid:"},{"line_number":350,"context_line":"                    # We lost the BDM data, re-discover the volume."},{"line_number":351,"context_line":"                    device_name \u003d self._discover_volume_on_vios(vios_w)[0]"},{"line_number":352,"context_line":"                if not device_name:"},{"line_number":353,"context_line":"                    # No device_name information found"}],"source_content_type":"text/x-python","patch_set":2,"id":"5f7c97a3_a6811450","line":350,"updated":"2018-06-18 19:51:25.000000000","message":"It losing the BDM really a bug that needs tobe fixed? Instead of something we comment on? Or should we simply always be taking this path to get the device name?","commit_id":"67a69de1102b1e236350a6c3449afc7481ca5866"},{"author":{"_account_id":14806,"name":"Chhavi Agarwal","email":"chhagarw@in.ibm.com","username":"chhagarw"},"change_message_id":"657d033cbffd4d8f456564d1f3809e47caa0016d","unresolved":false,"context_lines":[{"line_number":347,"context_line":"                    # Get the device name using UniqueDeviceID Identifier."},{"line_number":348,"context_line":"                    device_name \u003d vios_w.hdisk_from_uuid(udid)"},{"line_number":349,"context_line":"                if not udid:"},{"line_number":350,"context_line":"                    # We lost the BDM data, re-discover the volume."},{"line_number":351,"context_line":"                    device_name \u003d self._discover_volume_on_vios(vios_w)[0]"},{"line_number":352,"context_line":"                if not device_name:"},{"line_number":353,"context_line":"                    # No device_name information found"}],"source_content_type":"text/x-python","patch_set":2,"id":"5f7c97a3_f32c634b","line":350,"in_reply_to":"5f7c97a3_a6811450","updated":"2018-06-21 13:19:50.000000000","message":"Updated the code to handle saving the BDM during the pre_live_migration flow, along with that it will be safe to keep the current flow as well, if in any situation we did not find the UDID it can re-discover, rather than just failing.","commit_id":"67a69de1102b1e236350a6c3449afc7481ca5866"},{"author":{"_account_id":14532,"name":"Gerald McBrearty","email":"gfm@us.ibm.com","username":"gfm"},"change_message_id":"0861e2604ae6504c6f4d845962dff573fbc12e1d","unresolved":false,"context_lines":[{"line_number":348,"context_line":"                    # Get the device name using UniqueDeviceID Identifier."},{"line_number":349,"context_line":"                    device_name \u003d vios_w.hdisk_from_uuid(udid)"},{"line_number":350,"context_line":"                else:"},{"line_number":351,"context_line":"                    # We lost the BDM data, re-discover the volume."},{"line_number":352,"context_line":"                    device_name \u003d self._discover_volume_on_vios(vios_w)[0]"},{"line_number":353,"context_line":"                if not device_name:"},{"line_number":354,"context_line":"                    # No device_name information found"}],"source_content_type":"text/x-python","patch_set":5,"id":"5f7c97a3_8050f3d6","line":351,"updated":"2018-06-25 18:49:15.000000000","message":"This makes it sound like a bug. Why can\u0027t we prevent the loss?","commit_id":"ff1cd10d05357523eca6a0fc98b4e7abf44adcfc"},{"author":{"_account_id":14806,"name":"Chhavi Agarwal","email":"chhagarw@in.ibm.com","username":"chhagarw"},"change_message_id":"aec83a9453cfb1fd0aca173996a1c14f74d22240","unresolved":false,"context_lines":[{"line_number":348,"context_line":"                    # Get the device name using UniqueDeviceID Identifier."},{"line_number":349,"context_line":"                    device_name \u003d vios_w.hdisk_from_uuid(udid)"},{"line_number":350,"context_line":"                else:"},{"line_number":351,"context_line":"                    # We lost the BDM data, re-discover the volume."},{"line_number":352,"context_line":"                    device_name \u003d self._discover_volume_on_vios(vios_w)[0]"},{"line_number":353,"context_line":"                if not device_name:"},{"line_number":354,"context_line":"                    # No device_name information found"}],"source_content_type":"text/x-python","patch_set":5,"id":"5f7c97a3_c4fb5578","line":351,"in_reply_to":"5f7c97a3_8050f3d6","updated":"2018-06-26 07:29:27.000000000","message":"This case has been handled during the migration and deploy, this is added to handle onboard scenarios, if the existing VM is managed, in that case during detach the volumes need to be rediscover.","commit_id":"ff1cd10d05357523eca6a0fc98b4e7abf44adcfc"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"2a86417d50fe9c30dab10e91d569781cfc01e788","unresolved":false,"context_lines":[{"line_number":348,"context_line":"                    # Get the device name using UniqueDeviceID Identifier."},{"line_number":349,"context_line":"                    device_name \u003d vios_w.hdisk_from_uuid(udid)"},{"line_number":350,"context_line":"                else:"},{"line_number":351,"context_line":"                    # We lost the BDM data, re-discover the volume."},{"line_number":352,"context_line":"                    device_name \u003d self._discover_volume_on_vios(vios_w)[0]"},{"line_number":353,"context_line":"                if not device_name:"},{"line_number":354,"context_line":"                    # No device_name information found"}],"source_content_type":"text/x-python","patch_set":6,"id":"5f7c97a3_dd71da0e","line":351,"updated":"2018-06-26 18:59:30.000000000","message":"I don\u0027t think this should still be necessary now that we\u0027re using SaveBDM. Keeping it will mask issues we should fix elsewhere. Please remove this else block.","commit_id":"77a1131024a531f92f3a0f702a4c8f2bc5dc48ee"},{"author":{"_account_id":14532,"name":"Gerald McBrearty","email":"gfm@us.ibm.com","username":"gfm"},"change_message_id":"98fa0dd976ccee02e6c80f486df0a6e02d8c1280","unresolved":false,"context_lines":[{"line_number":348,"context_line":"                    # Get the device name using UniqueDeviceID Identifier."},{"line_number":349,"context_line":"                    device_name \u003d vios_w.hdisk_from_uuid(udid)"},{"line_number":350,"context_line":"                else:"},{"line_number":351,"context_line":"                    # We lost the BDM data, re-discover the volume."},{"line_number":352,"context_line":"                    device_name \u003d self._discover_volume_on_vios(vios_w)[0]"},{"line_number":353,"context_line":"                if not device_name:"},{"line_number":354,"context_line":"                    # No device_name information found"}],"source_content_type":"text/x-python","patch_set":6,"id":"5f7c97a3_72f21f71","line":351,"in_reply_to":"5f7c97a3_2e41a963","updated":"2018-06-27 14:04:35.000000000","message":"What about rollback. Will we always have a UDID on rollback?","commit_id":"77a1131024a531f92f3a0f702a4c8f2bc5dc48ee"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"12f4fe0735821a6b7ff6b580964234ced44b573b","unresolved":false,"context_lines":[{"line_number":348,"context_line":"                    # Get the device name using UniqueDeviceID Identifier."},{"line_number":349,"context_line":"                    device_name \u003d vios_w.hdisk_from_uuid(udid)"},{"line_number":350,"context_line":"                else:"},{"line_number":351,"context_line":"                    # We lost the BDM data, re-discover the volume."},{"line_number":352,"context_line":"                    device_name \u003d self._discover_volume_on_vios(vios_w)[0]"},{"line_number":353,"context_line":"                if not device_name:"},{"line_number":354,"context_line":"                    # No device_name information found"}],"source_content_type":"text/x-python","patch_set":6,"id":"5f7c97a3_9b16f3f2","line":351,"in_reply_to":"5f7c97a3_2e41a963","updated":"2018-06-27 15:31:01.000000000","message":"there is no \"manage VM\" scenario. Remember, this is OpenStack, not PowerVC. If you need to do something specifically for PowerVC, then do that in PowerVC, not here.","commit_id":"77a1131024a531f92f3a0f702a4c8f2bc5dc48ee"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"12f4fe0735821a6b7ff6b580964234ced44b573b","unresolved":false,"context_lines":[{"line_number":348,"context_line":"                    # Get the device name using UniqueDeviceID Identifier."},{"line_number":349,"context_line":"                    device_name \u003d vios_w.hdisk_from_uuid(udid)"},{"line_number":350,"context_line":"                else:"},{"line_number":351,"context_line":"                    # We lost the BDM data, re-discover the volume."},{"line_number":352,"context_line":"                    device_name \u003d self._discover_volume_on_vios(vios_w)[0]"},{"line_number":353,"context_line":"                if not device_name:"},{"line_number":354,"context_line":"                    # No device_name information found"}],"source_content_type":"text/x-python","patch_set":6,"id":"5f7c97a3_fbc36738","line":351,"in_reply_to":"5f7c97a3_72f21f71","updated":"2018-06-27 15:31:01.000000000","message":"if we fix my other comment about doing this in post_live_migration instead of pre, then yes, right?","commit_id":"77a1131024a531f92f3a0f702a4c8f2bc5dc48ee"},{"author":{"_account_id":14806,"name":"Chhavi Agarwal","email":"chhagarw@in.ibm.com","username":"chhagarw"},"change_message_id":"128a8badb79a8ef7e8da43e3627be631513b845d","unresolved":false,"context_lines":[{"line_number":348,"context_line":"                    # Get the device name using UniqueDeviceID Identifier."},{"line_number":349,"context_line":"                    device_name \u003d vios_w.hdisk_from_uuid(udid)"},{"line_number":350,"context_line":"                else:"},{"line_number":351,"context_line":"                    # We lost the BDM data, re-discover the volume."},{"line_number":352,"context_line":"                    device_name \u003d self._discover_volume_on_vios(vios_w)[0]"},{"line_number":353,"context_line":"                if not device_name:"},{"line_number":354,"context_line":"                    # No device_name information found"}],"source_content_type":"text/x-python","patch_set":6,"id":"5f7c97a3_2e41a963","line":351,"in_reply_to":"5f7c97a3_dd71da0e","updated":"2018-06-27 07:11:35.000000000","message":"We still need to keep that for handling the manage VM scenarios, in that case also the connection_info does not contain the UDID.","commit_id":"77a1131024a531f92f3a0f702a4c8f2bc5dc48ee"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"2a86417d50fe9c30dab10e91d569781cfc01e788","unresolved":false,"context_lines":[{"line_number":351,"context_line":"                    # We lost the BDM data, re-discover the volume."},{"line_number":352,"context_line":"                    device_name \u003d self._discover_volume_on_vios(vios_w)[0]"},{"line_number":353,"context_line":"                if not device_name:"},{"line_number":354,"context_line":"                    # No device_name information found"},{"line_number":355,"context_line":""},{"line_number":356,"context_line":"                    # If we have no device name, at this point"},{"line_number":357,"context_line":"                    # we should not continue.  Subsequent scrub code on future"}],"source_content_type":"text/x-python","patch_set":6,"id":"5f7c97a3_1d551250","line":354,"updated":"2018-06-26 18:59:30.000000000","message":"this is a pointless comment, just restating the previous line. Please remove.","commit_id":"77a1131024a531f92f3a0f702a4c8f2bc5dc48ee"},{"author":{"_account_id":14806,"name":"Chhavi Agarwal","email":"chhagarw@in.ibm.com","username":"chhagarw"},"change_message_id":"128a8badb79a8ef7e8da43e3627be631513b845d","unresolved":false,"context_lines":[{"line_number":351,"context_line":"                    # We lost the BDM data, re-discover the volume."},{"line_number":352,"context_line":"                    device_name \u003d self._discover_volume_on_vios(vios_w)[0]"},{"line_number":353,"context_line":"                if not device_name:"},{"line_number":354,"context_line":"                    # No device_name information found"},{"line_number":355,"context_line":""},{"line_number":356,"context_line":"                    # If we have no device name, at this point"},{"line_number":357,"context_line":"                    # we should not continue.  Subsequent scrub code on future"}],"source_content_type":"text/x-python","patch_set":6,"id":"5f7c97a3_ee5e5143","line":354,"in_reply_to":"5f7c97a3_1d551250","updated":"2018-06-27 07:11:35.000000000","message":"ok","commit_id":"77a1131024a531f92f3a0f702a4c8f2bc5dc48ee"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"7376f6467769834be8ba3dbd5b236ebaef8ef2af","unresolved":false,"context_lines":[{"line_number":344,"context_line":"            device_name \u003d None"},{"line_number":345,"context_line":"            try:"},{"line_number":346,"context_line":"                udid \u003d self._get_udid()"},{"line_number":347,"context_line":"                if udid:"},{"line_number":348,"context_line":"                    # Get the device name using UniqueDeviceID Identifier."},{"line_number":349,"context_line":"                    device_name \u003d vios_w.hdisk_from_uuid(udid)"},{"line_number":350,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"5f7c97a3_73f3406e","line":347,"updated":"2018-07-06 19:59:48.000000000","message":"we should always have udid, so you don\u0027t need an \"if udid\" here. To be on the safe side we can have an \"if not udid\" block that prints a nasty LOG error that we should go investigate if that ever happens and fix elsewhere (because by the time we get here we should always have udid).","commit_id":"ee314456909034fdd275e280bd30307fc2c473a9"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"7376f6467769834be8ba3dbd5b236ebaef8ef2af","unresolved":false,"context_lines":[{"line_number":348,"context_line":"                    # Get the device name using UniqueDeviceID Identifier."},{"line_number":349,"context_line":"                    device_name \u003d vios_w.hdisk_from_uuid(udid)"},{"line_number":350,"context_line":""},{"line_number":351,"context_line":"                if not udid or not device_name:"},{"line_number":352,"context_line":"                    # BDM connection_info does not have UDID"},{"line_number":353,"context_line":"                    # re-discover the volume."},{"line_number":354,"context_line":"                    device_name \u003d self._discover_volume_on_vios(vios_w)[0]"}],"source_content_type":"text/x-python","patch_set":9,"id":"5f7c97a3_b3ca3843","line":351,"updated":"2018-07-06 19:59:48.000000000","message":"we should always have udid because we save that (and if we\u0027re not saving it properly in some case, we need to track that down and solve it elsewhere), so you don\u0027t need to check for \"not udid\" here.","commit_id":"ee314456909034fdd275e280bd30307fc2c473a9"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"7376f6467769834be8ba3dbd5b236ebaef8ef2af","unresolved":false,"context_lines":[{"line_number":349,"context_line":"                    device_name \u003d vios_w.hdisk_from_uuid(udid)"},{"line_number":350,"context_line":""},{"line_number":351,"context_line":"                if not udid or not device_name:"},{"line_number":352,"context_line":"                    # BDM connection_info does not have UDID"},{"line_number":353,"context_line":"                    # re-discover the volume."},{"line_number":354,"context_line":"                    device_name \u003d self._discover_volume_on_vios(vios_w)[0]"},{"line_number":355,"context_line":"                    if not device_name:"}],"source_content_type":"text/x-python","patch_set":9,"id":"5f7c97a3_d3fa5475","line":352,"updated":"2018-07-06 19:59:48.000000000","message":"this comment is incorrect... We should always have udid, as noted in my previous comments. What we don\u0027t have here is device_name.\n\nAnd why is that? The vios_w should always have the STOR XAG when hdisk_from_uuid is called on L349, so that can\u0027t be the problem. Is there another reason hdisk_from_uuid might not be able to turn the udid into a device_name, and if so what is that? Until we identify that, we have no reason to do rediscovery here that I can see.","commit_id":"ee314456909034fdd275e280bd30307fc2c473a9"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"f01ccb02c16981ec26ab27d7a86983d2a7437b30","unresolved":false,"context_lines":[{"line_number":158,"context_line":"                LOG.debug(\"Discovered volume udid %(udid)s on vios %(name)s\","},{"line_number":159,"context_line":"                          dict(udid\u003dudid, name\u003dvios_w.name))"},{"line_number":160,"context_line":"                mig_data[volume_key] \u003d udid"},{"line_number":161,"context_line":"                self._set_udid(udid)"},{"line_number":162,"context_line":""},{"line_number":163,"context_line":"        if volume_key not in mig_data:"},{"line_number":164,"context_line":"            LOG.debug(\"Failed to discover the volume\")"}],"source_content_type":"text/x-python","patch_set":15,"id":"5f7c97a3_46df850b","line":161,"updated":"2018-07-17 21:34:08.000000000","message":"is this still needed, now that we\u0027re doing that on line 174? I suspect not...","commit_id":"2ebe352595e13584c1714c14642c326d3f9caa26"},{"author":{"_account_id":14806,"name":"Chhavi Agarwal","email":"chhagarw@in.ibm.com","username":"chhagarw"},"change_message_id":"7100ba055b2986342af3cab1bc5941fe7f9040bf","unresolved":false,"context_lines":[{"line_number":158,"context_line":"                LOG.debug(\"Discovered volume udid %(udid)s on vios %(name)s\","},{"line_number":159,"context_line":"                          dict(udid\u003dudid, name\u003dvios_w.name))"},{"line_number":160,"context_line":"                mig_data[volume_key] \u003d udid"},{"line_number":161,"context_line":"                self._set_udid(udid)"},{"line_number":162,"context_line":""},{"line_number":163,"context_line":"        if volume_key not in mig_data:"},{"line_number":164,"context_line":"            LOG.debug(\"Failed to discover the volume\")"}],"source_content_type":"text/x-python","patch_set":15,"id":"5f7c97a3_b8eb11a3","line":161,"in_reply_to":"5f7c97a3_46df850b","updated":"2018-07-18 15:41:14.000000000","message":"now its not needed in pre, since it has to be done during post","commit_id":"2ebe352595e13584c1714c14642c326d3f9caa26"}]}
