Metadata not cleared when restore from a backup that no metadata .
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Incomplete
|
Undecided
|
Sean McGinnis |
Bug Description
[stack@devstack devstack]$ cinder create --name test-restore 1
+------
| Property | Value |
+------
| attachments | [] |
| availability_zone | nova |
| bootable | false |
| consistencygroup_id | None |
| created_at | 2017-04-
| description | None |
| encrypted | False |
| id | 332523cc-
| metadata | {} |
| migration_status | None |
| multiattach | False |
| name | test-restore |
| os-vol-
| os-vol-
| os-vol-
| os-vol-
| replication_status | None |
| size | 1 |
| snapshot_id | None |
| source_volid | None |
| status | creating |
| updated_at | None |
| user_id | 2d5976483df1473
| volume_type | lvmdriver-1 |
+------
[stack@devstack devstack]$ cinder backup-create --name test-restore 332523cc-
+------
| Property | Value |
+------
| id | 926ccb79-
| name | test-restore |
| volume_id | 332523cc-
+------
[stack@devstack devstack]$ cinder metadata 332523cc-
[stack@devstack devstack]$ cinder backup-restore 926ccb79-
+------
| Property | Value |
+------
| backup_id | 926ccb79-
| volume_id | 332523cc-
| volume_name | test-restore |
+------
[stack@devstack devstack]$ cinder show 332523cc-
+------
| Property | Value |
+------
| attachments | [] |
| availability_zone | nova |
| bootable | false |
| consistencygroup_id | None |
| created_at | 2017-04-
| description | None |
| encrypted | False |
| id | 332523cc-
| metadata | {'something': 'true'} |
| migration_status | None |
| multiattach | False |
| name | test-restore |
| os-vol-
| os-vol-
| os-vol-
| os-vol-
| replication_status | None |
| size | 1 |
| snapshot_id | None |
| source_volid | None |
| status | available |
| updated_at | 2017-04-
| user_id | 2d5976483df1473
| volume_type | lvmdriver-1 |
+------
Changed in cinder: | |
assignee: | nobody → wanghongxu (wang19930902) |
Changed in cinder: | |
assignee: | nobody → Sean McGinnis (sean-mcginnis) |
status: | Triaged → In Progress |
Changed in cinder: | |
status: | In Progress → Incomplete |
Fix proposed to branch: master /review. openstack. org/460072
Review: https:/