)]}'
{"specs/liberty/volume-and-snap-delete.rst":[{"author":{"_account_id":9535,"name":"Gorka Eguileor","email":"geguileo@redhat.com","username":"Gorka"},"change_message_id":"be1da048a8d5fdb75e8217d697aab52d24f03bb9","unresolved":false,"context_lines":[{"line_number":78,"context_line":"   3. Issue a snapshot delete for each snapshot."},{"line_number":79,"context_line":"      (This loop happens in the volume manager.)"},{"line_number":80,"context_line":"   4. If any snapshot delete operations fail, fail the operation and ensure"},{"line_number":81,"context_line":"      the volume returns to available.  Any snapshots that were successfully"},{"line_number":82,"context_line":"      deleted remain so.  Any snapshots which failed to be deleted are"},{"line_number":83,"context_line":"      marked as \u0027error_deleting\u0027."},{"line_number":84,"context_line":"   5. Volume manager now moves all snapshots in \u0027deleting\u0027 state to deleted."}],"source_content_type":"text/x-rst","patch_set":1,"id":"9a41bdd9_59dfda68","line":81,"updated":"2015-07-15 08:44:02.000000000","message":"I understand we keep trying to delete remaining snapshots even if one deletion has failed, right?\n\nOtherwise we would end up marking as deleted a snapshot that has not been deleted.","commit_id":"916a2fc669b4821fcf3f944615f31eb795994b98"},{"author":{"_account_id":4523,"name":"Eric Harney","email":"eharney@redhat.com","username":"eharney"},"change_message_id":"1aefe163d5790afd2b9d80fa6cc6ad679d807591","unresolved":false,"context_lines":[{"line_number":78,"context_line":"   3. Issue a snapshot delete for each snapshot."},{"line_number":79,"context_line":"      (This loop happens in the volume manager.)"},{"line_number":80,"context_line":"   4. If any snapshot delete operations fail, fail the operation and ensure"},{"line_number":81,"context_line":"      the volume returns to available.  Any snapshots that were successfully"},{"line_number":82,"context_line":"      deleted remain so.  Any snapshots which failed to be deleted are"},{"line_number":83,"context_line":"      marked as \u0027error_deleting\u0027."},{"line_number":84,"context_line":"   5. Volume manager now moves all snapshots in \u0027deleting\u0027 state to deleted."}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a50d1a3_42327d60","line":81,"in_reply_to":"9a41bdd9_59dfda68","updated":"2015-07-22 20:15:47.000000000","message":"I\u0027m not so sure.  I\u0027m inclined to think so, but there may be reasons to not do this, depending on what failure occurs.\n\nI think it\u0027s ok if there are cases where we don\u0027t, because then we can leave an intact volume and some snapshots.","commit_id":"916a2fc669b4821fcf3f944615f31eb795994b98"},{"author":{"_account_id":9535,"name":"Gorka Eguileor","email":"geguileo@redhat.com","username":"Gorka"},"change_message_id":"be1da048a8d5fdb75e8217d697aab52d24f03bb9","unresolved":false,"context_lines":[{"line_number":104,"context_line":"    5. If an exception occured, set the volume and all snapshots to"},{"line_number":105,"context_line":"       \u0027error_deleting\u0027.  We don\u0027t have enough information to do anything"},{"line_number":106,"context_line":"       else safely."},{"line_number":107,"context_line":"    6. The driver returns a list of dicts indicating the new statuses of"},{"line_number":108,"context_line":"       the volume and each snapshot.  This allows handling cases where"},{"line_number":109,"context_line":"       deletion of some things succeeded but the process did not complete."},{"line_number":110,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"9a41bdd9_39fe96ae","line":107,"updated":"2015-07-15 08:44:02.000000000","message":"Maybe this could be returned in the exception mentioned in point 5.  If the exception doesn\u0027t contain data do as #5 says, and if it does contain the dict, update DB accordingly.","commit_id":"916a2fc669b4821fcf3f944615f31eb795994b98"},{"author":{"_account_id":4523,"name":"Eric Harney","email":"eharney@redhat.com","username":"eharney"},"change_message_id":"1aefe163d5790afd2b9d80fa6cc6ad679d807591","unresolved":false,"context_lines":[{"line_number":104,"context_line":"    5. If an exception occured, set the volume and all snapshots to"},{"line_number":105,"context_line":"       \u0027error_deleting\u0027.  We don\u0027t have enough information to do anything"},{"line_number":106,"context_line":"       else safely."},{"line_number":107,"context_line":"    6. The driver returns a list of dicts indicating the new statuses of"},{"line_number":108,"context_line":"       the volume and each snapshot.  This allows handling cases where"},{"line_number":109,"context_line":"       deletion of some things succeeded but the process did not complete."},{"line_number":110,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a50d1a3_9dd30604","line":107,"in_reply_to":"9a41bdd9_39fe96ae","updated":"2015-07-22 20:15:47.000000000","message":"Sounds like a reasonable optimization.","commit_id":"916a2fc669b4821fcf3f944615f31eb795994b98"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"17a35654081e777ccba8c8e19bbb2f3bd20c80c7","unresolved":false,"context_lines":[{"line_number":158,"context_line":""},{"line_number":159,"context_line":"None if this is done by default."},{"line_number":160,"context_line":""},{"line_number":161,"context_line":"New --with-snapshots parameter for volume-delete in cinderclient"},{"line_number":162,"context_line":"if not."},{"line_number":163,"context_line":""},{"line_number":164,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a50d1a3_b6e94ae8","line":161,"updated":"2015-07-22 17:06:11.000000000","message":"I would vote for not making this the default behavior. It could be dangerous if the end user doesn\u0027t realize there are dependencies here.","commit_id":"916a2fc669b4821fcf3f944615f31eb795994b98"},{"author":{"_account_id":4523,"name":"Eric Harney","email":"eharney@redhat.com","username":"eharney"},"change_message_id":"2673c8c1f6493ce651adb73ca8e70fe11226e103","unresolved":false,"context_lines":[{"line_number":158,"context_line":""},{"line_number":159,"context_line":"None if this is done by default."},{"line_number":160,"context_line":""},{"line_number":161,"context_line":"New --with-snapshots parameter for volume-delete in cinderclient"},{"line_number":162,"context_line":"if not."},{"line_number":163,"context_line":""},{"line_number":164,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a50d1a3_f632725d","line":161,"in_reply_to":"3a50d1a3_b6e94ae8","updated":"2015-07-22 17:11:13.000000000","message":"People all seem to be leaning that way, I\u0027ll update this to go that direction.","commit_id":"916a2fc669b4821fcf3f944615f31eb795994b98"},{"author":{"_account_id":6491,"name":"xing-yang","email":"xingyang105@gmail.com","username":"xing-yang"},"change_message_id":"d232d4ab7d7218d105c540d4917550c88528a019","unresolved":false,"context_lines":[{"line_number":158,"context_line":""},{"line_number":159,"context_line":"None if this is done by default."},{"line_number":160,"context_line":""},{"line_number":161,"context_line":"New --with-snapshots parameter for volume-delete in cinderclient"},{"line_number":162,"context_line":"if not."},{"line_number":163,"context_line":""},{"line_number":164,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a50d1a3_2c8aca1b","line":161,"in_reply_to":"3a50d1a3_f632725d","updated":"2015-07-22 19:47:08.000000000","message":"I completely agree deleting volume with snapshots should not be default as this is a new behavior.  The existing behavior (fail volume delete with snapshot) should be default.  Good to know you are going to change it.","commit_id":"916a2fc669b4821fcf3f944615f31eb795994b98"},{"author":{"_account_id":6491,"name":"xing-yang","email":"xingyang105@gmail.com","username":"xing-yang"},"change_message_id":"d232d4ab7d7218d105c540d4917550c88528a019","unresolved":false,"context_lines":[{"line_number":218,"context_line":"Implementation:"},{"line_number":219,"context_line":""},{"line_number":220,"context_line":"Rough order should be:"},{"line_number":221,"context_line":"* Implement volume manager logic to delete everything"},{"line_number":222,"context_line":"* Create an abc class for the new driver interface"},{"line_number":223,"context_line":"* Implement volume manager logic to talk to the new driver interface"},{"line_number":224,"context_line":"* Implement an optimized case for the LVM driver"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a50d1a3_8c1bdec9","line":221,"updated":"2015-07-22 19:47:08.000000000","message":"Since you are going to add a --with-snapshots option in cinderclient to determine whether to delete the snapshots with the volume together, there will be an API change then.","commit_id":"916a2fc669b4821fcf3f944615f31eb795994b98"}]}
