)]}'
{"nova_powervm/tests/virt/powervm/test_slot.py":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"cf677404319a748452698ae44036e0da9da63834","unresolved":false,"context_lines":[{"line_number":126,"context_line":"        mock_scsi.vol_type.return_value \u003d \u0027vscsi\u0027"},{"line_number":127,"context_line":"        mock_scsi.is_volume_on_vios.side_effect \u003d ((False, None),"},{"line_number":128,"context_line":"                                                   (True, \u0027udid\u0027))"},{"line_number":129,"context_line":"        mock_scsi.vios_uuids \u003d [\u0027uuid1\u0027, \u0027uuid2\u0027]"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"        mock_npiv1 \u003d mock.Mock()"},{"line_number":132,"context_line":"        mock_npiv1.vol_type.return_value \u003d \u0027npiv\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"3f044301_50837c05","line":129,"updated":"2017-05-03 21:35:01.000000000","message":"This doesn\u0027t seem like enough test...","commit_id":"3b113b9ec4328ce0188f87e1e4f8b7b90f55bc7b"}],"nova_powervm/virt/powervm/slot.py":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"cf677404319a748452698ae44036e0da9da63834","unresolved":false,"context_lines":[{"line_number":119,"context_line":"        # any of the mappings we actually want this VM to have."},{"line_number":120,"context_line":"        scrub_ftsk \u003d pvm_tstor.ComprehensiveScrub(adapter)"},{"line_number":121,"context_line":"        scrub_ftsk.execute()"},{"line_number":122,"context_line":"        self._vios_wraps \u003d scrub_ftsk.feed"},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"        pv_vscsi_vol_to_vio \u003d {}"},{"line_number":125,"context_line":"        fabric_names \u003d []"}],"source_content_type":"text/x-python","patch_set":2,"id":"3f044301_b01760ee","line":122,"updated":"2017-05-03 21:35:01.000000000","message":"If you\u0027re keeping the thing below, this line is unnecessary.","commit_id":"3b113b9ec4328ce0188f87e1e4f8b7b90f55bc7b"},{"author":{"_account_id":13002,"name":"Shyama","email":"shyvenug@in.ibm.com","username":"shyama"},"change_message_id":"4f5ed5c7d916ddb3788c3cf316d75a539aa0e44b","unresolved":false,"context_lines":[{"line_number":119,"context_line":"        # any of the mappings we actually want this VM to have."},{"line_number":120,"context_line":"        scrub_ftsk \u003d pvm_tstor.ComprehensiveScrub(adapter)"},{"line_number":121,"context_line":"        scrub_ftsk.execute()"},{"line_number":122,"context_line":"        self._vios_wraps \u003d scrub_ftsk.feed"},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"        pv_vscsi_vol_to_vio \u003d {}"},{"line_number":125,"context_line":"        fabric_names \u003d []"}],"source_content_type":"text/x-python","patch_set":2,"id":"3f044301_bcf9764e","line":122,"in_reply_to":"3f044301_b01760ee","updated":"2017-05-04 04:34:30.000000000","message":"Done","commit_id":"3b113b9ec4328ce0188f87e1e4f8b7b90f55bc7b"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"cf677404319a748452698ae44036e0da9da63834","unresolved":false,"context_lines":[{"line_number":124,"context_line":"        pv_vscsi_vol_to_vio \u003d {}"},{"line_number":125,"context_line":"        fabric_names \u003d []"},{"line_number":126,"context_line":"        for bdm, vol_drv in vol_drv_iter:"},{"line_number":127,"context_line":"            vios_ids \u003d vol_drv.vios_uuids"},{"line_number":128,"context_line":"            self._vios_wraps \u003d [wrap for wrap in scrub_ftsk.feed if"},{"line_number":129,"context_line":"                                wrap.uuid in vios_ids]"},{"line_number":130,"context_line":"            if vol_drv.vol_type() in [\u0027vscsi\u0027, \u0027fileio\u0027]:"},{"line_number":131,"context_line":"                self._pv_vscsi_vol_to_vio(vol_drv, pv_vscsi_vol_to_vio)"},{"line_number":132,"context_line":"            elif len(fabric_names) \u003d\u003d 0 and vol_drv.vol_type() \u003d\u003d \u0027npiv\u0027:"}],"source_content_type":"text/x-python","patch_set":2,"id":"3f044301_1021744e","line":129,"range":{"start_line":127,"start_character":0,"end_line":129,"end_character":54},"updated":"2017-05-03 21:35:01.000000000","message":"This is really weird that you\u0027re doing this on every iteration.  Is it possible to have different VIOS UUIDs for different volume drivers?","commit_id":"3b113b9ec4328ce0188f87e1e4f8b7b90f55bc7b"},{"author":{"_account_id":13002,"name":"Shyama","email":"shyvenug@in.ibm.com","username":"shyama"},"change_message_id":"4f5ed5c7d916ddb3788c3cf316d75a539aa0e44b","unresolved":false,"context_lines":[{"line_number":124,"context_line":"        pv_vscsi_vol_to_vio \u003d {}"},{"line_number":125,"context_line":"        fabric_names \u003d []"},{"line_number":126,"context_line":"        for bdm, vol_drv in vol_drv_iter:"},{"line_number":127,"context_line":"            vios_ids \u003d vol_drv.vios_uuids"},{"line_number":128,"context_line":"            self._vios_wraps \u003d [wrap for wrap in scrub_ftsk.feed if"},{"line_number":129,"context_line":"                                wrap.uuid in vios_ids]"},{"line_number":130,"context_line":"            if vol_drv.vol_type() in [\u0027vscsi\u0027, \u0027fileio\u0027]:"},{"line_number":131,"context_line":"                self._pv_vscsi_vol_to_vio(vol_drv, pv_vscsi_vol_to_vio)"},{"line_number":132,"context_line":"            elif len(fabric_names) \u003d\u003d 0 and vol_drv.vol_type() \u003d\u003d \u0027npiv\u0027:"}],"source_content_type":"text/x-python","patch_set":2,"id":"3f044301_dcfc4240","line":129,"range":{"start_line":127,"start_character":0,"end_line":129,"end_character":54},"in_reply_to":"3f044301_1021744e","updated":"2017-05-04 04:34:30.000000000","message":"Yes say some vios are not enabled for npiv they might still be valid for other connection types","commit_id":"3b113b9ec4328ce0188f87e1e4f8b7b90f55bc7b"},{"author":{"_account_id":13002,"name":"Shyama","email":"shyvenug@in.ibm.com","username":"shyama"},"change_message_id":"24692aff6f383b8795ba5dcc2b288c2fdc8d188f","unresolved":false,"context_lines":[{"line_number":124,"context_line":"        pv_vscsi_vol_to_vio \u003d {}"},{"line_number":125,"context_line":"        fabric_names \u003d []"},{"line_number":126,"context_line":"        for bdm, vol_drv in vol_drv_iter:"},{"line_number":127,"context_line":"            vios_ids \u003d vol_drv.vios_uuids"},{"line_number":128,"context_line":"            self._vios_wraps \u003d [wrap for wrap in scrub_ftsk.feed if"},{"line_number":129,"context_line":"                                wrap.uuid in vios_ids]"},{"line_number":130,"context_line":"            if vol_drv.vol_type() in [\u0027vscsi\u0027, \u0027fileio\u0027]:"},{"line_number":131,"context_line":"                self._pv_vscsi_vol_to_vio(vol_drv, pv_vscsi_vol_to_vio)"},{"line_number":132,"context_line":"            elif len(fabric_names) \u003d\u003d 0 and vol_drv.vol_type() \u003d\u003d \u0027npiv\u0027:"}],"source_content_type":"text/x-python","patch_set":2,"id":"3f044301_f76277d8","line":129,"range":{"start_line":127,"start_character":0,"end_line":129,"end_character":54},"in_reply_to":"3f044301_dcfc4240","updated":"2017-05-04 04:52:37.000000000","message":"As of now the fc volume types return all the active vios and the fileio return just the mgmt partition.Doing this every time is not needed , since we cannot have the same host support both.","commit_id":"3b113b9ec4328ce0188f87e1e4f8b7b90f55bc7b"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"26b4f6ec0f02a2fd43375c1b4ade8699b8fc7c53","unresolved":false,"context_lines":[{"line_number":125,"context_line":"        fabric_names \u003d []"},{"line_number":126,"context_line":"        for bdm, vol_drv in vol_drv_iter:"},{"line_number":127,"context_line":"            vios_ids \u003d vol_drv.vios_uuids"},{"line_number":128,"context_line":"            if self._vios_wraps is None:"},{"line_number":129,"context_line":"                self._vios_wraps \u003d [wrap for wrap in scrub_ftsk.feed if"},{"line_number":130,"context_line":"                                    wrap.uuid in vios_ids]"},{"line_number":131,"context_line":"            if vol_drv.vol_type() in [\u0027vscsi\u0027, \u0027fileio\u0027]:"},{"line_number":132,"context_line":"                self._pv_vscsi_vol_to_vio(vol_drv, pv_vscsi_vol_to_vio)"},{"line_number":133,"context_line":"            elif len(fabric_names) \u003d\u003d 0 and vol_drv.vol_type() \u003d\u003d \u0027npiv\u0027:"}],"source_content_type":"text/x-python","patch_set":3,"id":"3f044301_43972692","line":130,"range":{"start_line":128,"start_character":0,"end_line":130,"end_character":58},"updated":"2017-05-04 11:59:08.000000000","message":"I don\u0027t know that I like this.\n\nYou can mix and match volume types.  So if I have two volumes, one File IO and another FC, they\u0027re going to return different VIOS UUIDs.\n\nI feel like the vios_wraps needs to be a summation of all the VIOS drivers UUIDs.  thoughts?","commit_id":"883af1075d9c11bb7f9bb2c03172b8eecf6b33b2"},{"author":{"_account_id":13002,"name":"Shyama","email":"shyvenug@in.ibm.com","username":"shyama"},"change_message_id":"64f8da8a1efe2c3647d6013e5e6c3343ad96823f","unresolved":false,"context_lines":[{"line_number":125,"context_line":"        fabric_names \u003d []"},{"line_number":126,"context_line":"        for bdm, vol_drv in vol_drv_iter:"},{"line_number":127,"context_line":"            vios_ids \u003d vol_drv.vios_uuids"},{"line_number":128,"context_line":"            if self._vios_wraps is None:"},{"line_number":129,"context_line":"                self._vios_wraps \u003d [wrap for wrap in scrub_ftsk.feed if"},{"line_number":130,"context_line":"                                    wrap.uuid in vios_ids]"},{"line_number":131,"context_line":"            if vol_drv.vol_type() in [\u0027vscsi\u0027, \u0027fileio\u0027]:"},{"line_number":132,"context_line":"                self._pv_vscsi_vol_to_vio(vol_drv, pv_vscsi_vol_to_vio)"},{"line_number":133,"context_line":"            elif len(fabric_names) \u003d\u003d 0 and vol_drv.vol_type() \u003d\u003d \u0027npiv\u0027:"}],"source_content_type":"text/x-python","patch_set":3,"id":"3f044301_f8fedc03","line":130,"range":{"start_line":128,"start_character":0,"end_line":130,"end_character":58},"in_reply_to":"3f044301_43972692","updated":"2017-05-04 12:52:52.000000000","message":"Then we need to have a way to specify vios wrap per type (fileio, vscsi) in the pypowervm RebuildSlotMap. A vios valid for vscsi might not be valid for fileio.","commit_id":"883af1075d9c11bb7f9bb2c03172b8eecf6b33b2"}],"nova_powervm/virt/powervm/volume/driver.py":[{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"e6efa1d215d51f668c01c8e1ec8078258bdfdf59","unresolved":false,"context_lines":[{"line_number":112,"context_line":"    @property"},{"line_number":113,"context_line":"    def vios_uuids(self):"},{"line_number":114,"context_line":"        \"\"\"List the UUIDs of the Virtual I/O Servers hosting the storage.\"\"\""},{"line_number":115,"context_line":"        vios_wraps \u003d pvm_partition.get_active_vioses(self.adapter)"},{"line_number":116,"context_line":"        return [wrap.uuid for wrap in vios_wraps]"},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"    @classmethod"},{"line_number":119,"context_line":"    def vol_type(cls):"}],"source_content_type":"text/x-python","patch_set":1,"id":"5ff73747_a6bf885f","line":116,"range":{"start_line":115,"start_character":0,"end_line":116,"end_character":49},"updated":"2017-04-27 19:36:37.000000000","message":"I wonder if this should cut out VIOSes that don\u0027t have FC adapters?  Don\u0027t think so for this (since its a high level function)...maybe in the FC implementation.","commit_id":"b1a8538c66808d937b85df296bbe60551b957166"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"35687b4c89e7c882cbff33edc61b702d2150ee82","unresolved":false,"context_lines":[{"line_number":112,"context_line":"    @property"},{"line_number":113,"context_line":"    def vios_uuids(self):"},{"line_number":114,"context_line":"        \"\"\"List the UUIDs of the Virtual I/O Servers hosting the storage.\"\"\""},{"line_number":115,"context_line":"        vios_wraps \u003d pvm_partition.get_active_vioses(self.adapter)"},{"line_number":116,"context_line":"        return [wrap.uuid for wrap in vios_wraps]"},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"    @classmethod"},{"line_number":119,"context_line":"    def vol_type(cls):"}],"source_content_type":"text/x-python","patch_set":1,"id":"5ff73747_75cae3a1","line":116,"range":{"start_line":115,"start_character":0,"end_line":116,"end_character":49},"in_reply_to":"5ff73747_5a3ef4da","updated":"2017-05-02 17:08:12.000000000","message":"Future seems OK to me...","commit_id":"b1a8538c66808d937b85df296bbe60551b957166"},{"author":{"_account_id":13002,"name":"Shyama","email":"shyvenug@in.ibm.com","username":"shyama"},"change_message_id":"77998b6df7ca824499a8c95423845cb1b7e9cc3a","unresolved":false,"context_lines":[{"line_number":112,"context_line":"    @property"},{"line_number":113,"context_line":"    def vios_uuids(self):"},{"line_number":114,"context_line":"        \"\"\"List the UUIDs of the Virtual I/O Servers hosting the storage.\"\"\""},{"line_number":115,"context_line":"        vios_wraps \u003d pvm_partition.get_active_vioses(self.adapter)"},{"line_number":116,"context_line":"        return [wrap.uuid for wrap in vios_wraps]"},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"    @classmethod"},{"line_number":119,"context_line":"    def vol_type(cls):"}],"source_content_type":"text/x-python","patch_set":1,"id":"5ff73747_5a3ef4da","line":116,"range":{"start_line":115,"start_character":0,"end_line":116,"end_character":49},"in_reply_to":"5ff73747_a6bf885f","updated":"2017-05-02 16:58:50.000000000","message":"Do you want that only for rebuild? can it be part of a further change set?","commit_id":"b1a8538c66808d937b85df296bbe60551b957166"}],"nova_powervm/virt/powervm/volume/fileio.py":[{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"e6efa1d215d51f668c01c8e1ec8078258bdfdf59","unresolved":false,"context_lines":[{"line_number":58,"context_line":"    def vios_uuids(self):"},{"line_number":59,"context_line":"        \"\"\"List the UUIDs of the Virtual I/O Servers hosting the storage.\"\"\""},{"line_number":60,"context_line":"        # Get the hosting UUID"},{"line_number":61,"context_line":"        nl_vios_wrap \u003d partition.get_mgmt_partition(self.adapter)"},{"line_number":62,"context_line":"        return [nl_vios_wrap.uuid]"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"    def pre_live_migration_on_destination(self, mig_data):"},{"line_number":65,"context_line":"        \"\"\"Perform pre live migration steps for the volume on the target host."}],"source_content_type":"text/x-python","patch_set":1,"id":"5ff73747_a69668ef","line":62,"range":{"start_line":61,"start_character":0,"end_line":62,"end_character":34},"updated":"2017-04-27 19:36:37.000000000","message":"This should probably be cached.","commit_id":"b1a8538c66808d937b85df296bbe60551b957166"},{"author":{"_account_id":13002,"name":"Shyama","email":"shyvenug@in.ibm.com","username":"shyama"},"change_message_id":"77998b6df7ca824499a8c95423845cb1b7e9cc3a","unresolved":false,"context_lines":[{"line_number":58,"context_line":"    def vios_uuids(self):"},{"line_number":59,"context_line":"        \"\"\"List the UUIDs of the Virtual I/O Servers hosting the storage.\"\"\""},{"line_number":60,"context_line":"        # Get the hosting UUID"},{"line_number":61,"context_line":"        nl_vios_wrap \u003d partition.get_mgmt_partition(self.adapter)"},{"line_number":62,"context_line":"        return [nl_vios_wrap.uuid]"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"    def pre_live_migration_on_destination(self, mig_data):"},{"line_number":65,"context_line":"        \"\"\"Perform pre live migration steps for the volume on the target host."}],"source_content_type":"text/x-python","patch_set":1,"id":"5ff73747_1a5bcc54","line":62,"range":{"start_line":61,"start_character":0,"end_line":62,"end_character":34},"in_reply_to":"5ff73747_a69668ef","updated":"2017-05-02 16:58:50.000000000","message":"Done","commit_id":"b1a8538c66808d937b85df296bbe60551b957166"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"cf677404319a748452698ae44036e0da9da63834","unresolved":false,"context_lines":[{"line_number":64,"context_line":"    def vios_uuids(self):"},{"line_number":65,"context_line":"        \"\"\"List the UUIDs of the Virtual I/O Servers hosting the storage.\"\"\""},{"line_number":66,"context_line":"        # Get the hosting UUID"},{"line_number":67,"context_line":"        if not self._nl_vios_ids:"},{"line_number":68,"context_line":"            nl_vios_wrap \u003d partition.get_mgmt_partition(self.adapter)"},{"line_number":69,"context_line":"            self._nl_vios_ids \u003d [nl_vios_wrap.uuid]"},{"line_number":70,"context_line":"        return self._nl_vios_ids"}],"source_content_type":"text/x-python","patch_set":2,"id":"3f044301_90a0e4a7","line":67,"updated":"2017-05-03 21:35:01.000000000","message":"Okay, it should never happen because there should always be a mgmt partition, but for form\u0027s sake, this should be\n\n if self._nl_vios_ids is not None:","commit_id":"3b113b9ec4328ce0188f87e1e4f8b7b90f55bc7b"},{"author":{"_account_id":13002,"name":"Shyama","email":"shyvenug@in.ibm.com","username":"shyama"},"change_message_id":"4f5ed5c7d916ddb3788c3cf316d75a539aa0e44b","unresolved":false,"context_lines":[{"line_number":64,"context_line":"    def vios_uuids(self):"},{"line_number":65,"context_line":"        \"\"\"List the UUIDs of the Virtual I/O Servers hosting the storage.\"\"\""},{"line_number":66,"context_line":"        # Get the hosting UUID"},{"line_number":67,"context_line":"        if not self._nl_vios_ids:"},{"line_number":68,"context_line":"            nl_vios_wrap \u003d partition.get_mgmt_partition(self.adapter)"},{"line_number":69,"context_line":"            self._nl_vios_ids \u003d [nl_vios_wrap.uuid]"},{"line_number":70,"context_line":"        return self._nl_vios_ids"}],"source_content_type":"text/x-python","patch_set":2,"id":"3f044301_7c99ae1d","line":67,"in_reply_to":"3f044301_90a0e4a7","updated":"2017-05-04 04:34:30.000000000","message":"Done","commit_id":"3b113b9ec4328ce0188f87e1e4f8b7b90f55bc7b"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"40c5d03c0ddb7a520ab7e928c9c2e1c5cc73be3a","unresolved":false,"context_lines":[{"line_number":177,"context_line":"                 otherwise."},{"line_number":178,"context_line":"        :return: The file path."},{"line_number":179,"context_line":"        \"\"\""},{"line_number":180,"context_line":"        if vios_w.uuid not in self.vios_uuids:"},{"line_number":181,"context_line":"            return False, None"},{"line_number":182,"context_line":""},{"line_number":183,"context_line":"        vol_path \u003d self._get_path()"}],"source_content_type":"text/x-python","patch_set":5,"id":"3f044301_691b191b","line":180,"range":{"start_line":180,"start_character":8,"end_line":180,"end_character":46},"updated":"2017-05-04 17:07:27.000000000","message":"Doesn\u0027t this need to be the mgmt partition?\n\nI\u0027m confused why the entire change isn\u0027t just \"if vios_w is not mgmt partition -\u003e return False, None\"","commit_id":"c614c3a9a73641b905ac21f0d17a8deb7149812b"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"7f8fc8e14140932aa9af5641cd814d648737a690","unresolved":false,"context_lines":[{"line_number":177,"context_line":"                 otherwise."},{"line_number":178,"context_line":"        :return: The file path."},{"line_number":179,"context_line":"        \"\"\""},{"line_number":180,"context_line":"        if vios_w.uuid not in self.vios_uuids:"},{"line_number":181,"context_line":"            return False, None"},{"line_number":182,"context_line":""},{"line_number":183,"context_line":"        vol_path \u003d self._get_path()"}],"source_content_type":"text/x-python","patch_set":5,"id":"3f044301_80886fc6","line":180,"range":{"start_line":180,"start_character":8,"end_line":180,"end_character":46},"in_reply_to":"3f044301_691b191b","updated":"2017-05-04 21:35:48.000000000","message":"Same effect, if you look at self.vios_uuids, and saves the duplication of logic.","commit_id":"c614c3a9a73641b905ac21f0d17a8deb7149812b"},{"author":{"_account_id":13002,"name":"Shyama","email":"shyvenug@in.ibm.com","username":"shyama"},"change_message_id":"09d5ff9ab78a3be4c326a28c53bc274d51dd058c","unresolved":false,"context_lines":[{"line_number":177,"context_line":"                 otherwise."},{"line_number":178,"context_line":"        :return: The file path."},{"line_number":179,"context_line":"        \"\"\""},{"line_number":180,"context_line":"        if vios_w.uuid not in self.vios_uuids:"},{"line_number":181,"context_line":"            return False, None"},{"line_number":182,"context_line":""},{"line_number":183,"context_line":"        vol_path \u003d self._get_path()"}],"source_content_type":"text/x-python","patch_set":5,"id":"3f044301_6637b4b2","line":180,"range":{"start_line":180,"start_character":8,"end_line":180,"end_character":46},"in_reply_to":"3f044301_80886fc6","updated":"2017-05-05 06:27:35.000000000","message":"The vios_uuids does help avoid duplicate code to get the mgmt partition id.","commit_id":"c614c3a9a73641b905ac21f0d17a8deb7149812b"}]}
