)]}'
{"nova_powervm/tests/virt/powervm/test_driver.py":[{"author":{"_account_id":13557,"name":"Matt Rabe","email":"mdrabe@us.ibm.com","username":"mdrabe"},"change_message_id":"47c0d585d59bc846fa0dd2872fb6d777184b5773","unresolved":false,"context_lines":[{"line_number":950,"context_line":"            [mock.call(mock_bld_slot_mgr.return_value)] * 2)"},{"line_number":951,"context_line":""},{"line_number":952,"context_line":"        # Post-scrub was invoked"},{"line_number":953,"context_line":"        mock_rm_maps.assert_called()"},{"line_number":954,"context_line":""},{"line_number":955,"context_line":"        # Delete LPAR was called"},{"line_number":956,"context_line":"        mock_dlt.assert_called_with(self.apt, mock.ANY)"}],"source_content_type":"text/x-python","patch_set":1,"id":"bacf61ea_4ed795bf","line":953,"range":{"start_line":953,"start_character":21,"end_line":953,"end_character":36},"updated":"2016-08-02 16:56:16.000000000","message":"assert_called_with would be a little better :)","commit_id":"8d817e6d96f867a651a7741a40dfe90f352f4765"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"8d313e8620ff3fe5364d175c8a48b4b9435c8117","unresolved":false,"context_lines":[{"line_number":950,"context_line":"            [mock.call(mock_bld_slot_mgr.return_value)] * 2)"},{"line_number":951,"context_line":""},{"line_number":952,"context_line":"        # Post-scrub was invoked"},{"line_number":953,"context_line":"        mock_rm_maps.assert_called()"},{"line_number":954,"context_line":""},{"line_number":955,"context_line":"        # Delete LPAR was called"},{"line_number":956,"context_line":"        mock_dlt.assert_called_with(self.apt, mock.ANY)"}],"source_content_type":"text/x-python","patch_set":1,"id":"bacf61ea_260d1d38","line":953,"range":{"start_line":953,"start_character":21,"end_line":953,"end_character":36},"in_reply_to":"bacf61ea_4ed795bf","updated":"2016-08-02 20:53:24.000000000","message":"Okay.  Wanted to avoid that because it\u0027s tough to validate the VIOS wrapper, and I feel like mock.ANY is a copout.  Added a validator function.","commit_id":"8d817e6d96f867a651a7741a40dfe90f352f4765"}],"nova_powervm/virt/powervm/driver.py":[{"author":{"_account_id":13557,"name":"Matt Rabe","email":"mdrabe@us.ibm.com","username":"mdrabe"},"change_message_id":"126b089167e4f814e8b605f4ac8c7bbe2db6c1c4","unresolved":false,"context_lines":[{"line_number":616,"context_line":"            # mappings because no disk name/UDID.  We now remove such mappings"},{"line_number":617,"context_line":"            # based on their association with the LPAR ID."},{"line_number":618,"context_line":"            def _rm_vscsi_maps(vwrap):"},{"line_number":619,"context_line":"                removals \u003d pvm_smap.remove_maps(vwrap, pvm_inst_uuid)"},{"line_number":620,"context_line":"                if removals:"},{"line_number":621,"context_line":"                    LOG.warning(_LW(\"Removing %(num_maps)d storage-less VSCSI \""},{"line_number":622,"context_line":"                                    \"mappings associated with LPAR ID \""}],"source_content_type":"text/x-python","patch_set":1,"id":"bacf61ea_0330d606","line":619,"range":{"start_line":619,"start_character":55,"end_line":619,"end_character":68},"updated":"2016-08-02 16:45:34.000000000","message":"I think this needs to be the client LPAR ID, where pvm_inst_uuid is the instance uuid.","commit_id":"8d817e6d96f867a651a7741a40dfe90f352f4765"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"863e1106aa920b88ad6375c9d802391533a47a6d","unresolved":false,"context_lines":[{"line_number":616,"context_line":"            # mappings because no disk name/UDID.  We now remove such mappings"},{"line_number":617,"context_line":"            # based on their association with the LPAR ID."},{"line_number":618,"context_line":"            def _rm_vscsi_maps(vwrap):"},{"line_number":619,"context_line":"                removals \u003d pvm_smap.remove_maps(vwrap, pvm_inst_uuid)"},{"line_number":620,"context_line":"                if removals:"},{"line_number":621,"context_line":"                    LOG.warning(_LW(\"Removing %(num_maps)d storage-less VSCSI \""},{"line_number":622,"context_line":"                                    \"mappings associated with LPAR ID \""}],"source_content_type":"text/x-python","patch_set":1,"id":"bacf61ea_ef35a3a8","line":619,"range":{"start_line":619,"start_character":55,"end_line":619,"end_character":68},"in_reply_to":"bacf61ea_0330d606","updated":"2016-08-02 17:40:05.000000000","message":"API indicates it can be client lpar id or uuid.","commit_id":"8d817e6d96f867a651a7741a40dfe90f352f4765"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"8d313e8620ff3fe5364d175c8a48b4b9435c8117","unresolved":false,"context_lines":[{"line_number":616,"context_line":"            # mappings because no disk name/UDID.  We now remove such mappings"},{"line_number":617,"context_line":"            # based on their association with the LPAR ID."},{"line_number":618,"context_line":"            def _rm_vscsi_maps(vwrap):"},{"line_number":619,"context_line":"                removals \u003d pvm_smap.remove_maps(vwrap, pvm_inst_uuid)"},{"line_number":620,"context_line":"                if removals:"},{"line_number":621,"context_line":"                    LOG.warning(_LW(\"Removing %(num_maps)d storage-less VSCSI \""},{"line_number":622,"context_line":"                                    \"mappings associated with LPAR ID \""}],"source_content_type":"text/x-python","patch_set":1,"id":"bacf61ea_8bcdf488","line":619,"range":{"start_line":619,"start_character":55,"end_line":619,"end_character":68},"in_reply_to":"bacf61ea_ef35a3a8","updated":"2016-08-02 20:53:24.000000000","message":"Right, and the UUID is a little easier to get to from here.","commit_id":"8d817e6d96f867a651a7741a40dfe90f352f4765"},{"author":{"_account_id":13557,"name":"Matt Rabe","email":"mdrabe@us.ibm.com","username":"mdrabe"},"change_message_id":"126b089167e4f814e8b605f4ac8c7bbe2db6c1c4","unresolved":false,"context_lines":[{"line_number":625,"context_line":"                                 \u0027lpar_uuid\u0027: pvm_inst_uuid,"},{"line_number":626,"context_line":"                                 \u0027vios_name\u0027: vwrap.name})"},{"line_number":627,"context_line":"                return removals"},{"line_number":628,"context_line":"            stg_ftsk.add_functor_subtask(_rm_vscsi_maps)"},{"line_number":629,"context_line":""},{"line_number":630,"context_line":"            # Add the transaction manager flow to the end of the \u0027storage"},{"line_number":631,"context_line":"            # connection\u0027 tasks.  This will run all the disconnection ops"}],"source_content_type":"text/x-python","patch_set":1,"id":"bacf61ea_83cde688","line":628,"range":{"start_line":628,"start_character":12,"end_line":628,"end_character":56},"updated":"2016-08-02 16:45:34.000000000","message":"This is the FeedTask magic where a single VIOS wrapper from the feed will get passed to the subtask (_rm_vscsi_maps in this case)? \n\nJust wanna make sure I understand.","commit_id":"8d817e6d96f867a651a7741a40dfe90f352f4765"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"8d313e8620ff3fe5364d175c8a48b4b9435c8117","unresolved":false,"context_lines":[{"line_number":625,"context_line":"                                 \u0027lpar_uuid\u0027: pvm_inst_uuid,"},{"line_number":626,"context_line":"                                 \u0027vios_name\u0027: vwrap.name})"},{"line_number":627,"context_line":"                return removals"},{"line_number":628,"context_line":"            stg_ftsk.add_functor_subtask(_rm_vscsi_maps)"},{"line_number":629,"context_line":""},{"line_number":630,"context_line":"            # Add the transaction manager flow to the end of the \u0027storage"},{"line_number":631,"context_line":"            # connection\u0027 tasks.  This will run all the disconnection ops"}],"source_content_type":"text/x-python","patch_set":1,"id":"bacf61ea_cbc7ec62","line":628,"range":{"start_line":628,"start_character":12,"end_line":628,"end_character":56},"in_reply_to":"bacf61ea_4f478f1d","updated":"2016-08-02 20:53:24.000000000","message":"Yup.","commit_id":"8d817e6d96f867a651a7741a40dfe90f352f4765"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"863e1106aa920b88ad6375c9d802391533a47a6d","unresolved":false,"context_lines":[{"line_number":625,"context_line":"                                 \u0027lpar_uuid\u0027: pvm_inst_uuid,"},{"line_number":626,"context_line":"                                 \u0027vios_name\u0027: vwrap.name})"},{"line_number":627,"context_line":"                return removals"},{"line_number":628,"context_line":"            stg_ftsk.add_functor_subtask(_rm_vscsi_maps)"},{"line_number":629,"context_line":""},{"line_number":630,"context_line":"            # Add the transaction manager flow to the end of the \u0027storage"},{"line_number":631,"context_line":"            # connection\u0027 tasks.  This will run all the disconnection ops"}],"source_content_type":"text/x-python","patch_set":1,"id":"bacf61ea_4f478f1d","line":628,"range":{"start_line":628,"start_character":12,"end_line":628,"end_character":56},"in_reply_to":"bacf61ea_83cde688","updated":"2016-08-02 17:40:05.000000000","message":"Yes","commit_id":"8d817e6d96f867a651a7741a40dfe90f352f4765"}]}
