)]}'
{"nova_powervm/tests/virt/powervm/disk/test_localdisk.py":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"28a54ce5b68810239c84ceb86a0f0f6223f79510","unresolved":false,"context_lines":[{"line_number":404,"context_line":"        self.mock_vios_feed \u003d [pvm_vios.VIOS.wrap(self.vio_to_vg)]"},{"line_number":405,"context_line":"        self.mock_vg_feed \u003d [pvm_stor.VG.wrap(self.vg_to_vio)]"},{"line_number":406,"context_line":""},{"line_number":407,"context_line":"        # Set up that the mgmt LPAR is of type LPAR (as other test used VIOS)"},{"line_number":408,"context_line":"        self.mgmt_fx \u003d self.useFixture(fx.MgmtUUIDType())"},{"line_number":409,"context_line":"        self.mock_uuid_type \u003d self.mgmt_fx.mock_uuid_type"},{"line_number":410,"context_line":"        self.mock_uuid_type.return_value \u003d \u0027mgmt_uuid\u0027, pvm_lpar.LPAR"}],"source_content_type":"text/x-python","patch_set":1,"id":"3aaa91ec_acf8aae6","line":407,"updated":"2016-06-22 13:03:01.000000000","message":"But not checked anywhere","commit_id":"f352365f08df92b51ec86335f989ec5f94a75c8d"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"805795dbd2cf90dbc3284f6f4381dadc0c545d7c","unresolved":false,"context_lines":[{"line_number":404,"context_line":"        self.mock_vios_feed \u003d [pvm_vios.VIOS.wrap(self.vio_to_vg)]"},{"line_number":405,"context_line":"        self.mock_vg_feed \u003d [pvm_stor.VG.wrap(self.vg_to_vio)]"},{"line_number":406,"context_line":""},{"line_number":407,"context_line":"        # Set up that the mgmt LPAR is of type LPAR (as other test used VIOS)"},{"line_number":408,"context_line":"        self.mgmt_fx \u003d self.useFixture(fx.MgmtUUIDType())"},{"line_number":409,"context_line":"        self.mock_uuid_type \u003d self.mgmt_fx.mock_uuid_type"},{"line_number":410,"context_line":"        self.mock_uuid_type.return_value \u003d \u0027mgmt_uuid\u0027, pvm_lpar.LPAR"}],"source_content_type":"text/x-python","patch_set":1,"id":"3aaa91ec_4792b8a0","line":407,"in_reply_to":"3aaa91ec_acf8aae6","updated":"2016-06-22 14:53:34.000000000","message":"I didn\u0027t really care to check...more that it tolerated?","commit_id":"f352365f08df92b51ec86335f989ec5f94a75c8d"}],"nova_powervm/tests/virt/powervm/test_media.py":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"28a54ce5b68810239c84ceb86a0f0f6223f79510","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"3aaa91ec_4c4ae6c6","updated":"2016-06-22 13:03:01.000000000","message":"_get_vioses is not tested anywhere.\n\nI actually think it would have been better if you had kept the mocks of VIOS.get","commit_id":"f352365f08df92b51ec86335f989ec5f94a75c8d"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"805795dbd2cf90dbc3284f6f4381dadc0c545d7c","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"3aaa91ec_47f598c9","in_reply_to":"3aaa91ec_4c4ae6c6","updated":"2016-06-22 14:53:34.000000000","message":"Well, I tried that.  The reason I backed away is that the sorted method was non-deterministic.  And every third or fourth test would fail.\n\nI couldn\u0027t find a good way to mock sorted either.\n\nIdeas?","commit_id":"f352365f08df92b51ec86335f989ec5f94a75c8d"}],"nova_powervm/virt/powervm/media.py":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"28a54ce5b68810239c84ceb86a0f0f6223f79510","unresolved":false,"context_lines":[{"line_number":230,"context_line":""},{"line_number":231,"context_line":"        # Change the order so that the management partition (if one is a VIOS)"},{"line_number":232,"context_line":"        # is the first element.  This means that we will try to create the vopt"},{"line_number":233,"context_line":"        # on the mgmt partition (if it of type \u0027VIOS\u0027)."},{"line_number":234,"context_line":"        vio_wraps \u003d sorted(vio_wraps, key\u003dlambda x: x.is_mgmt_partition,"},{"line_number":235,"context_line":"                           reverse\u003dTrue)"},{"line_number":236,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"3aaa91ec_6cbb62c5","line":233,"updated":"2016-06-22 13:03:01.000000000","message":"if it *is* of type","commit_id":"f352365f08df92b51ec86335f989ec5f94a75c8d"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"805795dbd2cf90dbc3284f6f4381dadc0c545d7c","unresolved":false,"context_lines":[{"line_number":230,"context_line":""},{"line_number":231,"context_line":"        # Change the order so that the management partition (if one is a VIOS)"},{"line_number":232,"context_line":"        # is the first element.  This means that we will try to create the vopt"},{"line_number":233,"context_line":"        # on the mgmt partition (if it of type \u0027VIOS\u0027)."},{"line_number":234,"context_line":"        vio_wraps \u003d sorted(vio_wraps, key\u003dlambda x: x.is_mgmt_partition,"},{"line_number":235,"context_line":"                           reverse\u003dTrue)"},{"line_number":236,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"3aaa91ec_270dec90","line":233,"in_reply_to":"3aaa91ec_6cbb62c5","updated":"2016-06-22 14:53:34.000000000","message":"Done","commit_id":"f352365f08df92b51ec86335f989ec5f94a75c8d"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"28a54ce5b68810239c84ceb86a0f0f6223f79510","unresolved":false,"context_lines":[{"line_number":231,"context_line":"        # Change the order so that the management partition (if one is a VIOS)"},{"line_number":232,"context_line":"        # is the first element.  This means that we will try to create the vopt"},{"line_number":233,"context_line":"        # on the mgmt partition (if it of type \u0027VIOS\u0027)."},{"line_number":234,"context_line":"        vio_wraps \u003d sorted(vio_wraps, key\u003dlambda x: x.is_mgmt_partition,"},{"line_number":235,"context_line":"                           reverse\u003dTrue)"},{"line_number":236,"context_line":""},{"line_number":237,"context_line":"    @lockutils.synchronized(\u0027validate_vopt\u0027)"},{"line_number":238,"context_line":"    def _validate_vopt_vg(self):"}],"source_content_type":"text/x-python","patch_set":1,"id":"3aaa91ec_2c75daf8","line":235,"range":{"start_line":234,"start_character":8,"end_line":235,"end_character":40},"updated":"2016-06-22 13:03:01.000000000","message":"Could use vio_wraps.sort(...) to sort in-place rather than creating a new list.  It probably doesn\u0027t matter, though.","commit_id":"f352365f08df92b51ec86335f989ec5f94a75c8d"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"805795dbd2cf90dbc3284f6f4381dadc0c545d7c","unresolved":false,"context_lines":[{"line_number":231,"context_line":"        # Change the order so that the management partition (if one is a VIOS)"},{"line_number":232,"context_line":"        # is the first element.  This means that we will try to create the vopt"},{"line_number":233,"context_line":"        # on the mgmt partition (if it of type \u0027VIOS\u0027)."},{"line_number":234,"context_line":"        vio_wraps \u003d sorted(vio_wraps, key\u003dlambda x: x.is_mgmt_partition,"},{"line_number":235,"context_line":"                           reverse\u003dTrue)"},{"line_number":236,"context_line":""},{"line_number":237,"context_line":"    @lockutils.synchronized(\u0027validate_vopt\u0027)"},{"line_number":238,"context_line":"    def _validate_vopt_vg(self):"}],"source_content_type":"text/x-python","patch_set":1,"id":"3aaa91ec_47691825","line":235,"range":{"start_line":234,"start_character":8,"end_line":235,"end_character":40},"in_reply_to":"3aaa91ec_2c75daf8","updated":"2016-06-22 14:53:34.000000000","message":"Hmm....that might solve the whole reason I made this another method?  How strong do you feel about this?\n\nHonestly, I\u0027m debating moving this logic down into pypowervm instead of nova_powervm.","commit_id":"f352365f08df92b51ec86335f989ec5f94a75c8d"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"28a54ce5b68810239c84ceb86a0f0f6223f79510","unresolved":false,"context_lines":[{"line_number":233,"context_line":"        # on the mgmt partition (if it of type \u0027VIOS\u0027)."},{"line_number":234,"context_line":"        vio_wraps \u003d sorted(vio_wraps, key\u003dlambda x: x.is_mgmt_partition,"},{"line_number":235,"context_line":"                           reverse\u003dTrue)"},{"line_number":236,"context_line":""},{"line_number":237,"context_line":"    @lockutils.synchronized(\u0027validate_vopt\u0027)"},{"line_number":238,"context_line":"    def _validate_vopt_vg(self):"},{"line_number":239,"context_line":"        \"\"\"Will ensure that the virtual optical media repository exists."}],"source_content_type":"text/x-python","patch_set":1,"id":"3aaa91ec_8c604e37","line":236,"updated":"2016-06-22 13:03:01.000000000","message":"This method needs to return vio_wraps","commit_id":"f352365f08df92b51ec86335f989ec5f94a75c8d"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"805795dbd2cf90dbc3284f6f4381dadc0c545d7c","unresolved":false,"context_lines":[{"line_number":233,"context_line":"        # on the mgmt partition (if it of type \u0027VIOS\u0027)."},{"line_number":234,"context_line":"        vio_wraps \u003d sorted(vio_wraps, key\u003dlambda x: x.is_mgmt_partition,"},{"line_number":235,"context_line":"                           reverse\u003dTrue)"},{"line_number":236,"context_line":""},{"line_number":237,"context_line":"    @lockutils.synchronized(\u0027validate_vopt\u0027)"},{"line_number":238,"context_line":"    def _validate_vopt_vg(self):"},{"line_number":239,"context_line":"        \"\"\"Will ensure that the virtual optical media repository exists."}],"source_content_type":"text/x-python","patch_set":1,"id":"3aaa91ec_87730015","line":236,"in_reply_to":"3aaa91ec_8c604e37","updated":"2016-06-22 14:53:34.000000000","message":"Doh!","commit_id":"f352365f08df92b51ec86335f989ec5f94a75c8d"}],"nova_powervm/virt/powervm/mgmt.py":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"28a54ce5b68810239c84ceb86a0f0f6223f79510","unresolved":false,"context_lines":[{"line_number":54,"context_line":"    if _MGMT_UUID is None:"},{"line_number":55,"context_line":"        mgmt_w \u003d pvm_par.get_mgmt_partition(adapter)"},{"line_number":56,"context_line":"        _MGMT_UUID \u003d mgmt_w.uuid"},{"line_number":57,"context_line":"        _MGMT_TYPE \u003d mgmt_w.__class__"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"    return _MGMT_UUID, _MGMT_TYPE"},{"line_number":60,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"3aaa91ec_5f528614","line":57,"updated":"2016-06-22 13:03:01.000000000","message":"_MGMT_TYPE is currently not used, which isn\u0027t a problem if you have an immediate use case in mind.  Almost makes one wonder whether we should simply cache the whole management partition wrapper.","commit_id":"f352365f08df92b51ec86335f989ec5f94a75c8d"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"805795dbd2cf90dbc3284f6f4381dadc0c545d7c","unresolved":false,"context_lines":[{"line_number":54,"context_line":"    if _MGMT_UUID is None:"},{"line_number":55,"context_line":"        mgmt_w \u003d pvm_par.get_mgmt_partition(adapter)"},{"line_number":56,"context_line":"        _MGMT_UUID \u003d mgmt_w.uuid"},{"line_number":57,"context_line":"        _MGMT_TYPE \u003d mgmt_w.__class__"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"    return _MGMT_UUID, _MGMT_TYPE"},{"line_number":60,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"3aaa91ec_c7f1886c","line":57,"in_reply_to":"3aaa91ec_5f528614","updated":"2016-06-22 14:53:34.000000000","message":"I have one that I missed.  Its over in vif.  Will hit in next change set.\n\nIronic, because that is what kicked this off to begin with.","commit_id":"f352365f08df92b51ec86335f989ec5f94a75c8d"},{"author":{"_account_id":13557,"name":"Matt Rabe","email":"mdrabe@us.ibm.com","username":"mdrabe"},"change_message_id":"726d07065e1fd005f38b1dcc91c4b8189633b1a9","unresolved":false,"context_lines":[{"line_number":45,"context_line":"    \"\"\"Returns the mgmt VM UUID and Type (LPAR or VIOS)."},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"    This method will look up the information once and then store it"},{"line_number":48,"context_line":"    globally.  This information should not change from call to call."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"    :param adapter: The pypowervm adapter."},{"line_number":51,"context_line":"    :return: The management VM\u0027s UUID and class type."}],"source_content_type":"text/x-python","patch_set":2,"id":"3aaa91ec_f07c2ded","line":48,"range":{"start_line":48,"start_character":15,"end_line":48,"end_character":67},"updated":"2016-06-22 19:05:49.000000000","message":"Is it guaranteed not to change? Would it make sense to have a force flag here to update the globals?","commit_id":"b21f0b785bceccb1bd4c017e561e3f0a0caba121"}]}
