)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"a2b1f2dada1544711621109547fff8e3d2cf956d","unresolved":false,"context_lines":[{"line_number":15,"context_line":""},{"line_number":16,"context_line":"TODOs:"},{"line_number":17,"context_line":"    Test"},{"line_number":18,"context_line":"    Doc"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"Change-Id: Ibc60d633153ca0cfa2b1c8c3e0cbdb80a1546409"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"1a6eadb0_9569978e","line":18,"range":{"start_line":18,"start_character":0,"end_line":18,"end_character":7},"updated":"2016-12-12 18:36:57.000000000","message":"This should point to the spec.  Either a partially implements or an implements.","commit_id":"612eb675964815286fe8f7ad90f636897a9f81f5"},{"author":{"_account_id":13883,"name":"Adam Reznechek","email":"adreznec@us.ibm.com","username":"adrez"},"change_message_id":"c2ef532e37afa9f2ebb97d9851e63c1c736464aa","unresolved":false,"context_lines":[{"line_number":15,"context_line":""},{"line_number":16,"context_line":"TODOs:"},{"line_number":17,"context_line":"    Test"},{"line_number":18,"context_line":"    Doc"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"Change-Id: Ibc60d633153ca0cfa2b1c8c3e0cbdb80a1546409"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"1a6eadb0_2be85f7c","line":18,"range":{"start_line":18,"start_character":0,"end_line":18,"end_character":7},"in_reply_to":"1a6eadb0_9569978e","updated":"2016-12-12 22:28:57.000000000","message":"This should be an implements of the initial blueprint imo. Future enhancements should be another blueprint.","commit_id":"612eb675964815286fe8f7ad90f636897a9f81f5"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"98dec61436d948e15ece3b2d7cd3856949241910","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"WIP First pass at imagecache"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Imagecache checks for LV with names like g_* and"},{"line_number":10,"context_line":"compares that list to a list of currently used images. It will"},{"line_number":11,"context_line":"then remove all images not currently being used."},{"line_number":12,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"7a3c09a3_e32029fa","line":9,"range":{"start_line":9,"start_character":41,"end_line":9,"end_character":44},"updated":"2017-01-13 17:43:59.000000000","message":"i_*","commit_id":"130133b6cf73749e762ef36eb3e7412be8d8abf5"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"98dec61436d948e15ece3b2d7cd3856949241910","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":4,"id":"7a3c09a3_c35b2d53","line":17,"updated":"2017-01-13 17:43:59.000000000","message":"Add [Partially-]Implements: bp image-cache-powervm","commit_id":"130133b6cf73749e762ef36eb3e7412be8d8abf5"}],"nova_powervm/tests/virt/powervm/disk/test_imagecache.py":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"9803d9bd0171458f45e4fe52d98acbfc40172152","unresolved":false,"context_lines":[{"line_number":24,"context_line":"from nova_powervm.virt.powervm.disk import imagecache as imagecache"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"VOL_GRP \u003d \u0027fake_volume_group2.txt\u0027"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"class TestImageCache(test.TestCase):"}],"source_content_type":"text/x-python","patch_set":8,"id":"7a3c09a3_11f21c06","line":27,"updated":"2017-01-18 15:52:53.000000000","message":"We\u0027re trying to get away from using pypowervm test data in the community code.  If it\u0027s not too painful, replace this with a traditional Mock().","commit_id":"596247110a8ef5d03cd4eddf23f805d6153a2e98"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"9803d9bd0171458f45e4fe52d98acbfc40172152","unresolved":false,"context_lines":[{"line_number":32,"context_line":""},{"line_number":33,"context_line":"    def setUp(self):"},{"line_number":34,"context_line":"        super(TestImageCache, self).setUp()"},{"line_number":35,"context_line":"        self.apt \u003d self.useFixture(pvm_fx.AdapterFx()).adpt"},{"line_number":36,"context_line":"        vg_uuid \u003d \u0027b6bdbf1f-eddf-3c81-8801-9859eb6fedcb\u0027"},{"line_number":37,"context_line":"        vios_uuid \u003d \u0027vios_uuid\u0027"},{"line_number":38,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"7a3c09a3_31ad589b","line":35,"range":{"start_line":35,"start_character":8,"end_line":35,"end_character":59},"updated":"2017-01-18 15:52:53.000000000","message":"This doesn\u0027t appear necessary.  Mock VG.get instead.  (You\u0027ve done this in test_get_base; just move it up here with fixtures.MockPatch.)","commit_id":"596247110a8ef5d03cd4eddf23f805d6153a2e98"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"9803d9bd0171458f45e4fe52d98acbfc40172152","unresolved":false,"context_lines":[{"line_number":36,"context_line":"        vg_uuid \u003d \u0027b6bdbf1f-eddf-3c81-8801-9859eb6fedcb\u0027"},{"line_number":37,"context_line":"        vios_uuid \u003d \u0027vios_uuid\u0027"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"        def resp(file_name):"},{"line_number":40,"context_line":"            return pvmhttp.load_pvm_resp("},{"line_number":41,"context_line":"                file_name, adapter\u003dself.apt).get_response()"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"        self.vg_resp \u003d resp(VOL_GRP)"},{"line_number":44,"context_line":"        # Get the image_pool VG"},{"line_number":45,"context_line":"        self.mock_vg \u003d pvm_stor.VG.wrap(self.vg_resp)[1]"},{"line_number":46,"context_line":"        self.img_cache \u003d imagecache.ImageManager(self.apt, vg_uuid, vios_uuid)"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"    @mock.patch(\u0027pypowervm.wrappers.storage.VG.get\u0027)"}],"source_content_type":"text/x-python","patch_set":8,"id":"7a3c09a3_319b9867","line":45,"range":{"start_line":39,"start_character":0,"end_line":45,"end_character":56},"updated":"2017-01-18 15:52:53.000000000","message":"Per above, get rid of this and set the VG.get fixture\u0027s mock to your new Mock().","commit_id":"596247110a8ef5d03cd4eddf23f805d6153a2e98"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"9803d9bd0171458f45e4fe52d98acbfc40172152","unresolved":false,"context_lines":[{"line_number":51,"context_line":"        self.apt.read.return_value \u003d self.mock_vg"},{"line_number":52,"context_line":"        mock_vg.return_value \u003d self.mock_vg"},{"line_number":53,"context_line":"        vg_wrap \u003d self.img_cache._get_base()"},{"line_number":54,"context_line":"        self.assertEqual(\u0027b6bdbf1f-eddf-3c81-8801-9859eb6fedcb\u0027,"},{"line_number":55,"context_line":"                         vg_wrap.uuid)"},{"line_number":56,"context_line":"        self.assertEqual(vg_wrap, self.mock_vg)"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"    def test_scan_base_image(self):"}],"source_content_type":"text/x-python","patch_set":8,"id":"7a3c09a3_11e69ce7","line":55,"range":{"start_line":54,"start_character":0,"end_line":55,"end_character":38},"updated":"2017-01-18 15:52:53.000000000","message":"Strike.  (Tests pypowervm internals, and is redundant given subsequent assertion.)","commit_id":"596247110a8ef5d03cd4eddf23f805d6153a2e98"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"9803d9bd0171458f45e4fe52d98acbfc40172152","unresolved":false,"context_lines":[{"line_number":54,"context_line":"        self.assertEqual(\u0027b6bdbf1f-eddf-3c81-8801-9859eb6fedcb\u0027,"},{"line_number":55,"context_line":"                         vg_wrap.uuid)"},{"line_number":56,"context_line":"        self.assertEqual(vg_wrap, self.mock_vg)"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"    def test_scan_base_image(self):"},{"line_number":59,"context_line":"        # No cached images"},{"line_number":60,"context_line":"        base_images \u003d self.img_cache._scan_base_image(self.mock_vg)"}],"source_content_type":"text/x-python","patch_set":8,"id":"7a3c09a3_11fdbc6d","line":57,"updated":"2017-01-18 15:52:53.000000000","message":"self.mock_vg_get.assert_called_once_with(...)","commit_id":"596247110a8ef5d03cd4eddf23f805d6153a2e98"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"9803d9bd0171458f45e4fe52d98acbfc40172152","unresolved":false,"context_lines":[{"line_number":63,"context_line":"        disk \u003d pvm_stor.VDisk.bld(None, \u0027i_bf8446e4_4f52\u0027, 10, label\u003d\u0027label\u0027)"},{"line_number":64,"context_line":"        self.mock_vg.virtual_disks.append(disk)"},{"line_number":65,"context_line":"        base_images \u003d self.img_cache._scan_base_image(self.mock_vg)"},{"line_number":66,"context_line":"        self.assertEqual(disk, base_images[0])"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"    @mock.patch(\u0027pypowervm.tasks.storage.rm_vg_storage\u0027)"},{"line_number":69,"context_line":"    @mock.patch(\u0027nova.virt.imagecache.ImageCacheManager.\u0027"}],"source_content_type":"text/x-python","patch_set":8,"id":"7a3c09a3_d162543d","line":66,"range":{"start_line":66,"start_character":0,"end_line":66,"end_character":46},"updated":"2017-01-18 15:52:53.000000000","message":"Prefer comprehensive inspection of the returned list (to make sure none of the non-\u0027i_\u0027 VDisks are included).  Set up your VG mock accordingly.","commit_id":"596247110a8ef5d03cd4eddf23f805d6153a2e98"}],"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":"551357f958ae421c994e6648a9138f964a7aae20","unresolved":false,"context_lines":[{"line_number":135,"context_line":"        mock_img_api.reset_mock()"},{"line_number":136,"context_line":"        img_udid \u003d local._get_or_upload_image(None, powervm.TEST_IMAGE1)"},{"line_number":137,"context_line":"        self.assertEqual(mock_image.udid, img_udid)"},{"line_number":138,"context_line":"        self.assertEqual(mock_img_api.call_count, 0)"},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"    @mock.patch(\u0027pypowervm.wrappers.storage.VG.get\u0027)"},{"line_number":141,"context_line":"    def test_capacity(self, mock_vg):"}],"source_content_type":"text/x-python","patch_set":12,"id":"1a430d35_814baa86","line":138,"updated":"2017-02-06 16:04:26.000000000","message":"Or\n\n mock_img_api.assert_not_called()","commit_id":"976a8df57a04828ae2cecd42d5b6a96478578871"}],"nova_powervm/virt/powervm/disk/driver.py":[{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"16713004f4afb634635956b1facee52cf5bf6e8e","unresolved":false,"context_lines":[{"line_number":46,"context_line":""},{"line_number":47,"context_line":"    capabilities \u003d {"},{"line_number":48,"context_line":"        \u0027shared_storage\u0027: False,"},{"line_number":49,"context_line":"        \u0027has_imagecache\u0027: False,"},{"line_number":50,"context_line":"    }"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"    def __init__(self, adapter, host_uuid):"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a71b18c_f9ed288f","line":49,"range":{"start_line":49,"start_character":8,"end_line":49,"end_character":32},"updated":"2016-12-08 18:21:06.000000000","message":"So I think we would only use the image cache if we\u0027re localdisk.py.  It doesn\u0027t make sense to use it with SSP.  So we should make this conditional on what disk driver you use.","commit_id":"eff0d8a5c58e1345d9d833709561094839e9456b"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"d322963f323ef57c00c01d1064f6888f7bf57626","unresolved":false,"context_lines":[{"line_number":46,"context_line":""},{"line_number":47,"context_line":"    capabilities \u003d {"},{"line_number":48,"context_line":"        \u0027shared_storage\u0027: False,"},{"line_number":49,"context_line":"        \u0027has_imagecache\u0027: False,"},{"line_number":50,"context_line":"    }"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"    def __init__(self, adapter, host_uuid):"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a71b18c_77eaffad","line":49,"range":{"start_line":49,"start_character":8,"end_line":49,"end_character":32},"in_reply_to":"3a71b18c_f9ed288f","updated":"2016-12-08 19:00:09.000000000","message":"I overwrite this in localdisk to be true. Couldn\u0027t we make a similar argument for shared_storage? It is only used in SSP.\n\nDo we want to just default to False here, then in both SSP/localdisk set the capabilities to what we want.","commit_id":"eff0d8a5c58e1345d9d833709561094839e9456b"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"a2b1f2dada1544711621109547fff8e3d2cf956d","unresolved":false,"context_lines":[{"line_number":79,"context_line":"        \"\"\""},{"line_number":80,"context_line":"        return {}"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"    def manage_image_cache(self, context, all_instances):"},{"line_number":83,"context_line":"        pass"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"    def validate(self, disk_info):"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a6eadb0_1514a7f3","line":82,"range":{"start_line":82,"start_character":0,"end_line":82,"end_character":57},"updated":"2016-12-12 18:36:57.000000000","message":"What does this do?","commit_id":"612eb675964815286fe8f7ad90f636897a9f81f5"},{"author":{"_account_id":13883,"name":"Adam Reznechek","email":"adreznec@us.ibm.com","username":"adrez"},"change_message_id":"c2ef532e37afa9f2ebb97d9851e63c1c736464aa","unresolved":false,"context_lines":[{"line_number":79,"context_line":"        \"\"\""},{"line_number":80,"context_line":"        return {}"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"    def manage_image_cache(self, context, all_instances):"},{"line_number":83,"context_line":"        pass"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"    def validate(self, disk_info):"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a6eadb0_cb036b0e","line":82,"range":{"start_line":82,"start_character":0,"end_line":82,"end_character":57},"in_reply_to":"1a6eadb0_1514a7f3","updated":"2016-12-12 22:28:57.000000000","message":"Nothing if you don\u0027t have an image cache, which this base driver doesn\u0027t? Normally it would handle aging, removal of images, etc.","commit_id":"612eb675964815286fe8f7ad90f636897a9f81f5"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"8fa51a780b2e6b95ef9415b163885f1f06de5e52","unresolved":false,"context_lines":[{"line_number":259,"context_line":"            else pvm_const.MaxLen.FILENAME_DEFAULT)"},{"line_number":260,"context_line":""},{"line_number":261,"context_line":"    @staticmethod"},{"line_number":262,"context_line":"    def get_name_by_uuid(disk_type, uuid, short\u003dFalse):"},{"line_number":263,"context_line":"        prefix \u003d \u0027%s_\u0027 % (disk_type[0] if short else disk_type)"},{"line_number":264,"context_line":"        return pvm_util.sanitize_file_name_for_api("},{"line_number":265,"context_line":"            uuid, prefix\u003dprefix, max_len\u003dpvm_const.MaxLen.VDISK_NAME if short"}],"source_content_type":"text/x-python","patch_set":5,"id":"7a3c09a3_fd651ee1","line":262,"updated":"2017-01-13 22:24:23.000000000","message":"UT for this","commit_id":"e2852a4175a7d3e4742740422ba3eb5706566bad"}],"nova_powervm/virt/powervm/disk/imagecache.py":[{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"16713004f4afb634635956b1facee52cf5bf6e8e","unresolved":false,"context_lines":[{"line_number":43,"context_line":""},{"line_number":44,"context_line":"        # Find LVs in the _get_base VG with glance_\u003cuuid\u003e.cache"},{"line_number":45,"context_line":"        return [image for image in base_dir.virtual_disks"},{"line_number":46,"context_line":"                if re.match(\"glance.*\\.cache\", image.name)]"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"    def _age_and_verify_cached_images(self, context, all_instances, base_dir):"},{"line_number":49,"context_line":"        \"\"\"Ages and verifies cached images.\"\"\""}],"source_content_type":"text/x-python","patch_set":1,"id":"3a71b18c_39b6c08a","line":46,"range":{"start_line":46,"start_character":36,"end_line":46,"end_character":38},"updated":"2016-12-08 18:21:06.000000000","message":"I seem to remember there being some max length?  Like the file name can only be up to 200 characters or so.  Do we need to limit this search that way?","commit_id":"eff0d8a5c58e1345d9d833709561094839e9456b"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"d322963f323ef57c00c01d1064f6888f7bf57626","unresolved":false,"context_lines":[{"line_number":43,"context_line":""},{"line_number":44,"context_line":"        # Find LVs in the _get_base VG with glance_\u003cuuid\u003e.cache"},{"line_number":45,"context_line":"        return [image for image in base_dir.virtual_disks"},{"line_number":46,"context_line":"                if re.match(\"glance.*\\.cache\", image.name)]"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"    def _age_and_verify_cached_images(self, context, all_instances, base_dir):"},{"line_number":49,"context_line":"        \"\"\"Ages and verifies cached images.\"\"\""}],"source_content_type":"text/x-python","patch_set":1,"id":"3a71b18c_97f87b7e","line":46,"range":{"start_line":46,"start_character":36,"end_line":46,"end_character":38},"in_reply_to":"3a71b18c_39b6c08a","updated":"2016-12-08 19:00:09.000000000","message":"Will update all uses of the naming to include a max length.","commit_id":"eff0d8a5c58e1345d9d833709561094839e9456b"},{"author":{"_account_id":13883,"name":"Adam Reznechek","email":"adreznec@us.ibm.com","username":"adrez"},"change_message_id":"c2ef532e37afa9f2ebb97d9851e63c1c736464aa","unresolved":false,"context_lines":[{"line_number":25,"context_line":"import re"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"_DISK_NAME_LIMIT \u003d 127"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"class ImageManager(imagecache.ImageCacheManager):"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a6eadb0_ae90fd96","line":28,"range":{"start_line":28,"start_character":0,"end_line":28,"end_character":22},"updated":"2016-12-12 22:28:57.000000000","message":"Defining this in two places is ugly...","commit_id":"612eb675964815286fe8f7ad90f636897a9f81f5"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"a2b1f2dada1544711621109547fff8e3d2cf956d","unresolved":false,"context_lines":[{"line_number":39,"context_line":"        \"\"\"Returns the base directory of the cached images.\"\"\""},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"        # Return VG for instances"},{"line_number":42,"context_line":"        vg_rsp \u003d self.adapter.read("},{"line_number":43,"context_line":"            pvm_vios.VIOS.schema_type, root_id\u003dself.vios_uuid,"},{"line_number":44,"context_line":"            child_type\u003dpvm_stg.VG.schema_type, child_id\u003dself.vg_uuid)"},{"line_number":45,"context_line":"        return pvm_stg.VG.wrap(vg_rsp)"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"    def _scan_base_image(self, base_dir):"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a6eadb0_55e45f0c","line":44,"range":{"start_line":42,"start_character":0,"end_line":44,"end_character":69},"updated":"2016-12-12 18:36:57.000000000","message":"Can you just do a \u0027pvm_stg.VG.get(uuid\u003dself.vg_uuid, parent_type\u003dpvm_vios.VIOS.schema_type, parent_uuid\u003dself.vios_uuid)\u0027 ?\n\nWe have been switching to that and it removes the need for the second line as well.","commit_id":"612eb675964815286fe8f7ad90f636897a9f81f5"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"a2b1f2dada1544711621109547fff8e3d2cf956d","unresolved":false,"context_lines":[{"line_number":47,"context_line":"    def _scan_base_image(self, base_dir):"},{"line_number":48,"context_line":"        \"\"\"Scan base images present in base_dir and populate internal state.\"\"\""},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"        # Find LVs in the _get_base VG with glance_\u003cuuid\u003e.cache"},{"line_number":51,"context_line":"        return [image for image in base_dir.virtual_disks"},{"line_number":52,"context_line":"                if re.match(\"glance.*\\.cache\", image.name)]"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"    def _age_and_verify_cached_images(self, context, all_instances, base_dir):"},{"line_number":55,"context_line":"        \"\"\"Ages and verifies cached images.\"\"\""}],"source_content_type":"text/x-python","patch_set":2,"id":"1a6eadb0_35ce0384","line":52,"range":{"start_line":50,"start_character":0,"end_line":52,"end_character":59},"updated":"2016-12-12 18:36:57.000000000","message":"This assumes that the image cache is on the NovaLink.  I thought the implementation would work even if the VIOS was independent of the NovaLink?","commit_id":"612eb675964815286fe8f7ad90f636897a9f81f5"},{"author":{"_account_id":13883,"name":"Adam Reznechek","email":"adreznec@us.ibm.com","username":"adrez"},"change_message_id":"c2ef532e37afa9f2ebb97d9851e63c1c736464aa","unresolved":false,"context_lines":[{"line_number":53,"context_line":""},{"line_number":54,"context_line":"    def _age_and_verify_cached_images(self, context, all_instances, base_dir):"},{"line_number":55,"context_line":"        \"\"\"Ages and verifies cached images.\"\"\""},{"line_number":56,"context_line":"        length \u003d _DISK_NAME_LIMIT - 14 - len(base_dir.name.replace(\"-\", \"--\"))"},{"line_number":57,"context_line":"        max_len \u003d min(length, pvm_const.MaxLen.FILENAME_DEFAULT)"},{"line_number":58,"context_line":"        adjusted_ids \u003d []"},{"line_number":59,"context_line":"        for img_id in list(self.used):"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a6eadb0_4ef849e6","line":56,"range":{"start_line":56,"start_character":8,"end_line":56,"end_character":78},"updated":"2016-12-12 22:28:57.000000000","message":"Can we make this disk name limit a common calculation between the base localdisk and the imagecache?","commit_id":"612eb675964815286fe8f7ad90f636897a9f81f5"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"a2b1f2dada1544711621109547fff8e3d2cf956d","unresolved":false,"context_lines":[{"line_number":67,"context_line":"        tsk_stg.rm_vg_storage(base_dir, vdisks\u003dunused)"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"    def update(self, context, all_instances):"},{"line_number":70,"context_line":"        \"\"\"The cache manager"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"        This will invoke the cache manager. This will update the cache"},{"line_number":73,"context_line":"        according to the defined cache management scheme. The information"},{"line_number":74,"context_line":"        populated in the cached stats will be used for the cache management."},{"line_number":75,"context_line":"        \"\"\""},{"line_number":76,"context_line":"        self.used, self.instance, self.swap \u003d self._list_running_instances("},{"line_number":77,"context_line":"            context, all_instances).values()"},{"line_number":78,"context_line":"        base_dir \u003d self._get_base()"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a6eadb0_152bc731","line":75,"range":{"start_line":70,"start_character":0,"end_line":75,"end_character":11},"updated":"2016-12-12 18:36:57.000000000","message":"Did we come up with this doc?  Seems like we would need parameters defined.","commit_id":"612eb675964815286fe8f7ad90f636897a9f81f5"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"28cf99ab37375017fd7e816b6f5251c1ba3fdc65","unresolved":false,"context_lines":[{"line_number":50,"context_line":"        \"\"\""},{"line_number":51,"context_line":"        # Find LVs in the _get_base VG with glance_\u003cuuid\u003e.cache"},{"line_number":52,"context_line":"        return [image for image in base_dir.virtual_disks"},{"line_number":53,"context_line":"                if \"g_\" \u003d\u003d image.name[:2]]"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"    def _age_and_verify_cached_images(self, context, all_instances, base_dir):"},{"line_number":56,"context_line":"        \"\"\"Finds and removes unused images from the cache."}],"source_content_type":"text/x-python","patch_set":3,"id":"9a57fde8_c7c19430","line":53,"range":{"start_line":53,"start_character":19,"end_line":53,"end_character":23},"updated":"2017-01-12 14:22:28.000000000","message":"Is g_ sufficient enough to identify the image as a cache?\n\nwhat if I have g_test.img up in glance?\n\nI realize that sounds unlikely, but it seems possible.\n\nIf there was a way that we escaped image names or something to do this...that would be better.\n\nThe glance image uuid might be an identifiable image name...","commit_id":"df6bd4737ac88febc59c0e8488149261560a4074"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"72e38639bffae2ca9128c77f12329ef56a25acee","unresolved":false,"context_lines":[{"line_number":50,"context_line":"        \"\"\""},{"line_number":51,"context_line":"        # Find LVs in the _get_base VG with glance_\u003cuuid\u003e.cache"},{"line_number":52,"context_line":"        return [image for image in base_dir.virtual_disks"},{"line_number":53,"context_line":"                if \"g_\" \u003d\u003d image.name[:2]]"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"    def _age_and_verify_cached_images(self, context, all_instances, base_dir):"},{"line_number":56,"context_line":"        \"\"\"Finds and removes unused images from the cache."}],"source_content_type":"text/x-python","patch_set":3,"id":"7a3c09a3_dd43376b","line":53,"range":{"start_line":53,"start_character":19,"end_line":53,"end_character":23},"in_reply_to":"9a57fde8_c7c19430","updated":"2017-01-12 22:56:15.000000000","message":"The virtual disk will be created as g_\u003cfirst 14 characters of the image\u0027s id\u003e. So, it shouldn\u0027t matter the name of the image, as long as the beginning of the id\u0027s are different.","commit_id":"df6bd4737ac88febc59c0e8488149261560a4074"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"98dec61436d948e15ece3b2d7cd3856949241910","unresolved":false,"context_lines":[{"line_number":50,"context_line":"        \"\"\""},{"line_number":51,"context_line":"        # Find LVs in the _get_base VG with g_\u003cpartial id\u003e"},{"line_number":52,"context_line":"        return [image for image in base_dir.virtual_disks"},{"line_number":53,"context_line":"                if \"g_\" \u003d\u003d image.name[:2]]"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"    def _age_and_verify_cached_images(self, context, all_instances, base_dir):"},{"line_number":56,"context_line":"        \"\"\"Finds and removes unused images from the cache."}],"source_content_type":"text/x-python","patch_set":4,"id":"7a3c09a3_be371ae2","line":53,"range":{"start_line":53,"start_character":20,"end_line":53,"end_character":22},"updated":"2017-01-13 17:43:59.000000000","message":"Use \u0027%s_\u0027 % nova_powervm.virt.powervm.disk.driver.DiskType.IMAGE[0]\n\nAlso consider image.name.startswith() (slightly more efficient).","commit_id":"130133b6cf73749e762ef36eb3e7412be8d8abf5"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"98dec61436d948e15ece3b2d7cd3856949241910","unresolved":false,"context_lines":[{"line_number":59,"context_line":"        :param all_instances: List of all instances on the node"},{"line_number":60,"context_line":"        :param base_dir: Volume group of cached images"},{"line_number":61,"context_line":"        \"\"\""},{"line_number":62,"context_line":"        # Adjust for \"g_\" at the start of the name"},{"line_number":63,"context_line":"        length \u003d self.name_limit - 2"},{"line_number":64,"context_line":"        adjusted_ids \u003d []"},{"line_number":65,"context_line":"        for img_id in list(self.images):"}],"source_content_type":"text/x-python","patch_set":4,"id":"7a3c09a3_fe4602be","line":62,"range":{"start_line":62,"start_character":22,"end_line":62,"end_character":24},"updated":"2017-01-13 17:43:59.000000000","message":"i_","commit_id":"130133b6cf73749e762ef36eb3e7412be8d8abf5"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"98dec61436d948e15ece3b2d7cd3856949241910","unresolved":false,"context_lines":[{"line_number":65,"context_line":"        for img_id in list(self.images):"},{"line_number":66,"context_line":"            if img_id:"},{"line_number":67,"context_line":"                adjusted_ids.append("},{"line_number":68,"context_line":"                    pvm_util.sanitize_file_name_for_api(img_id,"},{"line_number":69,"context_line":"                                                        max_len\u003dlength))"},{"line_number":70,"context_line":"        # Compare base images with running instances remove unused"},{"line_number":71,"context_line":"        unused \u003d [image for image in self.cache"},{"line_number":72,"context_line":"                  if image.name[2:] not in adjusted_ids]"}],"source_content_type":"text/x-python","patch_set":4,"id":"7a3c09a3_3e65ea44","line":69,"range":{"start_line":68,"start_character":20,"end_line":69,"end_character":72},"updated":"2017-01-13 17:43:59.000000000","message":"Use nova_powervm.virt.powervm.disk.driver.DiskAdapter#_get_disk_name","commit_id":"130133b6cf73749e762ef36eb3e7412be8d8abf5"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"98dec61436d948e15ece3b2d7cd3856949241910","unresolved":false,"context_lines":[{"line_number":82,"context_line":"        # Use the \u0027used_images\u0027 key from nova imagecache to get a dict of"},{"line_number":83,"context_line":"        # used_image[image_ref] \u003d instance info."},{"line_number":84,"context_line":"        running_inst \u003d self._list_running_instances(context, all_instances)"},{"line_number":85,"context_line":"        self.images \u003d running_inst.get(\u0027used_images\u0027).keys()"},{"line_number":86,"context_line":"        base_dir \u003d self._get_base()"},{"line_number":87,"context_line":"        self.cache \u003d self._scan_base_image(base_dir)"},{"line_number":88,"context_line":"        self._age_and_verify_cached_images(context, all_instances, base_dir)"}],"source_content_type":"text/x-python","patch_set":4,"id":"7a3c09a3_7eaa12d6","line":85,"range":{"start_line":85,"start_character":8,"end_line":85,"end_character":60},"updated":"2017-01-13 17:43:59.000000000","message":"Seems dangerous to have this defined outside of __init__ considering it\u0027s used by _age_and_verify (which is part of the API and therefore might be called independently of update).  Perhaps it should be a @property?  Or actually, why not just embed this code within _age_and_verify?","commit_id":"130133b6cf73749e762ef36eb3e7412be8d8abf5"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"98dec61436d948e15ece3b2d7cd3856949241910","unresolved":false,"context_lines":[{"line_number":82,"context_line":"        # Use the \u0027used_images\u0027 key from nova imagecache to get a dict of"},{"line_number":83,"context_line":"        # used_image[image_ref] \u003d instance info."},{"line_number":84,"context_line":"        running_inst \u003d self._list_running_instances(context, all_instances)"},{"line_number":85,"context_line":"        self.images \u003d running_inst.get(\u0027used_images\u0027).keys()"},{"line_number":86,"context_line":"        base_dir \u003d self._get_base()"},{"line_number":87,"context_line":"        self.cache \u003d self._scan_base_image(base_dir)"},{"line_number":88,"context_line":"        self._age_and_verify_cached_images(context, all_instances, base_dir)"}],"source_content_type":"text/x-python","patch_set":4,"id":"7a3c09a3_5e8396cc","line":85,"range":{"start_line":85,"start_character":40,"end_line":85,"end_character":51},"updated":"2017-01-13 17:43:59.000000000","message":"What\u0027s in this \u0027used_images\u0027 thingy?\n\nPer IRC discussion, use the image UUID rather than its name to construct the cache image name.","commit_id":"130133b6cf73749e762ef36eb3e7412be8d8abf5"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"b61cad654fd626bd123e6757f1f705846b5d006e","unresolved":false,"context_lines":[{"line_number":82,"context_line":"        # Use the \u0027used_images\u0027 key from nova imagecache to get a dict of"},{"line_number":83,"context_line":"        # used_image[image_ref] \u003d instance info."},{"line_number":84,"context_line":"        running_inst \u003d self._list_running_instances(context, all_instances)"},{"line_number":85,"context_line":"        self.images \u003d running_inst.get(\u0027used_images\u0027).keys()"},{"line_number":86,"context_line":"        base_dir \u003d self._get_base()"},{"line_number":87,"context_line":"        self.cache \u003d self._scan_base_image(base_dir)"},{"line_number":88,"context_line":"        self._age_and_verify_cached_images(context, all_instances, base_dir)"}],"source_content_type":"text/x-python","patch_set":4,"id":"7a3c09a3_6f31770b","line":85,"range":{"start_line":85,"start_character":40,"end_line":85,"end_character":51},"in_reply_to":"7a3c09a3_5e8396cc","updated":"2017-01-13 20:15:54.000000000","message":"Updated comment to hopefully clarify more.\nBasically, _list_running_instances `returns {\u0027used_images\u0027: used_images, \u0027instance_names\u0027: instance_names, \u0027used_swap_images\u0027: used_swap_images}`\nAnd entries are added to used_images by `used_images[image_ref_str] \u003d (local, remote, insts)`\nSo all we need from this are the keys (image_ref_str). These keys are the uuid\u0027s of the backing image.","commit_id":"130133b6cf73749e762ef36eb3e7412be8d8abf5"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"b61cad654fd626bd123e6757f1f705846b5d006e","unresolved":false,"context_lines":[{"line_number":82,"context_line":"        # Use the \u0027used_images\u0027 key from nova imagecache to get a dict of"},{"line_number":83,"context_line":"        # used_image[image_ref] \u003d instance info."},{"line_number":84,"context_line":"        running_inst \u003d self._list_running_instances(context, all_instances)"},{"line_number":85,"context_line":"        self.images \u003d running_inst.get(\u0027used_images\u0027).keys()"},{"line_number":86,"context_line":"        base_dir \u003d self._get_base()"},{"line_number":87,"context_line":"        self.cache \u003d self._scan_base_image(base_dir)"},{"line_number":88,"context_line":"        self._age_and_verify_cached_images(context, all_instances, base_dir)"}],"source_content_type":"text/x-python","patch_set":4,"id":"7a3c09a3_cf17cb4f","line":85,"range":{"start_line":85,"start_character":8,"end_line":85,"end_character":60},"in_reply_to":"7a3c09a3_7eaa12d6","updated":"2017-01-13 20:15:54.000000000","message":"Moved to _age_and_verify","commit_id":"130133b6cf73749e762ef36eb3e7412be8d8abf5"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"8fa51a780b2e6b95ef9415b163885f1f06de5e52","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":5,"id":"7a3c09a3_1d63cadd","updated":"2017-01-13 22:24:23.000000000","message":"UT for this","commit_id":"e2852a4175a7d3e4742740422ba3eb5706566bad"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"8fa51a780b2e6b95ef9415b163885f1f06de5e52","unresolved":false,"context_lines":[{"line_number":54,"context_line":"        return [image for image in base_dir.virtual_disks"},{"line_number":55,"context_line":"                if image.name.startswith(prefix)]"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"    def _age_and_verify_cached_images(self, context, all_instances, base_dir):"},{"line_number":58,"context_line":"        \"\"\"Finds and removes unused images from the cache."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"        :param context: nova context"}],"source_content_type":"text/x-python","patch_set":5,"id":"7a3c09a3_9d6edac7","line":57,"updated":"2017-01-13 22:24:23.000000000","message":"Any future plans to implement an aging strategy?  The use case I\u0027m thinking of is: I remove the last VM using a given image, and then shortly thereafter create a new one using the same image.  I\u0027d like to be able to take advantage of the cache in that case, as long as those two operations are relatively close together.\n\nHow frequently does nova run this?","commit_id":"e2852a4175a7d3e4742740422ba3eb5706566bad"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"e92db09c10a9e19ca0ba5420de3480b8770f10f4","unresolved":false,"context_lines":[{"line_number":54,"context_line":"        return [image for image in base_dir.virtual_disks"},{"line_number":55,"context_line":"                if image.name.startswith(prefix)]"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"    def _age_and_verify_cached_images(self, context, all_instances, base_dir):"},{"line_number":58,"context_line":"        \"\"\"Finds and removes unused images from the cache."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"        :param context: nova context"}],"source_content_type":"text/x-python","patch_set":5,"id":"7a3c09a3_dd20624c","line":57,"in_reply_to":"7a3c09a3_9d6edac7","updated":"2017-01-13 22:35:52.000000000","message":"Not sure about future plans to implement an aging strategy.\n\nThere is an option in nova.conf (image_cache_manage_interval) where you can set how often (in seconds) to run this. Default is every 2400s, and -1 to disable.","commit_id":"e2852a4175a7d3e4742740422ba3eb5706566bad"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"8fa51a780b2e6b95ef9415b163885f1f06de5e52","unresolved":false,"context_lines":[{"line_number":64,"context_line":"        # Use the \u0027used_images\u0027 key from nova imagecache to get a dict that"},{"line_number":65,"context_line":"        # uses image_ids as keys."},{"line_number":66,"context_line":"        running_inst \u003d self._list_running_instances(context, all_instances)"},{"line_number":67,"context_line":"        image_ids \u003d running_inst.get(\u0027used_images\u0027).keys()"},{"line_number":68,"context_line":"        adjusted_ids \u003d []"},{"line_number":69,"context_line":"        for img_id in list(image_ids):"},{"line_number":70,"context_line":"            if img_id:"},{"line_number":71,"context_line":"                adjusted_ids.append("},{"line_number":72,"context_line":"                    driver.DiskAdapter.get_name_by_uuid(driver.DiskType.IMAGE,"}],"source_content_type":"text/x-python","patch_set":5,"id":"7a3c09a3_4a2d86a6","line":69,"range":{"start_line":67,"start_character":0,"end_line":69,"end_character":38},"updated":"2017-01-13 22:24:23.000000000","message":"Technically, both .keys() and list() are redundant.  Could just do:\n\n for img_id in running_inst.get(\u0027used_images\u0027):","commit_id":"e2852a4175a7d3e4742740422ba3eb5706566bad"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"e717822c0654095968ad372204e084f809793fdd","unresolved":false,"context_lines":[{"line_number":41,"context_line":"            self.adapter, uuid\u003dself.vg_uuid,"},{"line_number":42,"context_line":"            parent_type\u003dpvm_vios.VIOS.schema_type, parent_uuid\u003dself.vios_uuid)"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"    def _scan_base_image(self, base_dir):"},{"line_number":45,"context_line":"        \"\"\"Scan base images present in base_dir."},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"        :param base_dir: Volume group containing all images/instances"}],"source_content_type":"text/x-python","patch_set":7,"id":"7a3c09a3_39e01396","line":44,"range":{"start_line":44,"start_character":31,"end_line":44,"end_character":39},"updated":"2017-01-17 20:15:59.000000000","message":"Is this defined by the api?\n\nIf we fully own this method (not used by a parent class), then I don\u0027t like the name \u0027base_dir\u0027...because it is not a directory.","commit_id":"163ac39ea28852f4d4b82abcbdc195be12af56b2"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"a8cef09590d8a3dd827db81e15b44ae90601fd47","unresolved":false,"context_lines":[{"line_number":41,"context_line":"            self.adapter, uuid\u003dself.vg_uuid,"},{"line_number":42,"context_line":"            parent_type\u003dpvm_vios.VIOS.schema_type, parent_uuid\u003dself.vios_uuid)"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"    def _scan_base_image(self, base_dir):"},{"line_number":45,"context_line":"        \"\"\"Scan base images present in base_dir."},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"        :param base_dir: Volume group containing all images/instances"}],"source_content_type":"text/x-python","patch_set":7,"id":"7a3c09a3_9c5735c9","line":44,"range":{"start_line":44,"start_character":31,"end_line":44,"end_character":39},"in_reply_to":"7a3c09a3_39e01396","updated":"2017-01-17 20:28:24.000000000","message":"All the method names/params are defined in the parent imagecache.\nNova doesn\u0027t call any of these directly though, it only calls the manage_image_cache method from the our driver.","commit_id":"163ac39ea28852f4d4b82abcbdc195be12af56b2"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"e717822c0654095968ad372204e084f809793fdd","unresolved":false,"context_lines":[{"line_number":58,"context_line":""},{"line_number":59,"context_line":"        :param context: nova context"},{"line_number":60,"context_line":"        :param all_instances: List of all instances on the node"},{"line_number":61,"context_line":"        :param base_dir: Volume group of cached images"},{"line_number":62,"context_line":"        \"\"\""},{"line_number":63,"context_line":"        # Use the \u0027used_images\u0027 key from nova imagecache to get a dict that"},{"line_number":64,"context_line":"        # uses image_ids as keys."}],"source_content_type":"text/x-python","patch_set":7,"id":"7a3c09a3_99e747ab","line":61,"range":{"start_line":61,"start_character":15,"end_line":61,"end_character":23},"updated":"2017-01-17 20:15:59.000000000","message":"See above","commit_id":"163ac39ea28852f4d4b82abcbdc195be12af56b2"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"9803d9bd0171458f45e4fe52d98acbfc40172152","unresolved":false,"context_lines":[{"line_number":70,"context_line":"                    driver.DiskAdapter.get_name_by_uuid(driver.DiskType.IMAGE,"},{"line_number":71,"context_line":"                                                        img_id, short\u003dTrue))"},{"line_number":72,"context_line":"        # Compare base images with running instances remove unused"},{"line_number":73,"context_line":"        unused \u003d [image for image in self.cache"},{"line_number":74,"context_line":"                  if image.name not in adjusted_ids]"},{"line_number":75,"context_line":"        # Remove unused"},{"line_number":76,"context_line":"        tsk_stg.rm_vg_storage(base_dir, vdisks\u003dunused)"}],"source_content_type":"text/x-python","patch_set":8,"id":"7a3c09a3_170bec24","line":73,"range":{"start_line":73,"start_character":37,"end_line":73,"end_character":47},"updated":"2017-01-18 15:52:53.000000000","message":"Still not liking that this is defined in `update` (that is, not here, and not in __init__).","commit_id":"596247110a8ef5d03cd4eddf23f805d6153a2e98"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"9803d9bd0171458f45e4fe52d98acbfc40172152","unresolved":false,"context_lines":[{"line_number":73,"context_line":"        unused \u003d [image for image in self.cache"},{"line_number":74,"context_line":"                  if image.name not in adjusted_ids]"},{"line_number":75,"context_line":"        # Remove unused"},{"line_number":76,"context_line":"        tsk_stg.rm_vg_storage(base_dir, vdisks\u003dunused)"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"    def update(self, context, all_instances):"},{"line_number":79,"context_line":"        \"\"\"Remove cached images not being used by any instance."}],"source_content_type":"text/x-python","patch_set":8,"id":"7a3c09a3_9c70e341","line":76,"updated":"2017-01-18 15:52:53.000000000","message":"I know the pypowervm method doesn\u0027t have any side effects if \u0027unused\u0027 is empty - but only because I went and looked at it.  Consider bracketing this in `if unused:`\n\nAlso, we should log here.  Thinking info level.","commit_id":"596247110a8ef5d03cd4eddf23f805d6153a2e98"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"9803d9bd0171458f45e4fe52d98acbfc40172152","unresolved":false,"context_lines":[{"line_number":83,"context_line":"        \"\"\""},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"        base_dir \u003d self._get_base()"},{"line_number":86,"context_line":"        self.cache \u003d self._scan_base_image(base_dir)"},{"line_number":87,"context_line":"        self._age_and_verify_cached_images(context, all_instances, base_dir)"}],"source_content_type":"text/x-python","patch_set":8,"id":"7a3c09a3_774a7056","line":86,"updated":"2017-01-18 15:52:53.000000000","message":"Move this into _age_and_verify (see above)","commit_id":"596247110a8ef5d03cd4eddf23f805d6153a2e98"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"0ecea0005218703539f0faa4f60556a6fd70b6a4","unresolved":false,"context_lines":[{"line_number":79,"context_line":"        unused \u003d [image for image in cache if image.name not in adjusted_ids]"},{"line_number":80,"context_line":"        # Remove unused"},{"line_number":81,"context_line":"        if unused:"},{"line_number":82,"context_line":"            for image in unused:"},{"line_number":83,"context_line":"                LOG.info(_LI(\"Removing unused cache image: \u0027%s\u0027\"), image.name)"},{"line_number":84,"context_line":"            tsk_stg.rm_vg_storage(base_dir, vdisks\u003dunused)"},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"    def update(self, context, all_instances):"}],"source_content_type":"text/x-python","patch_set":9,"id":"5a3905b3_bac49192","line":83,"range":{"start_line":82,"start_character":0,"end_line":83,"end_character":78},"updated":"2017-01-19 14:59:08.000000000","message":"This is aaight; but you could also just do it in one log: pass \u0027unused\u0027 to the %s and it\u0027ll format the list for you.","commit_id":"5bf7f4950b083fec9b64ecb8c74d339760bc779d"}],"nova_powervm/virt/powervm/disk/localdisk.py":[{"author":{"_account_id":13883,"name":"Adam Reznechek","email":"adreznec@us.ibm.com","username":"adrez"},"change_message_id":"c2ef532e37afa9f2ebb97d9851e63c1c736464aa","unresolved":false,"context_lines":[{"line_number":213,"context_line":"            # Check for cached image"},{"line_number":214,"context_line":"            vg_wrap \u003d self._get_vg_wrap()"},{"line_number":215,"context_line":"            vg_name \u003d vg_wrap.name"},{"line_number":216,"context_line":"            # /dev/mapper/\u003clv\u003e has length limit of 127 with \u003clv\u003e following this"},{"line_number":217,"context_line":"            # \u003cvg name\u003e-\u003clv name\u003e with all hyphens in vg/lv name being doubled"},{"line_number":218,"context_line":"            # `-`, `glance-`, `.cache` results in 14 characters not related to"},{"line_number":219,"context_line":"            # vg name or image id"},{"line_number":220,"context_line":"            length \u003d _DISK_NAME_LIMIT - len(vg_name.replace(\"-\", \"--\"))"},{"line_number":221,"context_line":"            cache_name \u003d pvm_util.sanitize_file_name_for_api("},{"line_number":222,"context_line":"                name\u003dimage_meta.id, prefix\u003d\u0027glance_\u0027, suffix\u003d\u0027.cache\u0027,"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a6eadb0_8e37c1e2","line":219,"range":{"start_line":216,"start_character":12,"end_line":219,"end_character":33},"updated":"2016-12-12 22:28:57.000000000","message":"Is there a similar limitation on VIOS?","commit_id":"612eb675964815286fe8f7ad90f636897a9f81f5"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"a2b1f2dada1544711621109547fff8e3d2cf956d","unresolved":false,"context_lines":[{"line_number":209,"context_line":"        # Disk size to API is in bytes.  Input from method is in Gb"},{"line_number":210,"context_line":"        disk_bytes \u003d self._disk_gb_to_bytes(disk_size, floor\u003dimage_meta.size)"},{"line_number":211,"context_line":""},{"line_number":212,"context_line":"        with lockutils.lock(_CACHE_LOCK):"},{"line_number":213,"context_line":"            # Check for cached image"},{"line_number":214,"context_line":"            vg_wrap \u003d self._get_vg_wrap()"},{"line_number":215,"context_line":"            vg_name \u003d vg_wrap.name"},{"line_number":216,"context_line":"            # /dev/mapper/\u003clv\u003e has length limit of 127 with \u003clv\u003e following this"},{"line_number":217,"context_line":"            # \u003cvg name\u003e-\u003clv name\u003e with all hyphens in vg/lv name being doubled"},{"line_number":218,"context_line":"            # `-`, `glance-`, `.cache` results in 14 characters not related to"},{"line_number":219,"context_line":"            # vg name or image id"},{"line_number":220,"context_line":"            length \u003d _DISK_NAME_LIMIT - len(vg_name.replace(\"-\", \"--\"))"},{"line_number":221,"context_line":"            cache_name \u003d pvm_util.sanitize_file_name_for_api("},{"line_number":222,"context_line":"                name\u003dimage_meta.id, prefix\u003d\u0027glance_\u0027, suffix\u003d\u0027.cache\u0027,"},{"line_number":223,"context_line":"                max_len\u003dmin(length, pvm_const.MaxLen.FILENAME_DEFAULT))"},{"line_number":224,"context_line":"            image \u003d [disk for disk in vg_wrap.virtual_disks"},{"line_number":225,"context_line":"                     if disk.name \u003d\u003d cache_name]"},{"line_number":226,"context_line":"            if len(image) \u003d\u003d 1:"},{"line_number":227,"context_line":"                image \u003d image[0]"},{"line_number":228,"context_line":"            else:"},{"line_number":229,"context_line":"                def upload(path):"},{"line_number":230,"context_line":"                    IMAGE_API.download(context, image_meta.id, dest_path\u003dpath)"},{"line_number":231,"context_line":""},{"line_number":232,"context_line":"                image \u003d tsk_stg.upload_new_vdisk("},{"line_number":233,"context_line":"                    self.adapter, self._vios_uuid, self.vg_uuid, upload,"},{"line_number":234,"context_line":"                    cache_name, image_meta.size, d_size\u003dimage_meta.size,"},{"line_number":235,"context_line":"                    upload_type\u003dtsk_stg.UploadType.FUNC)[0]"},{"line_number":236,"context_line":""},{"line_number":237,"context_line":"        # Transfer the image"},{"line_number":238,"context_line":"        vol_name \u003d self._get_disk_name(image_type, instance, short\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a6eadb0_9573574d","line":235,"range":{"start_line":212,"start_character":0,"end_line":235,"end_character":59},"updated":"2016-12-12 18:36:57.000000000","message":"This feels like it should be a new method.","commit_id":"612eb675964815286fe8f7ad90f636897a9f81f5"},{"author":{"_account_id":13883,"name":"Adam Reznechek","email":"adreznec@us.ibm.com","username":"adrez"},"change_message_id":"c2ef532e37afa9f2ebb97d9851e63c1c736464aa","unresolved":false,"context_lines":[{"line_number":209,"context_line":"        # Disk size to API is in bytes.  Input from method is in Gb"},{"line_number":210,"context_line":"        disk_bytes \u003d self._disk_gb_to_bytes(disk_size, floor\u003dimage_meta.size)"},{"line_number":211,"context_line":""},{"line_number":212,"context_line":"        with lockutils.lock(_CACHE_LOCK):"},{"line_number":213,"context_line":"            # Check for cached image"},{"line_number":214,"context_line":"            vg_wrap \u003d self._get_vg_wrap()"},{"line_number":215,"context_line":"            vg_name \u003d vg_wrap.name"},{"line_number":216,"context_line":"            # /dev/mapper/\u003clv\u003e has length limit of 127 with \u003clv\u003e following this"},{"line_number":217,"context_line":"            # \u003cvg name\u003e-\u003clv name\u003e with all hyphens in vg/lv name being doubled"},{"line_number":218,"context_line":"            # `-`, `glance-`, `.cache` results in 14 characters not related to"},{"line_number":219,"context_line":"            # vg name or image id"},{"line_number":220,"context_line":"            length \u003d _DISK_NAME_LIMIT - len(vg_name.replace(\"-\", \"--\"))"},{"line_number":221,"context_line":"            cache_name \u003d pvm_util.sanitize_file_name_for_api("},{"line_number":222,"context_line":"                name\u003dimage_meta.id, prefix\u003d\u0027glance_\u0027, suffix\u003d\u0027.cache\u0027,"},{"line_number":223,"context_line":"                max_len\u003dmin(length, pvm_const.MaxLen.FILENAME_DEFAULT))"},{"line_number":224,"context_line":"            image \u003d [disk for disk in vg_wrap.virtual_disks"},{"line_number":225,"context_line":"                     if disk.name \u003d\u003d cache_name]"},{"line_number":226,"context_line":"            if len(image) \u003d\u003d 1:"},{"line_number":227,"context_line":"                image \u003d image[0]"},{"line_number":228,"context_line":"            else:"},{"line_number":229,"context_line":"                def upload(path):"},{"line_number":230,"context_line":"                    IMAGE_API.download(context, image_meta.id, dest_path\u003dpath)"},{"line_number":231,"context_line":""},{"line_number":232,"context_line":"                image \u003d tsk_stg.upload_new_vdisk("},{"line_number":233,"context_line":"                    self.adapter, self._vios_uuid, self.vg_uuid, upload,"},{"line_number":234,"context_line":"                    cache_name, image_meta.size, d_size\u003dimage_meta.size,"},{"line_number":235,"context_line":"                    upload_type\u003dtsk_stg.UploadType.FUNC)[0]"},{"line_number":236,"context_line":""},{"line_number":237,"context_line":"        # Transfer the image"},{"line_number":238,"context_line":"        vol_name \u003d self._get_disk_name(image_type, instance, short\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a6eadb0_8e10a150","line":235,"range":{"start_line":212,"start_character":0,"end_line":235,"end_character":59},"in_reply_to":"1a6eadb0_9573574d","updated":"2016-12-12 22:28:57.000000000","message":"Agreed","commit_id":"612eb675964815286fe8f7ad90f636897a9f81f5"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"a2b1f2dada1544711621109547fff8e3d2cf956d","unresolved":false,"context_lines":[{"line_number":234,"context_line":"                    cache_name, image_meta.size, d_size\u003dimage_meta.size,"},{"line_number":235,"context_line":"                    upload_type\u003dtsk_stg.UploadType.FUNC)[0]"},{"line_number":236,"context_line":""},{"line_number":237,"context_line":"        # Transfer the image"},{"line_number":238,"context_line":"        vol_name \u003d self._get_disk_name(image_type, instance, short\u003dTrue)"},{"line_number":239,"context_line":""},{"line_number":240,"context_line":"        devpath \u003d \u0027/dev/\u0027 + vg_name + \u0027/\u0027 + image.name"},{"line_number":241,"context_line":"        # This method will create a new disk at our specified size.  It will"},{"line_number":242,"context_line":"        # then put the image in the disk.  If the disk is bigger, user can"},{"line_number":243,"context_line":"        # resize the disk, create a new partition, etc..."}],"source_content_type":"text/x-python","patch_set":2,"id":"1a6eadb0_d5930f4e","line":240,"range":{"start_line":237,"start_character":0,"end_line":240,"end_character":54},"updated":"2016-12-12 18:36:57.000000000","message":"Comment doesn\u0027t match what its doing.","commit_id":"612eb675964815286fe8f7ad90f636897a9f81f5"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"a2b1f2dada1544711621109547fff8e3d2cf956d","unresolved":false,"context_lines":[{"line_number":245,"context_line":"        # enough to support the image (up to 1 Gb boundary)."},{"line_number":246,"context_line":"        with utils.temporary_chown(devpath), open(devpath, \u0027rb\u0027) as upload:"},{"line_number":247,"context_line":"            return tsk_stg.upload_new_vdisk("},{"line_number":248,"context_line":"                self.adapter, self._vios_uuid, self.vg_uuid, upload, vol_name,"},{"line_number":249,"context_line":"                image_meta.size, d_size\u003ddisk_bytes,"},{"line_number":250,"context_line":"                upload_type\u003dtsk_stg.UploadType.IO_STREAM)[0]"},{"line_number":251,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"1a6eadb0_b5dcd319","line":248,"range":{"start_line":248,"start_character":61,"end_line":248,"end_character":67},"updated":"2016-12-12 18:36:57.000000000","message":"You\u0027ve defined upload twice.  Once in the else path, once here.  I\u0027d prefer different names.\n\nAlso, this assumes image cache is local to the system.  Not personally a huge fan of that.  I think the image cache can/should be within the VIOS itself.","commit_id":"612eb675964815286fe8f7ad90f636897a9f81f5"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"98dec61436d948e15ece3b2d7cd3856949241910","unresolved":false,"context_lines":[{"line_number":214,"context_line":"        disk_bytes \u003d self._disk_gb_to_bytes(disk_size, floor\u003dimage_meta.size)"},{"line_number":215,"context_line":"        vol_name \u003d self._get_disk_name(image_type, instance, short\u003dTrue)"},{"line_number":216,"context_line":""},{"line_number":217,"context_line":"        with self.cache_lock.read_lock():"},{"line_number":218,"context_line":"            cache_name \u003d self._get_or_upload_image(context, image_meta)"},{"line_number":219,"context_line":"            # Transfer the image"},{"line_number":220,"context_line":"            return tsk_stg.crt_copy_vdisk("}],"source_content_type":"text/x-python","patch_set":4,"id":"7a3c09a3_be22bab7","line":217,"range":{"start_line":217,"start_character":29,"end_line":217,"end_character":38},"updated":"2017-01-13 17:43:59.000000000","message":"This lock should be specific to the image ID.  That way we could have multiple independent cache populations going on at once.  (All ops on a given VG should be locked at a higher level anyway.)","commit_id":"130133b6cf73749e762ef36eb3e7412be8d8abf5"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"b61cad654fd626bd123e6757f1f705846b5d006e","unresolved":false,"context_lines":[{"line_number":214,"context_line":"        disk_bytes \u003d self._disk_gb_to_bytes(disk_size, floor\u003dimage_meta.size)"},{"line_number":215,"context_line":"        vol_name \u003d self._get_disk_name(image_type, instance, short\u003dTrue)"},{"line_number":216,"context_line":""},{"line_number":217,"context_line":"        with self.cache_lock.read_lock():"},{"line_number":218,"context_line":"            cache_name \u003d self._get_or_upload_image(context, image_meta)"},{"line_number":219,"context_line":"            # Transfer the image"},{"line_number":220,"context_line":"            return tsk_stg.crt_copy_vdisk("}],"source_content_type":"text/x-python","patch_set":4,"id":"7a3c09a3_d449228d","line":217,"range":{"start_line":217,"start_character":29,"end_line":217,"end_character":38},"in_reply_to":"7a3c09a3_be22bab7","updated":"2017-01-13 20:15:54.000000000","message":"This uses a reader/writer lock along with the call to the imagecache. So there could be multiple cache populations at once. The purpose of this lock is to prevent the cleanup code from removing the cached image before the instance that created it has time to copy the data.\n\nHowever, the lock on 224 suffers from this problem.","commit_id":"130133b6cf73749e762ef36eb3e7412be8d8abf5"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"98dec61436d948e15ece3b2d7cd3856949241910","unresolved":false,"context_lines":[{"line_number":217,"context_line":"        with self.cache_lock.read_lock():"},{"line_number":218,"context_line":"            cache_name \u003d self._get_or_upload_image(context, image_meta)"},{"line_number":219,"context_line":"            # Transfer the image"},{"line_number":220,"context_line":"            return tsk_stg.crt_copy_vdisk("},{"line_number":221,"context_line":"                self.adapter, self._vios.uuid, self.vg_uuid, cache_name,"},{"line_number":222,"context_line":"                image_meta.size, vol_name, disk_bytes)"},{"line_number":223,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"7a3c09a3_9e77bed3","line":220,"range":{"start_line":220,"start_character":27,"end_line":220,"end_character":41},"updated":"2017-01-13 17:43:59.000000000","message":"Does this part need to be done under lock?  That seems like a tough limitation.  (If it does need to be synchronized, that seems like something that should be done at the server anyway.)","commit_id":"130133b6cf73749e762ef36eb3e7412be8d8abf5"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"b61cad654fd626bd123e6757f1f705846b5d006e","unresolved":false,"context_lines":[{"line_number":217,"context_line":"        with self.cache_lock.read_lock():"},{"line_number":218,"context_line":"            cache_name \u003d self._get_or_upload_image(context, image_meta)"},{"line_number":219,"context_line":"            # Transfer the image"},{"line_number":220,"context_line":"            return tsk_stg.crt_copy_vdisk("},{"line_number":221,"context_line":"                self.adapter, self._vios.uuid, self.vg_uuid, cache_name,"},{"line_number":222,"context_line":"                image_meta.size, vol_name, disk_bytes)"},{"line_number":223,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"7a3c09a3_6f26d7bb","line":220,"range":{"start_line":220,"start_character":27,"end_line":220,"end_character":41},"in_reply_to":"7a3c09a3_9e77bed3","updated":"2017-01-13 20:15:54.000000000","message":"This only needs to be under the read/write lock for cleanup issues.\nAgreed, any further locking needed should be done by the server.","commit_id":"130133b6cf73749e762ef36eb3e7412be8d8abf5"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"98dec61436d948e15ece3b2d7cd3856949241910","unresolved":false,"context_lines":[{"line_number":236,"context_line":""},{"line_number":237,"context_line":"        # Check for cached image"},{"line_number":238,"context_line":"        vg_wrap \u003d self._get_vg_wrap()"},{"line_number":239,"context_line":"        cache_name \u003d pvm_util.sanitize_file_name_for_api("},{"line_number":240,"context_line":"            name\u003dimage_meta.id, prefix\u003d\u0027g_\u0027, max_len\u003d_DISK_NAME_LIMIT)"},{"line_number":241,"context_line":"        image \u003d [disk for disk in vg_wrap.virtual_disks"},{"line_number":242,"context_line":"                 if disk.name \u003d\u003d cache_name]"},{"line_number":243,"context_line":"        if len(image) !\u003d 1:"}],"source_content_type":"text/x-python","patch_set":4,"id":"7a3c09a3_9edb3eed","line":240,"range":{"start_line":239,"start_character":0,"end_line":240,"end_character":70},"updated":"2017-01-13 17:43:59.000000000","message":"Use nova_powervm.virt.powervm.disk.driver.DiskAdapter#_get_disk_name","commit_id":"130133b6cf73749e762ef36eb3e7412be8d8abf5"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"e717822c0654095968ad372204e084f809793fdd","unresolved":false,"context_lines":[{"line_number":236,"context_line":"                                               image_meta.id, short\u003dTrue)"},{"line_number":237,"context_line":"            image \u003d [disk for disk in vg_wrap.virtual_disks"},{"line_number":238,"context_line":"                     if disk.name \u003d\u003d cache_name]"},{"line_number":239,"context_line":"            if len(image) !\u003d 1:"},{"line_number":240,"context_line":"                def upload(path):"},{"line_number":241,"context_line":"                    IMAGE_API.download(context, image_meta.id, dest_path\u003dpath)"},{"line_number":242,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"7a3c09a3_7969bbf8","line":239,"updated":"2017-01-17 20:15:59.000000000","message":"If it were me...this block would be...\n\n            if len(image) \u003d\u003d 1:\n                return cache_name\n\nThat way the stuff below it wouldn\u0027t need to be triply indented.  By that\u0027s my style, no need to change.","commit_id":"163ac39ea28852f4d4b82abcbdc195be12af56b2"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"551357f958ae421c994e6648a9138f964a7aae20","unresolved":false,"context_lines":[{"line_number":237,"context_line":"                                               image_meta.id, short\u003dTrue)"},{"line_number":238,"context_line":"            image \u003d [disk for disk in vg_wrap.virtual_disks"},{"line_number":239,"context_line":"                     if disk.name \u003d\u003d cache_name]"},{"line_number":240,"context_line":"            if len(image) \u003d\u003d 1:"},{"line_number":241,"context_line":"                return image[0].udid"},{"line_number":242,"context_line":""},{"line_number":243,"context_line":"            def upload(path):"}],"source_content_type":"text/x-python","patch_set":12,"id":"1a430d35_817acaef","line":240,"updated":"2017-02-06 16:04:26.000000000","message":"If there\u0027s more than one image with that name, we should fail.  Or at least warn.  Or something.  thorst, thoughts?","commit_id":"976a8df57a04828ae2cecd42d5b6a96478578871"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"a41eb8dc74cac5e4adba268236f7bc7fad87ca6f","unresolved":false,"context_lines":[{"line_number":237,"context_line":"                                               image_meta.id, short\u003dTrue)"},{"line_number":238,"context_line":"            image \u003d [disk for disk in vg_wrap.virtual_disks"},{"line_number":239,"context_line":"                     if disk.name \u003d\u003d cache_name]"},{"line_number":240,"context_line":"            if len(image) \u003d\u003d 1:"},{"line_number":241,"context_line":"                return image[0].udid"},{"line_number":242,"context_line":""},{"line_number":243,"context_line":"            def upload(path):"}],"source_content_type":"text/x-python","patch_set":12,"id":"1a430d35_a9a968e1","line":240,"in_reply_to":"1a430d35_817acaef","updated":"2017-02-06 17:10:23.000000000","message":"Confirmed with LVM team: this can\u0027t happen.  So I\u0027m good.","commit_id":"976a8df57a04828ae2cecd42d5b6a96478578871"}],"nova_powervm/virt/powervm/driver.py":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"8fa51a780b2e6b95ef9415b163885f1f06de5e52","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":5,"id":"7a3c09a3_1dbaea23","updated":"2017-01-13 22:24:23.000000000","message":"UT for this","commit_id":"e2852a4175a7d3e4742740422ba3eb5706566bad"}]}
