)]}'
{"tempest/api/volume/test_volumes_backup.py":[{"author":{"_account_id":20190,"name":"zhufl","email":"zhu.fanglei@zte.com.cn","username":"zhufl"},"change_message_id":"41d4d4f3c07bfb366fb158c58558ad32ae43a52e","unresolved":false,"context_lines":[{"line_number":148,"context_line":"    def test_create_backup_from_snapshot(self):"},{"line_number":149,"context_line":"        # Create volume and snapshot"},{"line_number":150,"context_line":"        volume \u003d self.create_volume()"},{"line_number":151,"context_line":"        snapshot \u003d self.create_snapshot(volume_id\u003dvolume[\u0027id\u0027])"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"        # Create a backup for volume snapshot"},{"line_number":154,"context_line":"        backup \u003d self.create_backup(volume_id\u003dvolume[\u0027id\u0027],"}],"source_content_type":"text/x-python","patch_set":1,"id":"bf8cb3f7_edf84bc5","line":151,"range":{"start_line":151,"start_character":19,"end_line":151,"end_character":39},"updated":"2017-12-26 05:33:04.000000000","message":"need to skip if snapshot is not supported","commit_id":"80944898d3e7280733f8fec3fd0be9854522995a"},{"author":{"_account_id":19262,"name":"Liron Kuchlani","email":"lkuchlan@redhat.com","username":"lkuchlan"},"change_message_id":"2c79c92e227a6e588d58e57044d5783a9a64f5bb","unresolved":false,"context_lines":[{"line_number":148,"context_line":"    def test_create_backup_from_snapshot(self):"},{"line_number":149,"context_line":"        # Create volume and snapshot"},{"line_number":150,"context_line":"        volume \u003d self.create_volume()"},{"line_number":151,"context_line":"        snapshot \u003d self.create_snapshot(volume_id\u003dvolume[\u0027id\u0027])"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"        # Create a backup for volume snapshot"},{"line_number":154,"context_line":"        backup \u003d self.create_backup(volume_id\u003dvolume[\u0027id\u0027],"}],"source_content_type":"text/x-python","patch_set":1,"id":"bf8cb3f7_901752a4","line":151,"range":{"start_line":151,"start_character":19,"end_line":151,"end_character":39},"in_reply_to":"bf8cb3f7_edf84bc5","updated":"2017-12-26 08:03:42.000000000","message":"Thanks for your comments,\nDone","commit_id":"80944898d3e7280733f8fec3fd0be9854522995a"},{"author":{"_account_id":20190,"name":"zhufl","email":"zhu.fanglei@zte.com.cn","username":"zhufl"},"change_message_id":"41d4d4f3c07bfb366fb158c58558ad32ae43a52e","unresolved":false,"context_lines":[{"line_number":151,"context_line":"        snapshot \u003d self.create_snapshot(volume_id\u003dvolume[\u0027id\u0027])"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"        # Create a backup for volume snapshot"},{"line_number":154,"context_line":"        backup \u003d self.create_backup(volume_id\u003dvolume[\u0027id\u0027],"},{"line_number":155,"context_line":"                                    snapshot_id\u003dsnapshot[\u0027id\u0027])"},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"        # Verify the backup was created from the volume snapshot"},{"line_number":158,"context_line":"        backup_info \u003d self.backups_client.show_backup(backup[\u0027id\u0027])[\u0027backup\u0027]"}],"source_content_type":"text/x-python","patch_set":1,"id":"bf8cb3f7_6d2e7b44","line":155,"range":{"start_line":154,"start_character":0,"end_line":155,"end_character":63},"updated":"2017-12-26 05:33:04.000000000","message":"a silly question: What will happen if we only specify snapshot_id while not volume_id?","commit_id":"80944898d3e7280733f8fec3fd0be9854522995a"},{"author":{"_account_id":19262,"name":"Liron Kuchlani","email":"lkuchlan@redhat.com","username":"lkuchlan"},"change_message_id":"38d1ae195a87992bd9aac850e04e016f32eae560","unresolved":false,"context_lines":[{"line_number":151,"context_line":"        snapshot \u003d self.create_snapshot(volume_id\u003dvolume[\u0027id\u0027])"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"        # Create a backup for volume snapshot"},{"line_number":154,"context_line":"        backup \u003d self.create_backup(volume_id\u003dvolume[\u0027id\u0027],"},{"line_number":155,"context_line":"                                    snapshot_id\u003dsnapshot[\u0027id\u0027])"},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"        # Verify the backup was created from the volume snapshot"},{"line_number":158,"context_line":"        backup_info \u003d self.backups_client.show_backup(backup[\u0027id\u0027])[\u0027backup\u0027]"}],"source_content_type":"text/x-python","patch_set":1,"id":"9f91af0f_7052076a","line":155,"range":{"start_line":154,"start_character":0,"end_line":155,"end_character":63},"in_reply_to":"9f91af0f_72a3f950","updated":"2017-12-31 08:45:05.000000000","message":"Please see the following steps:\n\n(overcloud) [stack@undercloud-0 tempest]$ cinder list --all\n+--------------------------------------+----------------------------------+-----------+------+------+-------------+----------+-------------+\n| ID                                   | Tenant ID                        | Status    | Name | Size | Volume Type | Bootable | Attached to |\n+--------------------------------------+----------------------------------+-----------+------+------+-------------+----------+-------------+\n| 57bc0ecc-1458-4e1e-ac7c-8120104804f5 | 0b01fe0cb4b94ba3a4f3500d630b1484 | available | -    | 1    | -           | false    |             |\n| d7cb9572-7cdb-4f29-a2e0-0e768cf8a202 | 0b01fe0cb4b94ba3a4f3500d630b1484 | available | -    | 1    | -           | false    |             |\n+--------------------------------------+----------------------------------+-----------+------+------+-------------+----------+-------------+\n(overcloud) [stack@undercloud-0 tempest]$ cinder snapshot-list\n+--------------------------------------+--------------------------------------+-----------+------+------+\n| ID                                   | Volume ID                            | Status    | Name | Size |\n+--------------------------------------+--------------------------------------+-----------+------+------+\n| c16a2596-8bb0-4ab8-a447-ca77eade4227 | d7cb9572-7cdb-4f29-a2e0-0e768cf8a202 | available | -    | 1    |\n+--------------------------------------+--------------------------------------+-----------+------+------+\n(overcloud) [stack@undercloud-0 tempest]$ cinder backup-create 57bc0ecc-1458-4e1e-ac7c-8120104804f5 --snapshot-id c16a2596-8bb0-4ab8-a447-ca77eade4227\nERROR: Invalid volume: Volume 57bc0ecc-1458-4e1e-ac7c-8120104804f5 does not match with snapshot.volume_id d7cb9572-7cdb-4f29-a2e0-0e768cf8a202. (HTTP 400) (Request-ID: req-be50db3d-1916-4bef-a2c2-54e7ac012028)","commit_id":"80944898d3e7280733f8fec3fd0be9854522995a"},{"author":{"_account_id":19262,"name":"Liron Kuchlani","email":"lkuchlan@redhat.com","username":"lkuchlan"},"change_message_id":"2c79c92e227a6e588d58e57044d5783a9a64f5bb","unresolved":false,"context_lines":[{"line_number":151,"context_line":"        snapshot \u003d self.create_snapshot(volume_id\u003dvolume[\u0027id\u0027])"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"        # Create a backup for volume snapshot"},{"line_number":154,"context_line":"        backup \u003d self.create_backup(volume_id\u003dvolume[\u0027id\u0027],"},{"line_number":155,"context_line":"                                    snapshot_id\u003dsnapshot[\u0027id\u0027])"},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"        # Verify the backup was created from the volume snapshot"},{"line_number":158,"context_line":"        backup_info \u003d self.backups_client.show_backup(backup[\u0027id\u0027])[\u0027backup\u0027]"}],"source_content_type":"text/x-python","patch_set":1,"id":"bf8cb3f7_f027be11","line":155,"range":{"start_line":154,"start_character":0,"end_line":155,"end_character":63},"in_reply_to":"bf8cb3f7_6d2e7b44","updated":"2017-12-26 08:03:42.000000000","message":"The request will get code 404","commit_id":"80944898d3e7280733f8fec3fd0be9854522995a"},{"author":{"_account_id":20190,"name":"zhufl","email":"zhu.fanglei@zte.com.cn","username":"zhufl"},"change_message_id":"3eadeba11f46c3e2adee2629a701dd858e20bc96","unresolved":false,"context_lines":[{"line_number":151,"context_line":"        snapshot \u003d self.create_snapshot(volume_id\u003dvolume[\u0027id\u0027])"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"        # Create a backup for volume snapshot"},{"line_number":154,"context_line":"        backup \u003d self.create_backup(volume_id\u003dvolume[\u0027id\u0027],"},{"line_number":155,"context_line":"                                    snapshot_id\u003dsnapshot[\u0027id\u0027])"},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"        # Verify the backup was created from the volume snapshot"},{"line_number":158,"context_line":"        backup_info \u003d self.backups_client.show_backup(backup[\u0027id\u0027])[\u0027backup\u0027]"}],"source_content_type":"text/x-python","patch_set":1,"id":"9f91af0f_72a3f950","line":155,"range":{"start_line":154,"start_character":0,"end_line":155,"end_character":63},"in_reply_to":"bf8cb3f7_f0033e41","updated":"2017-12-29 02:37:55.000000000","message":"Oh, I am just curious about why we need to set both snapshot_id and volume_id? \nWhat if I set a volume_id that is different than the one that snapshot is created from?","commit_id":"80944898d3e7280733f8fec3fd0be9854522995a"},{"author":{"_account_id":19262,"name":"Liron Kuchlani","email":"lkuchlan@redhat.com","username":"lkuchlan"},"change_message_id":"f504b8ea590fe8681ad3058e88624864f5f8c66f","unresolved":false,"context_lines":[{"line_number":151,"context_line":"        snapshot \u003d self.create_snapshot(volume_id\u003dvolume[\u0027id\u0027])"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"        # Create a backup for volume snapshot"},{"line_number":154,"context_line":"        backup \u003d self.create_backup(volume_id\u003dvolume[\u0027id\u0027],"},{"line_number":155,"context_line":"                                    snapshot_id\u003dsnapshot[\u0027id\u0027])"},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"        # Verify the backup was created from the volume snapshot"},{"line_number":158,"context_line":"        backup_info \u003d self.backups_client.show_backup(backup[\u0027id\u0027])[\u0027backup\u0027]"}],"source_content_type":"text/x-python","patch_set":1,"id":"bf8cb3f7_f0033e41","line":155,"range":{"start_line":154,"start_character":0,"end_line":155,"end_character":63},"in_reply_to":"bf8cb3f7_f027be11","updated":"2017-12-26 08:13:25.000000000","message":"Sorry, Bad Request(code 400)","commit_id":"80944898d3e7280733f8fec3fd0be9854522995a"}]}
