)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":13883,"name":"Adam Reznechek","email":"adreznec@us.ibm.com","username":"adrez"},"change_message_id":"1a22c7ac5df3b9ebd84d6b6ab70c58ba8264ab30","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Taylor Jakobson \u003ctjakobs@us.ibm.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2016-09-09 12:14:18 -0500"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Create snapShot of VM"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"When the storage for a vm is hosted on the Novalink, additional"},{"line_number":10,"context_line":"mappings are not required to be created. Instead, use the volume"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"9a89bdaa_24bd7868","line":7,"range":{"start_line":7,"start_character":7,"end_line":7,"end_character":15},"updated":"2016-09-12 16:03:07.000000000","message":"snapshot","commit_id":"3091a9c73f949b59ec9ad15fa922a15b2d936baf"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"3dba6919ff35616f82619547fc287292c15a22ee","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Taylor Jakobson \u003ctjakobs@us.ibm.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2016-09-09 12:14:18 -0500"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Create snapShot of VM"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"When the storage for a vm is hosted on the Novalink, additional"},{"line_number":10,"context_line":"mappings are not required to be created. Instead, use the volume"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"9a89bdaa_58641cb8","line":7,"range":{"start_line":7,"start_character":7,"end_line":7,"end_character":15},"in_reply_to":"9a89bdaa_24bd7868","updated":"2016-09-12 18:15:11.000000000","message":"Done","commit_id":"3091a9c73f949b59ec9ad15fa922a15b2d936baf"},{"author":{"_account_id":13883,"name":"Adam Reznechek","email":"adreznec@us.ibm.com","username":"adrez"},"change_message_id":"1a22c7ac5df3b9ebd84d6b6ab70c58ba8264ab30","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Create snapShot of VM"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"When the storage for a vm is hosted on the Novalink, additional"},{"line_number":10,"context_line":"mappings are not required to be created. Instead, use the volume"},{"line_number":11,"context_line":"group and boot disk names for the disk path."},{"line_number":12,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"9a89bdaa_2419f888","line":9,"range":{"start_line":9,"start_character":21,"end_line":9,"end_character":51},"updated":"2016-09-12 16:03:07.000000000","message":"an instance is hosted from the NovaLink partition","commit_id":"3091a9c73f949b59ec9ad15fa922a15b2d936baf"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"3dba6919ff35616f82619547fc287292c15a22ee","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Create snapShot of VM"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"When the storage for a vm is hosted on the Novalink, additional"},{"line_number":10,"context_line":"mappings are not required to be created. Instead, use the volume"},{"line_number":11,"context_line":"group and boot disk names for the disk path."},{"line_number":12,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"9a89bdaa_785560c0","line":9,"range":{"start_line":9,"start_character":21,"end_line":9,"end_character":51},"in_reply_to":"9a89bdaa_2419f888","updated":"2016-09-12 18:15:11.000000000","message":"Done","commit_id":"3091a9c73f949b59ec9ad15fa922a15b2d936baf"}],"nova_powervm/virt/powervm/disk/driver.py":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"1ec1609c50b2445c2846461afe63849576003ff8","unresolved":false,"context_lines":[{"line_number":133,"context_line":"        \"\"\""},{"line_number":134,"context_line":"        raise NotImplementedError()"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"    def instance_map_iter(self, instance, vios_uuid, disk_type\u003dDiskType.BOOT,"},{"line_number":137,"context_line":"                          lpar_wrap\u003dNone):"},{"line_number":138,"context_line":"        \"\"\"Find scsi mappings on given vios for the instance."},{"line_number":139,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"9a89bdaa_164a2a55","line":136,"range":{"start_line":136,"start_character":8,"end_line":136,"end_character":25},"updated":"2016-09-13 14:56:14.000000000","message":"Is this producing an iterator just to match instance_disk_iter below?  There\u0027s no need for that, especially given how you\u0027re using it.  Just directly return the result of find_maps.\n\nFor that matter, I don\u0027t see a need to accept disk_type or lpar_wrap.  You can always add those later if needed.\n\nSo yeah, I would name this method boot_disk_for_instance and have it return just the one value.","commit_id":"3de7ef141e719ff2cf5eba64b467670eb24aaef4"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"b5d34a839c704a60290d739c699fa66c815340c7","unresolved":false,"context_lines":[{"line_number":133,"context_line":"        \"\"\""},{"line_number":134,"context_line":"        raise NotImplementedError()"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"    def instance_map_iter(self, instance, vios_uuid, disk_type\u003dDiskType.BOOT,"},{"line_number":137,"context_line":"                          lpar_wrap\u003dNone):"},{"line_number":138,"context_line":"        \"\"\"Find scsi mappings on given vios for the instance."},{"line_number":139,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"9a89bdaa_04990fc4","line":136,"range":{"start_line":136,"start_character":8,"end_line":136,"end_character":25},"in_reply_to":"9a89bdaa_164a2a55","updated":"2016-09-13 18:07:14.000000000","message":"Done","commit_id":"3de7ef141e719ff2cf5eba64b467670eb24aaef4"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"1ec1609c50b2445c2846461afe63849576003ff8","unresolved":false,"context_lines":[{"line_number":151,"context_line":"        :return: Iterator of scsi mappings that are associated with the"},{"line_number":152,"context_line":"                 instance and disk_type."},{"line_number":153,"context_line":"        \"\"\""},{"line_number":154,"context_line":"        if lpar_wrap is None:"},{"line_number":155,"context_line":"            lpar_wrap \u003d vm.get_instance_wrapper(self.adapter, instance)"},{"line_number":156,"context_line":"        match_func \u003d self.disk_match_func(disk_type, instance)"},{"line_number":157,"context_line":"        vios_wrap \u003d pvm_vios.VIOS.wrap(self.adapter.read("},{"line_number":158,"context_line":"            pvm_vios.VIOS.schema_type, root_id\u003dvios_uuid,"}],"source_content_type":"text/x-python","patch_set":2,"id":"9a89bdaa_3b8d57d3","line":155,"range":{"start_line":154,"start_character":8,"end_line":155,"end_character":71},"updated":"2016-09-13 14:56:14.000000000","message":"This is not necessary.  Use vm.get_pvm_uuid and pass the UUID to find_maps (see below).","commit_id":"3de7ef141e719ff2cf5eba64b467670eb24aaef4"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"b5d34a839c704a60290d739c699fa66c815340c7","unresolved":false,"context_lines":[{"line_number":151,"context_line":"        :return: Iterator of scsi mappings that are associated with the"},{"line_number":152,"context_line":"                 instance and disk_type."},{"line_number":153,"context_line":"        \"\"\""},{"line_number":154,"context_line":"        if lpar_wrap is None:"},{"line_number":155,"context_line":"            lpar_wrap \u003d vm.get_instance_wrapper(self.adapter, instance)"},{"line_number":156,"context_line":"        match_func \u003d self.disk_match_func(disk_type, instance)"},{"line_number":157,"context_line":"        vios_wrap \u003d pvm_vios.VIOS.wrap(self.adapter.read("},{"line_number":158,"context_line":"            pvm_vios.VIOS.schema_type, root_id\u003dvios_uuid,"}],"source_content_type":"text/x-python","patch_set":2,"id":"9a89bdaa_04fbcf79","line":155,"range":{"start_line":154,"start_character":8,"end_line":155,"end_character":71},"in_reply_to":"9a89bdaa_3b8d57d3","updated":"2016-09-13 18:07:14.000000000","message":"Done","commit_id":"3de7ef141e719ff2cf5eba64b467670eb24aaef4"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"1ec1609c50b2445c2846461afe63849576003ff8","unresolved":false,"context_lines":[{"line_number":154,"context_line":"        if lpar_wrap is None:"},{"line_number":155,"context_line":"            lpar_wrap \u003d vm.get_instance_wrapper(self.adapter, instance)"},{"line_number":156,"context_line":"        match_func \u003d self.disk_match_func(disk_type, instance)"},{"line_number":157,"context_line":"        vios_wrap \u003d pvm_vios.VIOS.wrap(self.adapter.read("},{"line_number":158,"context_line":"            pvm_vios.VIOS.schema_type, root_id\u003dvios_uuid,"},{"line_number":159,"context_line":"            xag\u003d[pvm_const.XAG.VIO_SMAP]))"},{"line_number":160,"context_line":"        for scsi_map in tsk_map.find_maps("},{"line_number":161,"context_line":"                vios_wrap.scsi_mappings, client_lpar_id\u003dlpar_wrap.id,"},{"line_number":162,"context_line":"                match_func\u003dmatch_func):"}],"source_content_type":"text/x-python","patch_set":2,"id":"9a89bdaa_fb23ef02","line":159,"range":{"start_line":157,"start_character":0,"end_line":159,"end_character":42},"updated":"2016-09-13 14:56:14.000000000","message":"pvm_vios.VIOS.get(self.adapter, uuid\u003dvios_uuid, xag\u003d[...])","commit_id":"3de7ef141e719ff2cf5eba64b467670eb24aaef4"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"b5d34a839c704a60290d739c699fa66c815340c7","unresolved":false,"context_lines":[{"line_number":154,"context_line":"        if lpar_wrap is None:"},{"line_number":155,"context_line":"            lpar_wrap \u003d vm.get_instance_wrapper(self.adapter, instance)"},{"line_number":156,"context_line":"        match_func \u003d self.disk_match_func(disk_type, instance)"},{"line_number":157,"context_line":"        vios_wrap \u003d pvm_vios.VIOS.wrap(self.adapter.read("},{"line_number":158,"context_line":"            pvm_vios.VIOS.schema_type, root_id\u003dvios_uuid,"},{"line_number":159,"context_line":"            xag\u003d[pvm_const.XAG.VIO_SMAP]))"},{"line_number":160,"context_line":"        for scsi_map in tsk_map.find_maps("},{"line_number":161,"context_line":"                vios_wrap.scsi_mappings, client_lpar_id\u003dlpar_wrap.id,"},{"line_number":162,"context_line":"                match_func\u003dmatch_func):"}],"source_content_type":"text/x-python","patch_set":2,"id":"9a89bdaa_a4094397","line":159,"range":{"start_line":157,"start_character":0,"end_line":159,"end_character":42},"in_reply_to":"9a89bdaa_fb23ef02","updated":"2016-09-13 18:07:14.000000000","message":"Done","commit_id":"3de7ef141e719ff2cf5eba64b467670eb24aaef4"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"1ec1609c50b2445c2846461afe63849576003ff8","unresolved":false,"context_lines":[{"line_number":158,"context_line":"            pvm_vios.VIOS.schema_type, root_id\u003dvios_uuid,"},{"line_number":159,"context_line":"            xag\u003d[pvm_const.XAG.VIO_SMAP]))"},{"line_number":160,"context_line":"        for scsi_map in tsk_map.find_maps("},{"line_number":161,"context_line":"                vios_wrap.scsi_mappings, client_lpar_id\u003dlpar_wrap.id,"},{"line_number":162,"context_line":"                match_func\u003dmatch_func):"},{"line_number":163,"context_line":"            yield scsi_map"},{"line_number":164,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"9a89bdaa_fbadaf31","line":161,"range":{"start_line":161,"start_character":41,"end_line":161,"end_character":68},"updated":"2016-09-13 14:56:14.000000000","message":"client_lpar_id can accept the short ID *or* the UUID.  In this case, the UUID is cheaper, so use that instead (see above).","commit_id":"3de7ef141e719ff2cf5eba64b467670eb24aaef4"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"b5d34a839c704a60290d739c699fa66c815340c7","unresolved":false,"context_lines":[{"line_number":158,"context_line":"            pvm_vios.VIOS.schema_type, root_id\u003dvios_uuid,"},{"line_number":159,"context_line":"            xag\u003d[pvm_const.XAG.VIO_SMAP]))"},{"line_number":160,"context_line":"        for scsi_map in tsk_map.find_maps("},{"line_number":161,"context_line":"                vios_wrap.scsi_mappings, client_lpar_id\u003dlpar_wrap.id,"},{"line_number":162,"context_line":"                match_func\u003dmatch_func):"},{"line_number":163,"context_line":"            yield scsi_map"},{"line_number":164,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"9a89bdaa_c4fc8774","line":161,"range":{"start_line":161,"start_character":41,"end_line":161,"end_character":68},"in_reply_to":"9a89bdaa_fbadaf31","updated":"2016-09-13 18:07:14.000000000","message":"Done","commit_id":"3de7ef141e719ff2cf5eba64b467670eb24aaef4"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"6f3fe88c12e67765649e5ce870227f3a3ec41c74","unresolved":false,"context_lines":[{"line_number":154,"context_line":"        match_func \u003d self.disk_match_func(DiskType.BOOT, instance)"},{"line_number":155,"context_line":"        vios_wrap \u003d pvm_vios.VIOS.get(self.adapter, uuid\u003dvios_uuid,"},{"line_number":156,"context_line":"                                      xag\u003d[pvm_const.XAG.VIO.SMAP])"},{"line_number":157,"context_line":"        for scsi_map in tsk_map.find_maps("},{"line_number":158,"context_line":"                vios_wrap.scsi_mappings, client_lpar_id\u003dvm_uuid,"},{"line_number":159,"context_line":"                match_func\u003dmatch_func):"},{"line_number":160,"context_line":"            return scsi_map.server_adapter.backing_dev_name"},{"line_number":161,"context_line":""},{"line_number":162,"context_line":"    def instance_disk_iter(self, instance, disk_type\u003dDiskType.BOOT,"},{"line_number":163,"context_line":"                           lpar_wrap\u003dNone):"}],"source_content_type":"text/x-python","patch_set":3,"id":"7a8ec9b2_c214d045","line":160,"range":{"start_line":157,"start_character":0,"end_line":160,"end_character":59},"updated":"2016-09-15 13:39:01.000000000","message":"This for/return thing still bugs me.  I think I get that you\u0027re returning the first thing if you find something, and implicitly returning None if not.  If you really want to keep this syntax, 1) add a comment to convince the reader you know what you\u0027re doing, 2) add an explicit \u0027return None\u0027 after.\n\nHowever, I would greatly prefer something cleaner and more explicit, like:\n\n maps \u003d tsk_map.find_maps(...)\n return maps[0] if maps else None","commit_id":"d049044020a11192bc5b1f7a854ad38a2c75128a"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"33e8a2f0255a155a967bc96e04592fd60f8a97fb","unresolved":false,"context_lines":[{"line_number":154,"context_line":"        match_func \u003d self.disk_match_func(DiskType.BOOT, instance)"},{"line_number":155,"context_line":"        vios_wrap \u003d pvm_vios.VIOS.get(self.adapter, uuid\u003dvios_uuid,"},{"line_number":156,"context_line":"                                      xag\u003d[pvm_const.XAG.VIO.SMAP])"},{"line_number":157,"context_line":"        for scsi_map in tsk_map.find_maps("},{"line_number":158,"context_line":"                vios_wrap.scsi_mappings, client_lpar_id\u003dvm_uuid,"},{"line_number":159,"context_line":"                match_func\u003dmatch_func):"},{"line_number":160,"context_line":"            return scsi_map.server_adapter.backing_dev_name"},{"line_number":161,"context_line":""},{"line_number":162,"context_line":"    def instance_disk_iter(self, instance, disk_type\u003dDiskType.BOOT,"},{"line_number":163,"context_line":"                           lpar_wrap\u003dNone):"}],"source_content_type":"text/x-python","patch_set":3,"id":"5a8bc5a2_1f908394","line":160,"range":{"start_line":157,"start_character":0,"end_line":160,"end_character":59},"in_reply_to":"5a8bc5a2_2e727311","updated":"2016-09-26 19:59:50.000000000","message":"Isn\u0027t that what I\u0027m doing on line 155-156?","commit_id":"d049044020a11192bc5b1f7a854ad38a2c75128a"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"33e8a2f0255a155a967bc96e04592fd60f8a97fb","unresolved":false,"context_lines":[{"line_number":154,"context_line":"        match_func \u003d self.disk_match_func(DiskType.BOOT, instance)"},{"line_number":155,"context_line":"        vios_wrap \u003d pvm_vios.VIOS.get(self.adapter, uuid\u003dvios_uuid,"},{"line_number":156,"context_line":"                                      xag\u003d[pvm_const.XAG.VIO.SMAP])"},{"line_number":157,"context_line":"        for scsi_map in tsk_map.find_maps("},{"line_number":158,"context_line":"                vios_wrap.scsi_mappings, client_lpar_id\u003dvm_uuid,"},{"line_number":159,"context_line":"                match_func\u003dmatch_func):"},{"line_number":160,"context_line":"            return scsi_map.server_adapter.backing_dev_name"},{"line_number":161,"context_line":""},{"line_number":162,"context_line":"    def instance_disk_iter(self, instance, disk_type\u003dDiskType.BOOT,"},{"line_number":163,"context_line":"                           lpar_wrap\u003dNone):"}],"source_content_type":"text/x-python","patch_set":3,"id":"5a8bc5a2_9f7bb37a","line":160,"range":{"start_line":157,"start_character":0,"end_line":160,"end_character":59},"in_reply_to":"7a8ec9b2_c214d045","updated":"2016-09-26 19:59:50.000000000","message":"Done","commit_id":"d049044020a11192bc5b1f7a854ad38a2c75128a"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"545b00ec00f02815f1a02ce63716d24b5084c46e","unresolved":false,"context_lines":[{"line_number":154,"context_line":"        match_func \u003d self.disk_match_func(DiskType.BOOT, instance)"},{"line_number":155,"context_line":"        vios_wrap \u003d pvm_vios.VIOS.get(self.adapter, uuid\u003dvios_uuid,"},{"line_number":156,"context_line":"                                      xag\u003d[pvm_const.XAG.VIO.SMAP])"},{"line_number":157,"context_line":"        for scsi_map in tsk_map.find_maps("},{"line_number":158,"context_line":"                vios_wrap.scsi_mappings, client_lpar_id\u003dvm_uuid,"},{"line_number":159,"context_line":"                match_func\u003dmatch_func):"},{"line_number":160,"context_line":"            return scsi_map.server_adapter.backing_dev_name"},{"line_number":161,"context_line":""},{"line_number":162,"context_line":"    def instance_disk_iter(self, instance, disk_type\u003dDiskType.BOOT,"},{"line_number":163,"context_line":"                           lpar_wrap\u003dNone):"}],"source_content_type":"text/x-python","patch_set":3,"id":"5a8bc5a2_2e727311","line":160,"range":{"start_line":157,"start_character":0,"end_line":160,"end_character":59},"in_reply_to":"7a8ec9b2_c214d045","updated":"2016-09-26 19:32:21.000000000","message":"agree...\n\nAlso, do we need to do a query for the VIOS here?  Do we already have that info?","commit_id":"d049044020a11192bc5b1f7a854ad38a2c75128a"}],"nova_powervm/virt/powervm/tasks/storage.py":[{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"2a34ace7df5c32836f6cee7e5c5da01bd3936bd2","unresolved":false,"context_lines":[{"line_number":245,"context_line":""},{"line_number":246,"context_line":"        # Use VG and boot disk names when storage is hosted by Novalink"},{"line_number":247,"context_line":"        if self.disk_dvr.mp_uuid in self.disk_dvr.vios_uuids:"},{"line_number":248,"context_line":"            for stg_elem, vios in self.disk_dvr.instance_disk_iter("},{"line_number":249,"context_line":"                    self.instance):"},{"line_number":250,"context_line":"                disk_path \u003d \u0027/dev/\u0027 + self.disk_dvr.vg_name + \u0027/\u0027 + \\"},{"line_number":251,"context_line":"                            stg_elem.name"},{"line_number":252,"context_line":"                return None, None, disk_path"},{"line_number":253,"context_line":""},{"line_number":254,"context_line":"        self.stg_elem, self.vios_wrap \u003d ("},{"line_number":255,"context_line":"            self.disk_dvr.connect_instance_disk_to_mgmt(self.instance))"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a89bdaa_1e138f5d","line":252,"range":{"start_line":248,"start_character":0,"end_line":252,"end_character":44},"updated":"2016-09-11 09:59:56.000000000","message":"Does this loop assume that if the Management Partition is in the VIOS UUIDs, localdisks must be hosted by it?\n\nI don\u0027t think that is true.","commit_id":"3091a9c73f949b59ec9ad15fa922a15b2d936baf"},{"author":{"_account_id":13883,"name":"Adam Reznechek","email":"adreznec@us.ibm.com","username":"adrez"},"change_message_id":"1a22c7ac5df3b9ebd84d6b6ab70c58ba8264ab30","unresolved":false,"context_lines":[{"line_number":245,"context_line":""},{"line_number":246,"context_line":"        # Use VG and boot disk names when storage is hosted by Novalink"},{"line_number":247,"context_line":"        if self.disk_dvr.mp_uuid in self.disk_dvr.vios_uuids:"},{"line_number":248,"context_line":"            for stg_elem, vios in self.disk_dvr.instance_disk_iter("},{"line_number":249,"context_line":"                    self.instance):"},{"line_number":250,"context_line":"                disk_path \u003d \u0027/dev/\u0027 + self.disk_dvr.vg_name + \u0027/\u0027 + \\"},{"line_number":251,"context_line":"                            stg_elem.name"},{"line_number":252,"context_line":"                return None, None, disk_path"},{"line_number":253,"context_line":""},{"line_number":254,"context_line":"        self.stg_elem, self.vios_wrap \u003d ("},{"line_number":255,"context_line":"            self.disk_dvr.connect_instance_disk_to_mgmt(self.instance))"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a89bdaa_98ceae81","line":252,"range":{"start_line":248,"start_character":0,"end_line":252,"end_character":44},"in_reply_to":"9a89bdaa_1e138f5d","updated":"2016-09-12 16:03:07.000000000","message":"Yeah, that\u0027s how I\u0027m reading this as well... which would definitely not be accurate if someone had it set as a VIOS type but was in SDN mode.","commit_id":"3091a9c73f949b59ec9ad15fa922a15b2d936baf"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"3dba6919ff35616f82619547fc287292c15a22ee","unresolved":false,"context_lines":[{"line_number":245,"context_line":""},{"line_number":246,"context_line":"        # Use VG and boot disk names when storage is hosted by Novalink"},{"line_number":247,"context_line":"        if self.disk_dvr.mp_uuid in self.disk_dvr.vios_uuids:"},{"line_number":248,"context_line":"            for stg_elem, vios in self.disk_dvr.instance_disk_iter("},{"line_number":249,"context_line":"                    self.instance):"},{"line_number":250,"context_line":"                disk_path \u003d \u0027/dev/\u0027 + self.disk_dvr.vg_name + \u0027/\u0027 + \\"},{"line_number":251,"context_line":"                            stg_elem.name"},{"line_number":252,"context_line":"                return None, None, disk_path"},{"line_number":253,"context_line":""},{"line_number":254,"context_line":"        self.stg_elem, self.vios_wrap \u003d ("},{"line_number":255,"context_line":"            self.disk_dvr.connect_instance_disk_to_mgmt(self.instance))"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a89bdaa_98a14449","line":252,"range":{"start_line":248,"start_character":0,"end_line":252,"end_character":44},"in_reply_to":"9a89bdaa_98ceae81","updated":"2016-09-12 18:15:11.000000000","message":"Changed so that we only search the management partition for the boot disk. And if we don\u0027t find the boot disk on the mgmt part, continue on as usual.","commit_id":"3091a9c73f949b59ec9ad15fa922a15b2d936baf"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"2a34ace7df5c32836f6cee7e5c5da01bd3936bd2","unresolved":false,"context_lines":[{"line_number":333,"context_line":"        :param disk_path: The local path to the disk device to be removed, e.g."},{"line_number":334,"context_line":"                          \u0027/dev/sde\u0027"},{"line_number":335,"context_line":"        \"\"\""},{"line_number":336,"context_line":"        if stg_elem is None:"},{"line_number":337,"context_line":"            return"},{"line_number":338,"context_line":"        LOG.info(_LI(\"Unmapping boot disk %(disk_name)s of instance \""},{"line_number":339,"context_line":"                     \"%(instance_name)s from management partition via Virtual \""},{"line_number":340,"context_line":"                     \"I/O Server %(vios_name)s.\"),"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a89bdaa_3e0e9332","line":337,"range":{"start_line":336,"start_character":0,"end_line":337,"end_character":18},"updated":"2016-09-11 09:59:56.000000000","message":"Comment to explain why this would occur.","commit_id":"3091a9c73f949b59ec9ad15fa922a15b2d936baf"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"3dba6919ff35616f82619547fc287292c15a22ee","unresolved":false,"context_lines":[{"line_number":333,"context_line":"        :param disk_path: The local path to the disk device to be removed, e.g."},{"line_number":334,"context_line":"                          \u0027/dev/sde\u0027"},{"line_number":335,"context_line":"        \"\"\""},{"line_number":336,"context_line":"        if stg_elem is None:"},{"line_number":337,"context_line":"            return"},{"line_number":338,"context_line":"        LOG.info(_LI(\"Unmapping boot disk %(disk_name)s of instance \""},{"line_number":339,"context_line":"                     \"%(instance_name)s from management partition via Virtual \""},{"line_number":340,"context_line":"                     \"I/O Server %(vios_name)s.\"),"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a89bdaa_58189cd3","line":337,"range":{"start_line":336,"start_character":0,"end_line":337,"end_character":18},"in_reply_to":"9a89bdaa_3e0e9332","updated":"2016-09-12 18:15:11.000000000","message":"Done","commit_id":"3091a9c73f949b59ec9ad15fa922a15b2d936baf"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"1ec1609c50b2445c2846461afe63849576003ff8","unresolved":false,"context_lines":[{"line_number":247,"context_line":"        if self.disk_dvr.mp_uuid in self.disk_dvr.vios_uuids:"},{"line_number":248,"context_line":"            scsi_maps \u003d self.disk_dvr.instance_map_iter(self.instance,"},{"line_number":249,"context_line":"                                                        self.disk_dvr.mp_uuid)"},{"line_number":250,"context_line":"            for scsi_map in scsi_maps:"},{"line_number":251,"context_line":"                return None, None, scsi_map.server_adapter.backing_dev_name"},{"line_number":252,"context_line":""},{"line_number":253,"context_line":"        self.stg_elem, self.vios_wrap \u003d ("},{"line_number":254,"context_line":"            self.disk_dvr.connect_instance_disk_to_mgmt(self.instance))"}],"source_content_type":"text/x-python","patch_set":2,"id":"9a89bdaa_90fc8273","line":251,"range":{"start_line":250,"start_character":0,"end_line":251,"end_character":75},"updated":"2016-09-13 14:56:14.000000000","message":"This is weird.  You\u0027re looping over scsi_maps, but returning on the first iteration?\n\nSee comments on instance_map_iter - if you end up just returning the list from there, then this would be what?  The first element in the list?","commit_id":"3de7ef141e719ff2cf5eba64b467670eb24aaef4"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"b5d34a839c704a60290d739c699fa66c815340c7","unresolved":false,"context_lines":[{"line_number":247,"context_line":"        if self.disk_dvr.mp_uuid in self.disk_dvr.vios_uuids:"},{"line_number":248,"context_line":"            scsi_maps \u003d self.disk_dvr.instance_map_iter(self.instance,"},{"line_number":249,"context_line":"                                                        self.disk_dvr.mp_uuid)"},{"line_number":250,"context_line":"            for scsi_map in scsi_maps:"},{"line_number":251,"context_line":"                return None, None, scsi_map.server_adapter.backing_dev_name"},{"line_number":252,"context_line":""},{"line_number":253,"context_line":"        self.stg_elem, self.vios_wrap \u003d ("},{"line_number":254,"context_line":"            self.disk_dvr.connect_instance_disk_to_mgmt(self.instance))"}],"source_content_type":"text/x-python","patch_set":2,"id":"9a89bdaa_1f66b6ec","line":251,"range":{"start_line":250,"start_character":0,"end_line":251,"end_character":75},"in_reply_to":"9a89bdaa_90fc8273","updated":"2016-09-13 18:07:14.000000000","message":"Done","commit_id":"3de7ef141e719ff2cf5eba64b467670eb24aaef4"}]}
