)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":11600,"name":"Michał Dulko","email":"michal.dulko@gmail.com","username":"dulek"},"change_message_id":"69266bfa0171f5469823ee5562382e4e7576327a","unresolved":false,"context_lines":[{"line_number":19,"context_line":"                        the CG."},{"line_number":20,"context_line":" * Create CG from source - Create in either CG or groups table"},{"line_number":21,"context_line":"                           depending on the source."},{"line_number":22,"context_line":" * Create volume - Add either in CG or groups table"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"Additional notes:"},{"line_number":25,"context_line":" * CG API will treat a group entry as CG only if the group type is"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"5a74a57a_05332215","line":22,"range":{"start_line":22,"start_character":0,"end_line":22,"end_character":51},"updated":"2016-11-25 14:04:21.000000000","message":"I don\u0027t understand this once, can you explain this a little more?","commit_id":"57a0269077664c98108c810278be35bf7d037b69"},{"author":{"_account_id":6491,"name":"xing-yang","email":"xingyang105@gmail.com","username":"xing-yang"},"change_message_id":"f95b9add6d503400e34795293ae618aa752ff324","unresolved":false,"context_lines":[{"line_number":19,"context_line":"                        the CG."},{"line_number":20,"context_line":" * Create CG from source - Create in either CG or groups table"},{"line_number":21,"context_line":"                           depending on the source."},{"line_number":22,"context_line":" * Create volume - Add either in CG or groups table"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"Additional notes:"},{"line_number":25,"context_line":" * CG API will treat a group entry as CG only if the group type is"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"5a74a57a_4284235d","line":22,"range":{"start_line":22,"start_character":0,"end_line":22,"end_character":51},"in_reply_to":"5a74a57a_05332215","updated":"2016-11-25 17:17:00.000000000","message":"The migration script is a manual process.  How can we make sure it is run by everyone?  If there are groups not migrated, we will still be creating volume for the old CG table.","commit_id":"57a0269077664c98108c810278be35bf7d037b69"}],"releasenotes/notes/operate-migrated-groups-with-cp-apis-e5835c6673191805.yaml":[{"author":{"_account_id":11600,"name":"Michał Dulko","email":"michal.dulko@gmail.com","username":"dulek"},"change_message_id":"1db3dde711e3c90d26a37801707d5bf7e31a639e","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"upgrade:"},{"line_number":3,"context_line":"  - After running the migration script to migrate CGs"},{"line_number":4,"context_line":"    to generic volume groups, CG APIs work as follows:"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"    * Create CG only creates in the groups table."},{"line_number":7,"context_line":"    * Modify CG modifies in the CG table if the CG is in the"},{"line_number":8,"context_line":"      CG table, otherwise it modifies in the groups table."},{"line_number":9,"context_line":"    * Delete CG deletes from the CG or the groups table"},{"line_number":10,"context_line":"      depending on where the CG is."},{"line_number":11,"context_line":"    * List CG checks both CG and groups tables."},{"line_number":12,"context_line":"    * List CG Snapshots checks both the CG and the groups"},{"line_number":13,"context_line":"      tables."},{"line_number":14,"context_line":"    * Show CG checks both tables."},{"line_number":15,"context_line":"    * Show CG Snapshot checks both tables."},{"line_number":16,"context_line":"    * Create CG Snapshot creates either in the CG or the groups"},{"line_number":17,"context_line":"      table depending on where the CG is."},{"line_number":18,"context_line":"    * Create CG from Source creates in either the CG or the"},{"line_number":19,"context_line":"      groups table depending on the source."},{"line_number":20,"context_line":"    * Create Volume adds the volume either to the CG or the"},{"line_number":21,"context_line":"      group."},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"    Additional notes:"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"    * default_cgsnapshot_type is reserved for migrating CGs."},{"line_number":26,"context_line":"    * Group APIs will only write/read in/from the groups table."},{"line_number":27,"context_line":"    * Group APIs won\u0027t work on groups with default_cgsnapshot_type."},{"line_number":28,"context_line":"    * Groups with default_cgsnapshot_type can only be operated by"},{"line_number":29,"context_line":"      CG APIs."},{"line_number":30,"context_line":"    * After CG tables are removed, we\u0027ll allow default_cgsnapshot_type"},{"line_number":31,"context_line":"      to be used by group APIs."}],"source_content_type":"text/x-yaml","patch_set":20,"id":"1a6eadb0_bf20db9c","line":31,"range":{"start_line":1,"start_character":0,"end_line":31,"end_character":31},"updated":"2016-12-20 13:16:03.000000000","message":"I was able to make it work with reno by changing to:\n\n---\nupgrade:\n  - | \n    After running the migration script to migrate CGs \n    to generic volume groups, CG APIs work as follows:\n\n    * Create CG only creates in the groups table.\n    * Modify CG modifies in the CG table if the CG is in the \n      CG table, otherwise it modifies in the groups table.\n    * Delete CG deletes from the CG or the groups table\n      depending on where the CG is. \n    * List CG checks both CG and groups tables.\n    * List CG Snapshots checks both the CG and the groups\n      tables.\n    * Show CG checks both tables.\n    * Show CG Snapshot checks both tables.\n    * Create CG Snapshot creates either in the CG or the groups\n      table depending on where the CG is. \n    * Create CG from Source creates in either the CG or the \n      groups table depending on the source.\n    * Create Volume adds the volume either to the CG or the \n      group.\n\n    Additional notes:\n\n    * default_cgsnapshot_type is reserved for migrating CGs.\n    * Group APIs will only write/read in/from the groups table.\n    * Group APIs won\u0027t work on groups with default_cgsnapshot_type.\n    * Groups with default_cgsnapshot_type can only be operated by\n      CG APIs.\n    * After CG tables are removed, we\u0027ll allow default_cgsnapshot_type\n      to be used by group APIs.","commit_id":"ece510ecc17c9a3eb68f238ed520c0112655493d"},{"author":{"_account_id":6491,"name":"xing-yang","email":"xingyang105@gmail.com","username":"xing-yang"},"change_message_id":"f8d9eec360741ed7daf431e198d3816c77957d77","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"upgrade:"},{"line_number":3,"context_line":"  - After running the migration script to migrate CGs"},{"line_number":4,"context_line":"    to generic volume groups, CG APIs work as follows:"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"    * Create CG only creates in the groups table."},{"line_number":7,"context_line":"    * Modify CG modifies in the CG table if the CG is in the"},{"line_number":8,"context_line":"      CG table, otherwise it modifies in the groups table."},{"line_number":9,"context_line":"    * Delete CG deletes from the CG or the groups table"},{"line_number":10,"context_line":"      depending on where the CG is."},{"line_number":11,"context_line":"    * List CG checks both CG and groups tables."},{"line_number":12,"context_line":"    * List CG Snapshots checks both the CG and the groups"},{"line_number":13,"context_line":"      tables."},{"line_number":14,"context_line":"    * Show CG checks both tables."},{"line_number":15,"context_line":"    * Show CG Snapshot checks both tables."},{"line_number":16,"context_line":"    * Create CG Snapshot creates either in the CG or the groups"},{"line_number":17,"context_line":"      table depending on where the CG is."},{"line_number":18,"context_line":"    * Create CG from Source creates in either the CG or the"},{"line_number":19,"context_line":"      groups table depending on the source."},{"line_number":20,"context_line":"    * Create Volume adds the volume either to the CG or the"},{"line_number":21,"context_line":"      group."},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"    Additional notes:"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"    * default_cgsnapshot_type is reserved for migrating CGs."},{"line_number":26,"context_line":"    * Group APIs will only write/read in/from the groups table."},{"line_number":27,"context_line":"    * Group APIs won\u0027t work on groups with default_cgsnapshot_type."},{"line_number":28,"context_line":"    * Groups with default_cgsnapshot_type can only be operated by"},{"line_number":29,"context_line":"      CG APIs."},{"line_number":30,"context_line":"    * After CG tables are removed, we\u0027ll allow default_cgsnapshot_type"},{"line_number":31,"context_line":"      to be used by group APIs."}],"source_content_type":"text/x-yaml","patch_set":20,"id":"1a6eadb0_fca3349c","line":31,"range":{"start_line":1,"start_character":0,"end_line":31,"end_character":31},"in_reply_to":"1a6eadb0_bf20db9c","updated":"2016-12-20 16:59:30.000000000","message":"Done","commit_id":"ece510ecc17c9a3eb68f238ed520c0112655493d"}]}
