A race condtion in LVMVolumeDriver create_cloned_volume method
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Low
|
Rongze Zhu |
Bug Description
When we create a clone volume, LVMVolumeDriver will create a temp snapshot of source volume. The temp snapshot name is "clone-snap-%s" % source_
Reproduce:
zhu@dev:
+------
| ID | Status | Display Name | Size | Volume Type | Bootable | Attached to |
+------
| 2130cb05-
+------
zhu@dev:
zhu@dev:
+------
| Property | Value |
+------
| attachments | [] |
| availability_zone | nova |
| bootable | False |
| created_at | 2013-07-
| display_description | None |
| display_name | None |
| id | 12bd9108-
| metadata | {} |
| size | 1 |
| snapshot_id | None |
| source_volid | 2130cb05-
| status | creating |
| volume_type | None |
+------
zhu@dev:
+------
| Property | Value |
+------
| attachments | [] |
| availability_zone | nova |
| bootable | False |
| created_at | 2013-07-
| display_description | None |
| display_name | None |
| id | 881a79f3-
| metadata | {} |
| size | 1 |
| snapshot_id | None |
| source_volid | 2130cb05-
| status | creating |
| volume_type | None |
+------
zhu@dev:
zhu@dev:
+------
| ID | Status | Display Name | Size | Volume Type | Bootable | Attached to |
+------
| 12bd9108-
| 2130cb05-
| 881a79f3-
+------
zhu@dev:
The cinder-volume error log:
2013-07-17 17:52:13.497 DEBUG cinder.
2013-07-17 17:52:13.852 DEBUG cinder.
2013-07-17 17:52:13.855 ERROR cinder.
2013-07-17 17:52:13.855 TRACE cinder.
2013-07-17 17:52:13.855 TRACE cinder.
2013-07-17 17:52:13.855 TRACE cinder.
2013-07-17 17:52:13.855 TRACE cinder.
2013-07-17 17:52:13.855 TRACE cinder.
2013-07-17 17:52:13.855 TRACE cinder.
2013-07-17 17:52:13.855 TRACE cinder.
2013-07-17 17:52:13.855 TRACE cinder.
2013-07-17 17:52:13.855 TRACE cinder.
2013-07-17 17:52:13.855 TRACE cinder.
2013-07-17 17:52:13.855 TRACE cinder.
Changed in cinder: | |
assignee: | nobody → Rongze Zhu (zrzhit) |
tags: | added: grizzly-backport-potential |
Changed in cinder: | |
milestone: | none → havana-3 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | havana-3 → 2013.2 |
Changed in cinder: | |
importance: | Undecided → Low |
tags: | removed: grizzly-backport-potential |
Fix proposed to branch: master /review. openstack. org/37444
Review: https:/