)]}'
{"gnocchi/indexer/alembic/versions/ffc7bbeec0b0_migrate_legacy_resources_to_db2.py":[{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"a231beb3743da1bfa235a514c693ec4632eb8a8f","unresolved":false,"context_lines":[{"line_number":52,"context_line":"            continue"},{"line_number":53,"context_line":"        tablename \u003d legacy.ceilometer_tablenames.get(name, name)"},{"line_number":54,"context_line":"        text_attributes \u003d json.dumps(attributes)"},{"line_number":55,"context_line":"        op.execute(resource_type.insert().values({"},{"line_number":56,"context_line":"            resource_type.c.attributes: text_attributes,"},{"line_number":57,"context_line":"            resource_type.c.name: name,"},{"line_number":58,"context_line":"            resource_type.c.tablename: tablename,"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a122d0e_6b135c5d","line":55,"updated":"2016-04-15 14:04:39.000000000","message":"when i ran upgrade from 2.x to 2.1, the uniqueconstraint failed[1]. which is why i had to fix migration and leads me to believe, the table is populated (with somehting)\n\nhttps://github.com/openstack/gnocchi/blob/master/gnocchi/indexer/alembic/versions/0735ed97e5b3_add_tablename_to_resource_type.py#L53-L54","commit_id":"6a5c2714a6d120c75ed65ae8d8d686ae692f7cb7"}]}
