)]}'
{"nova_powervm/tests/virt/powervm/volume/test_fileio.py":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"c1b5916bfdbee0d2d8bcf2ae9d443f420264d5fa","unresolved":false,"context_lines":[{"line_number":145,"context_line":"        mock_rescan.side_effect \u003d pvm_exc.VstorNotFound("},{"line_number":146,"context_line":"            stor_udid\u003d\u0027stor_udid\u0027, vios_uuid\u003d\u0027uuid\u0027)"},{"line_number":147,"context_line":"        self.assertRaises(p_exc.VolumeExtendFailed, self.vol_drv.extend_volume)"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"    @mock.patch(\u0027pypowervm.entities.Entry.uuid\u0027,"},{"line_number":150,"context_line":"                new_callable\u003dmock.PropertyMock)"},{"line_number":151,"context_line":"    @mock.patch(\u0027pypowervm.tasks.partition.get_mgmt_partition\u0027)"}],"source_content_type":"text/x-python","patch_set":3,"id":"3f4b6375_851ea75c","line":148,"updated":"2017-11-03 21:35:18.000000000","message":"I wouldn\u0027t mind seeing an additional test case for more than one VIOS, where one of them raises VstorNotFound, the other succeeds, and the whole thing passes.","commit_id":"e7c689a0e81957307f471d0a75161cd7c5bdbb1c"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"dec1b4b67bd4d333fe9f3876058774fc7d6e8cd7","unresolved":false,"context_lines":[{"line_number":145,"context_line":"        mock_rescan.side_effect \u003d pvm_exc.VstorNotFound("},{"line_number":146,"context_line":"            stor_udid\u003d\u0027stor_udid\u0027, vios_uuid\u003d\u0027uuid\u0027)"},{"line_number":147,"context_line":"        self.assertRaises(p_exc.VolumeExtendFailed, self.vol_drv.extend_volume)"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"    @mock.patch(\u0027pypowervm.entities.Entry.uuid\u0027,"},{"line_number":150,"context_line":"                new_callable\u003dmock.PropertyMock)"},{"line_number":151,"context_line":"    @mock.patch(\u0027pypowervm.tasks.partition.get_mgmt_partition\u0027)"}],"source_content_type":"text/x-python","patch_set":3,"id":"1f485f77_4309392f","line":148,"in_reply_to":"1f485f77_0eadb330","updated":"2017-11-13 23:18:13.000000000","message":"Let\u0027s make a comment to that effect here. Should reduce the risk of copying this code for another driver that does support multiple vios_uuids without adding a test for that.","commit_id":"e7c689a0e81957307f471d0a75161cd7c5bdbb1c"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"ccd16467bd9a75caab19aaaf6b6f77d7f6bd5faa","unresolved":false,"context_lines":[{"line_number":145,"context_line":"        mock_rescan.side_effect \u003d pvm_exc.VstorNotFound("},{"line_number":146,"context_line":"            stor_udid\u003d\u0027stor_udid\u0027, vios_uuid\u003d\u0027uuid\u0027)"},{"line_number":147,"context_line":"        self.assertRaises(p_exc.VolumeExtendFailed, self.vol_drv.extend_volume)"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"    @mock.patch(\u0027pypowervm.entities.Entry.uuid\u0027,"},{"line_number":150,"context_line":"                new_callable\u003dmock.PropertyMock)"},{"line_number":151,"context_line":"    @mock.patch(\u0027pypowervm.tasks.partition.get_mgmt_partition\u0027)"}],"source_content_type":"text/x-python","patch_set":3,"id":"1f485f77_8469608c","line":148,"in_reply_to":"1f485f77_4309392f","updated":"2017-11-14 19:06:19.000000000","message":"Like the next patch in the series :)","commit_id":"e7c689a0e81957307f471d0a75161cd7c5bdbb1c"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"3f28e76d72366a145a2c242f53ba2c45f59bb3fa","unresolved":false,"context_lines":[{"line_number":145,"context_line":"        mock_rescan.side_effect \u003d pvm_exc.VstorNotFound("},{"line_number":146,"context_line":"            stor_udid\u003d\u0027stor_udid\u0027, vios_uuid\u003d\u0027uuid\u0027)"},{"line_number":147,"context_line":"        self.assertRaises(p_exc.VolumeExtendFailed, self.vol_drv.extend_volume)"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"    @mock.patch(\u0027pypowervm.entities.Entry.uuid\u0027,"},{"line_number":150,"context_line":"                new_callable\u003dmock.PropertyMock)"},{"line_number":151,"context_line":"    @mock.patch(\u0027pypowervm.tasks.partition.get_mgmt_partition\u0027)"}],"source_content_type":"text/x-python","patch_set":3,"id":"1f485f77_44c248eb","line":148,"in_reply_to":"1f485f77_8469608c","updated":"2017-11-14 19:21:35.000000000","message":"Done","commit_id":"e7c689a0e81957307f471d0a75161cd7c5bdbb1c"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"57afb809dbabb242cb056cbbcdc72453141184b4","unresolved":false,"context_lines":[{"line_number":145,"context_line":"        mock_rescan.side_effect \u003d pvm_exc.VstorNotFound("},{"line_number":146,"context_line":"            stor_udid\u003d\u0027stor_udid\u0027, vios_uuid\u003d\u0027uuid\u0027)"},{"line_number":147,"context_line":"        self.assertRaises(p_exc.VolumeExtendFailed, self.vol_drv.extend_volume)"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"    @mock.patch(\u0027pypowervm.entities.Entry.uuid\u0027,"},{"line_number":150,"context_line":"                new_callable\u003dmock.PropertyMock)"},{"line_number":151,"context_line":"    @mock.patch(\u0027pypowervm.tasks.partition.get_mgmt_partition\u0027)"}],"source_content_type":"text/x-python","patch_set":3,"id":"1f485f77_0eadb330","line":148,"in_reply_to":"3f4b6375_851ea75c","updated":"2017-11-13 15:27:49.000000000","message":"Our fileio driver can only have 1 uuid in `vios_uuids`","commit_id":"e7c689a0e81957307f471d0a75161cd7c5bdbb1c"}],"nova_powervm/virt/powervm/volume/driver.py":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"e8be707ab585804ee603caca3012149fbeb286b5","unresolved":false,"context_lines":[{"line_number":250,"context_line":"                              \"UUID %(uuid)s\","},{"line_number":251,"context_line":"                              {\u0027vol\u0027: self.volume_id, \u0027uuid\u0027: vios_uuid},"},{"line_number":252,"context_line":"                              instance\u003dself.instance)"},{"line_number":253,"context_line":"        if not resized:"},{"line_number":254,"context_line":"            raise exc.VolumeExtendFailed(volume_id\u003dself.volume_id,"},{"line_number":255,"context_line":"                                         instance_name\u003dself.instance.name)"},{"line_number":256,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"7f515b1d_c778782c","line":253,"range":{"start_line":253,"start_character":15,"end_line":253,"end_character":22},"updated":"2017-10-06 11:49:23.000000000","message":"So we\u0027re cool if the resize succeeded on one VIOS but not the other?\n\nCan I get a little explanation as to how that works?","commit_id":"90c75b34cefcf011bdf31830ce730440531cfc1f"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"e921a050f77ef5243715c4df3832f654f2ef9151","unresolved":false,"context_lines":[{"line_number":250,"context_line":"                              \"UUID %(uuid)s\","},{"line_number":251,"context_line":"                              {\u0027vol\u0027: self.volume_id, \u0027uuid\u0027: vios_uuid},"},{"line_number":252,"context_line":"                              instance\u003dself.instance)"},{"line_number":253,"context_line":"        if not resized:"},{"line_number":254,"context_line":"            raise exc.VolumeExtendFailed(volume_id\u003dself.volume_id,"},{"line_number":255,"context_line":"                                         instance_name\u003dself.instance.name)"},{"line_number":256,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"7f515b1d_dc804e49","line":253,"range":{"start_line":253,"start_character":15,"end_line":253,"end_character":22},"in_reply_to":"7f515b1d_c778782c","updated":"2017-10-06 13:06:19.000000000","message":"Not every VIOS will have the mapping (msp for example).\nI think the other option here is to look at the all the scsi mappings for all the self.vios_uuids then only run the rescan_vstor if the vios has the device udid.\nBut this would involve gets for each vios, and searching through all the scsi_mappings","commit_id":"90c75b34cefcf011bdf31830ce730440531cfc1f"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"05d76c8ffff4c32627c193168eda64a32ada6237","unresolved":false,"context_lines":[{"line_number":250,"context_line":"                              \"UUID %(uuid)s\","},{"line_number":251,"context_line":"                              {\u0027vol\u0027: self.volume_id, \u0027uuid\u0027: vios_uuid},"},{"line_number":252,"context_line":"                              instance\u003dself.instance)"},{"line_number":253,"context_line":"        if not resized:"},{"line_number":254,"context_line":"            raise exc.VolumeExtendFailed(volume_id\u003dself.volume_id,"},{"line_number":255,"context_line":"                                         instance_name\u003dself.instance.name)"},{"line_number":256,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"7f515b1d_521685f3","line":253,"range":{"start_line":253,"start_character":15,"end_line":253,"end_character":22},"in_reply_to":"7f515b1d_dc804e49","updated":"2017-10-06 14:07:07.000000000","message":"Then perhaps what\u0027s needed is for the REST API to provide granular failure codes, so you can tell if we blew up because there was no such mapping (which we would ignore) or something else (which we would reraise once we\u0027re done trying \u0027em all).","commit_id":"90c75b34cefcf011bdf31830ce730440531cfc1f"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"4f428931c1643a7afaa393ab5ea6d3f30e3b50b0","unresolved":false,"context_lines":[{"line_number":257,"context_line":"                              \"UUID %(uuid)s\","},{"line_number":258,"context_line":"                              {\u0027vol\u0027: self.volume_id, \u0027uuid\u0027: vios_uuid},"},{"line_number":259,"context_line":"                              instance\u003dself.instance)"},{"line_number":260,"context_line":"        if not resized:"},{"line_number":261,"context_line":"            if error:"},{"line_number":262,"context_line":"                raise error"},{"line_number":263,"context_line":"            raise exc.VolumeExtendFailed(volume_id\u003dself.volume_id,"},{"line_number":264,"context_line":"                                         instance_name\u003dself.instance.name)"},{"line_number":265,"context_line":""},{"line_number":266,"context_line":"    def disconnect_volume(self, slot_mgr):"},{"line_number":267,"context_line":"        \"\"\"Disconnect the volume."}],"source_content_type":"text/x-python","patch_set":2,"id":"3f4b6375_84a117ac","line":264,"range":{"start_line":260,"start_character":0,"end_line":264,"end_character":74},"updated":"2017-11-03 13:10:42.000000000","message":"This is crazy.\n\nFirst, if you `raise error` from here, you lose the context (stack trace) of the original exception.  Second, I would have expected you want to ignore VstorNotFound and convert JobRequestFailed into VolumeExtendFailed (which is what the test case seems to be expecting), but you\u0027re doing the opposite.","commit_id":"098350150b30640b6cdf55ec46594f8466a911ec"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"068fdabedba0e27bb9828055a5ba5cf7e8b92387","unresolved":false,"context_lines":[{"line_number":257,"context_line":"                              \"UUID %(uuid)s\","},{"line_number":258,"context_line":"                              {\u0027vol\u0027: self.volume_id, \u0027uuid\u0027: vios_uuid},"},{"line_number":259,"context_line":"                              instance\u003dself.instance)"},{"line_number":260,"context_line":"        if not resized:"},{"line_number":261,"context_line":"            if error:"},{"line_number":262,"context_line":"                raise error"},{"line_number":263,"context_line":"            raise exc.VolumeExtendFailed(volume_id\u003dself.volume_id,"},{"line_number":264,"context_line":"                                         instance_name\u003dself.instance.name)"},{"line_number":265,"context_line":""},{"line_number":266,"context_line":"    def disconnect_volume(self, slot_mgr):"},{"line_number":267,"context_line":"        \"\"\"Disconnect the volume."}],"source_content_type":"text/x-python","patch_set":2,"id":"3f4b6375_a789ab75","line":264,"range":{"start_line":260,"start_character":0,"end_line":264,"end_character":74},"in_reply_to":"3f4b6375_84a117ac","updated":"2017-11-03 19:36:55.000000000","message":"Done","commit_id":"098350150b30640b6cdf55ec46594f8466a911ec"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"dec1b4b67bd4d333fe9f3876058774fc7d6e8cd7","unresolved":false,"context_lines":[{"line_number":15,"context_line":"#    under the License."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"import abc"},{"line_number":18,"context_line":"from oslo_log import log as logging"},{"line_number":19,"context_line":"import six"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"from pypowervm import exceptions as pvm_exc"}],"source_content_type":"text/x-python","patch_set":3,"id":"1f485f77_031d81bc","line":18,"updated":"2017-11-13 23:18:13.000000000","message":"nit: this should really be in the next section of imports along with pypowervm. The first section is supposed to be for built-ins, second is third-party, and 3rd is the current module.","commit_id":"e7c689a0e81957307f471d0a75161cd7c5bdbb1c"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"dec1b4b67bd4d333fe9f3876058774fc7d6e8cd7","unresolved":false,"context_lines":[{"line_number":247,"context_line":"                tsk_stg.rescan_vstor(vios_uuid, udid, adapter\u003dself.adapter)"},{"line_number":248,"context_line":"                resized \u003d True"},{"line_number":249,"context_line":"            except pvm_exc.VstorNotFound:"},{"line_number":250,"context_line":"                LOG.info(\"Failed to find volume %(vol)s for VIOS \""},{"line_number":251,"context_line":"                         \"UUID %(uuid)s\","},{"line_number":252,"context_line":"                         {\u0027vol\u0027: self.volume_id, \u0027uuid\u0027: vios_uuid},"},{"line_number":253,"context_line":"                         instance\u003dself.instance)"}],"source_content_type":"text/x-python","patch_set":3,"id":"1f485f77_c309a995","line":250,"updated":"2017-11-13 23:18:13.000000000","message":"This is a really generic message. We could add something to indicate this is part of the extend volume flow to help someone understand what this is about if they see it in the logs.\n\nAnd I think I would lean toward making this a warning. Was there some reasoning behind using the info log level instead?","commit_id":"e7c689a0e81957307f471d0a75161cd7c5bdbb1c"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"7b3948c6587dd1e2cea4e207308973a3395cf9a3","unresolved":false,"context_lines":[{"line_number":247,"context_line":"                tsk_stg.rescan_vstor(vios_uuid, udid, adapter\u003dself.adapter)"},{"line_number":248,"context_line":"                resized \u003d True"},{"line_number":249,"context_line":"            except pvm_exc.VstorNotFound:"},{"line_number":250,"context_line":"                LOG.info(\"Failed to find volume %(vol)s for VIOS \""},{"line_number":251,"context_line":"                         \"UUID %(uuid)s\","},{"line_number":252,"context_line":"                         {\u0027vol\u0027: self.volume_id, \u0027uuid\u0027: vios_uuid},"},{"line_number":253,"context_line":"                         instance\u003dself.instance)"}],"source_content_type":"text/x-python","patch_set":3,"id":"1f485f77_c4f51885","line":250,"in_reply_to":"1f485f77_a41d7c67","updated":"2017-11-14 19:18:36.000000000","message":"ah, true. So info is fine.","commit_id":"e7c689a0e81957307f471d0a75161cd7c5bdbb1c"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"3f28e76d72366a145a2c242f53ba2c45f59bb3fa","unresolved":false,"context_lines":[{"line_number":247,"context_line":"                tsk_stg.rescan_vstor(vios_uuid, udid, adapter\u003dself.adapter)"},{"line_number":248,"context_line":"                resized \u003d True"},{"line_number":249,"context_line":"            except pvm_exc.VstorNotFound:"},{"line_number":250,"context_line":"                LOG.info(\"Failed to find volume %(vol)s for VIOS \""},{"line_number":251,"context_line":"                         \"UUID %(uuid)s\","},{"line_number":252,"context_line":"                         {\u0027vol\u0027: self.volume_id, \u0027uuid\u0027: vios_uuid},"},{"line_number":253,"context_line":"                         instance\u003dself.instance)"}],"source_content_type":"text/x-python","patch_set":3,"id":"1f485f77_44880870","line":250,"in_reply_to":"1f485f77_c309a995","updated":"2017-11-14 19:21:35.000000000","message":"Done","commit_id":"e7c689a0e81957307f471d0a75161cd7c5bdbb1c"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"ccd16467bd9a75caab19aaaf6b6f77d7f6bd5faa","unresolved":false,"context_lines":[{"line_number":247,"context_line":"                tsk_stg.rescan_vstor(vios_uuid, udid, adapter\u003dself.adapter)"},{"line_number":248,"context_line":"                resized \u003d True"},{"line_number":249,"context_line":"            except pvm_exc.VstorNotFound:"},{"line_number":250,"context_line":"                LOG.info(\"Failed to find volume %(vol)s for VIOS \""},{"line_number":251,"context_line":"                         \"UUID %(uuid)s\","},{"line_number":252,"context_line":"                         {\u0027vol\u0027: self.volume_id, \u0027uuid\u0027: vios_uuid},"},{"line_number":253,"context_line":"                         instance\u003dself.instance)"}],"source_content_type":"text/x-python","patch_set":3,"id":"1f485f77_a41d7c67","line":250,"in_reply_to":"1f485f77_c309a995","updated":"2017-11-14 19:06:19.000000000","message":"I think because it\u0027s a pretty normal thing for the volume to be on one VIOS but not the other.","commit_id":"e7c689a0e81957307f471d0a75161cd7c5bdbb1c"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"c1b5916bfdbee0d2d8bcf2ae9d443f420264d5fa","unresolved":false,"context_lines":[{"line_number":258,"context_line":"                          {\u0027vol\u0027: self.volume_id, \u0027uuid\u0027: vios_uuid,"},{"line_number":259,"context_line":"                           \u0027reason\u0027: six.text_type(e)}, instance\u003dself.instance)"},{"line_number":260,"context_line":"        if not resized or error:"},{"line_number":261,"context_line":"            raise exc.VolumeExtendFailed(volume_id\u003dself.volume_id,"},{"line_number":262,"context_line":"                                         instance_name\u003dself.instance.name)"},{"line_number":263,"context_line":""},{"line_number":264,"context_line":"    def disconnect_volume(self, slot_mgr):"}],"source_content_type":"text/x-python","patch_set":3,"id":"3f4b6375_45130f5d","line":261,"updated":"2017-11-03 21:35:18.000000000","message":"Yusss, this looks a lot better to me.","commit_id":"e7c689a0e81957307f471d0a75161cd7c5bdbb1c"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"ccd16467bd9a75caab19aaaf6b6f77d7f6bd5faa","unresolved":false,"context_lines":[{"line_number":258,"context_line":"                          {\u0027vol\u0027: self.volume_id, \u0027uuid\u0027: vios_uuid,"},{"line_number":259,"context_line":"                           \u0027reason\u0027: six.text_type(e)}, instance\u003dself.instance)"},{"line_number":260,"context_line":"        if not resized or error:"},{"line_number":261,"context_line":"            raise exc.VolumeExtendFailed(volume_id\u003dself.volume_id,"},{"line_number":262,"context_line":"                                         instance_name\u003dself.instance.name)"},{"line_number":263,"context_line":""},{"line_number":264,"context_line":"    def disconnect_volume(self, slot_mgr):"}],"source_content_type":"text/x-python","patch_set":3,"id":"1f485f77_24f4ecf1","line":261,"in_reply_to":"1f485f77_23acfd32","updated":"2017-11-14 19:06:19.000000000","message":"Disagree.  If the volume happens to be on both VIOSes, and we succeed with one of them, but get JobRequestFailed on the other, things are in a bad state and we need to raise the exception.  Reword the exception instead.","commit_id":"e7c689a0e81957307f471d0a75161cd7c5bdbb1c"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"3f28e76d72366a145a2c242f53ba2c45f59bb3fa","unresolved":false,"context_lines":[{"line_number":258,"context_line":"                          {\u0027vol\u0027: self.volume_id, \u0027uuid\u0027: vios_uuid,"},{"line_number":259,"context_line":"                           \u0027reason\u0027: six.text_type(e)}, instance\u003dself.instance)"},{"line_number":260,"context_line":"        if not resized or error:"},{"line_number":261,"context_line":"            raise exc.VolumeExtendFailed(volume_id\u003dself.volume_id,"},{"line_number":262,"context_line":"                                         instance_name\u003dself.instance.name)"},{"line_number":263,"context_line":""},{"line_number":264,"context_line":"    def disconnect_volume(self, slot_mgr):"}],"source_content_type":"text/x-python","patch_set":3,"id":"1f485f77_4499281d","line":261,"in_reply_to":"1f485f77_24f4ecf1","updated":"2017-11-14 19:21:35.000000000","message":"Updated the error message","commit_id":"e7c689a0e81957307f471d0a75161cd7c5bdbb1c"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"7b3948c6587dd1e2cea4e207308973a3395cf9a3","unresolved":false,"context_lines":[{"line_number":258,"context_line":"                          {\u0027vol\u0027: self.volume_id, \u0027uuid\u0027: vios_uuid,"},{"line_number":259,"context_line":"                           \u0027reason\u0027: six.text_type(e)}, instance\u003dself.instance)"},{"line_number":260,"context_line":"        if not resized or error:"},{"line_number":261,"context_line":"            raise exc.VolumeExtendFailed(volume_id\u003dself.volume_id,"},{"line_number":262,"context_line":"                                         instance_name\u003dself.instance.name)"},{"line_number":263,"context_line":""},{"line_number":264,"context_line":"    def disconnect_volume(self, slot_mgr):"}],"source_content_type":"text/x-python","patch_set":3,"id":"1f485f77_a4221cff","line":261,"in_reply_to":"1f485f77_24f4ecf1","updated":"2017-11-14 19:18:36.000000000","message":"ok, makes sense.","commit_id":"e7c689a0e81957307f471d0a75161cd7c5bdbb1c"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"dec1b4b67bd4d333fe9f3876058774fc7d6e8cd7","unresolved":false,"context_lines":[{"line_number":258,"context_line":"                          {\u0027vol\u0027: self.volume_id, \u0027uuid\u0027: vios_uuid,"},{"line_number":259,"context_line":"                           \u0027reason\u0027: six.text_type(e)}, instance\u003dself.instance)"},{"line_number":260,"context_line":"        if not resized or error:"},{"line_number":261,"context_line":"            raise exc.VolumeExtendFailed(volume_id\u003dself.volume_id,"},{"line_number":262,"context_line":"                                         instance_name\u003dself.instance.name)"},{"line_number":263,"context_line":""},{"line_number":264,"context_line":"    def disconnect_volume(self, slot_mgr):"}],"source_content_type":"text/x-python","patch_set":3,"id":"1f485f77_23acfd32","line":261,"in_reply_to":"3f4b6375_45130f5d","updated":"2017-11-13 23:18:13.000000000","message":"The message for VolumeExtendFailed says that it failed to resize for any VIOS, and that\u0027s no longer what this does if we add \"or error\".\n\nI think I would just remove the error variable and only raise VolumeExtendFailed if \"not resized\".","commit_id":"e7c689a0e81957307f471d0a75161cd7c5bdbb1c"}]}
