VMware: restore backup should work for volumes with snapshots
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Invalid
|
Medium
|
Vipin Balachandran |
Bug Description
volume status is not coming back to 'available' from 'restoring_backup' for restore operation for volumes with snapshot.
test setps :
1) Create volume say vol1
2) Attach & detach above volume to instance
3) now take a snapshot volume- vol1
4) now try to restore any back to above volume
expected : restore should fail and volume status also in available after restore failure.
actual : Target volume status is NOT coming back to 'aviliable' from 'error_restoring' for 'backup-restore' operation for voulmes with snapshot
ssatya@
+------
| Property | Value |
+------
| attachments | [] |
| availability_zone | nova |
| bootable | false |
| consistencygroup_id | None |
| created_at | 2014-09-
| description | None |
| encrypted | False |
| id | 7bccf85f-
| metadata | {} |
| name | None |
| os-vol-
| os-vol-
| os-vol-
| os-vol-
| os-volume-
| os-volume-
| replication_status | disabled |
| size | 1 |
| snapshot_id | None |
| source_volid | None |
| status | creating |
| user_id | da7ab4f87b994c2
| volume_type | None |
+------
ssatya@
nova +------
| ID | Name | Status | Task State | Power State | Networks |
+------
| f68e43bd-
+------
ssatya@
+------
| Property | Value |
+------
| device | /dev/sdb |
| id | 7bccf85f-
| serverId | f68e43bd-
| volumeId | 7bccf85f-
+------
ssatya@
volume-delete volume-detach
ssatya@
ssatya@
+------
| Property | Value |
+------
| created_at | 2014-09-
| description | None |
| id | 864d2090-
| metadata | {} |
| name | vol_snap |
| size | 1 |
| status | creating |
| volume_id | 7bccf85f-
+------
ssatya@
+------
| ID | Volume ID | Status | Name | Size |
+------
| 4d344293-
| 864d2090-
+------
ssatya@
+------
| ID | Volume ID | Status | Name | Size | Object Count | Container |
+------
| 4200b860-
+------
ssatya@
ERROR: Not Found (HTTP 404) (Request-ID: req-16f1d46a-
ssatya@
ssatya@
+------
| ID | Status | Name | Size | Volume Type | Bootable | Attached to |
+------
| 2fae328e-
| 7bccf85f-
+------
tags: | added: drivers vmware |
Snapshot shouldn't impact backup or restore of a volume. What driver are you using here?