VMware : Creating volume from streamOptimized image in ova container fails with ImageCopyFailure exception
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Low
|
Vipin Balachandran |
Bug Description
create a volume from streamOptimized image.
At virtual center level ' during extend operation' fails with following logs at screen-c-vol.log
2014-09-19 13:06:06.376 [01;33mWARNING cinder.
2014-09-19 13:06:06.376 [01;31mERROR oslo.messaging.
[01;31m2014-09-19 13:06:06.376 TRACE oslo.messaging.
[01;31m2014-09-19 13:06:06.376 TRACE oslo.messaging.
[01;31m2014-09-19 13:06:06.376 TRACE oslo.messaging.
[01;31m2014-09-19 13:06:06.376 TRACE oslo.messaging.
[01;31m2014-09-19 13:06:06.376 TRACE oslo.messaging.
[01;31m2014-09-19 13:06:06.376 TRACE oslo.messaging.
[01;31m2014-09-19 13:06:06.376 TRACE oslo.messaging.
[01;31m2014-09-19 13:06:06.376 TRACE oslo.messaging.
[01;31m2014-09-19 13:06:06.376 TRACE oslo.messaging.
[01;31m2014-09-19 13:06:06.376 TRACE oslo.messaging.
[01;31m2014-09-19 13:06:06.376 TRACE oslo.messaging.
[01;31m2014-09-19 13:06:06.376 TRACE oslo.messaging.
[01;31m2014-09-19 13:06:06.376 TRACE oslo.messaging.
[01;31m2014-09-19 13:06:06.376 TRACE oslo.messaging.
[01;31m2014-09-19 13:06:06.376 TRACE oslo.messaging.
[01;31m2014-09-19 13:06:06.376 TRACE oslo.messaging.
[01;31m2014-09-19 13:06:06.376 TRACE oslo.messaging.
[01;31m2014-09-19 13:06:06.376 TRACE oslo.messaging.
[01;31m2014-09-19 13:06:06.376 TRACE oslo.messaging.
[01;31m2014-09-19 13:06:06.376 TRACE oslo.messaging.
[01;31m2014-09-19 13:06:06.376 TRACE oslo.messaging.
[01;31m2014-09-19 13:06:06.376 TRACE oslo.messaging.
[01;31m2014-09-19 13:06:06.376 TRACE oslo.messaging.
[01;31m2014-09-19 13:06:06.376 TRACE oslo.messaging.
[01;31m2014-09-19 13:06:06.376 TRACE oslo.messaging.
[01;31m2014-09-19 13:06:06.376 TRACE oslo.messaging.
[01;31m2014-09-19 13:06:06.376 TRACE oslo.messaging.
[01;31m2014-09-19 13:06:06.376 TRACE oslo.messaging.
[01;31m2014-09-19 13:06:06.376 TRACE oslo.messaging.
[01;31m2014-09-19 13:06:06.376 TRACE oslo.messaging.
[01;31m2014-09-19 13:06:06.376 TRACE oslo.messaging.
summary: |
- unable to create a volume from 'streamOptimized' image - fails with - exception " ImageCopyFailure: Failed to copy image to volume " + VMWARE : unable to create a volume from 'streamOptimized' image - fails + with exception " ImageCopyFailure: Failed to copy image to volume " |
Changed in cinder: | |
importance: | Undecided → Low |
status: | New → Confirmed |
summary: |
- VMWARE : unable to create a volume from 'streamOptimized' image - fails - with exception " ImageCopyFailure: Failed to copy image to volume " + VMware : Creating volume from streamOptimized image in ova container + fails with ImageCopyFailure exception |
Changed in cinder: | |
assignee: | nobody → Vipin Balachandran (vbala) |
Changed in cinder: | |
milestone: | none → kilo-3 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | kilo-3 → 2015.1.0 |
Reason for failure , I uploaded 'ova' as container format to glance
when cinder try to create volume from a image based on ova, it is not finding vmdk in ova and creating volume with zero size vmdk and hence extend volume fails.
ssatya@ juno-devstack: ~/images$ glance image-list ------- ------- ------- ------- ----+-- ------- ------- ------- -+----- ------- -+----- ------- ------+ ------- -----+- ------- + ------- ------- ------- ------- ----+-- ------- ------- ------- -+----- ------- -+----- ------- ------+ ------- -----+- ------- + eb54-4da1- a120-f622b98a17 54 | cirros- 0.3.2-i386- disk | vmdk | bare | 17104896 | active | 0669-4a12- b256-b25d83e430 b5 | debian | vmdk | bare | 1073741824 | active | 76fe-45ae- 9b37-ea4ce22533 0e | debianthin | vmdk | bare | 1073741824 | active | 26c3-48ce- 9aca-a8e8ac1576 c5 | dsl | vmdk | ova | 60579328 | active | 3f74-4eb8- 9c9c-bb415e6bed 9f | dsl_vmdk | vmdk | ova | 60570624 | active | 6d76-4d66- a165-b5c7387fcd e5 | img-1 | vmdk | bare | 69120 | active | ------- ------- ------- ------- ----+-- ------- ------- ------- -+----- ------- -+----- ------- ------+ ------- -----+- ------- +
+------
| ID | Name | Disk Format | Container Format | Size | Status |
+------
| b8e73860-
| edc5b28b-
| 11c516c0-
| a3190c34-
| b1ea55b6-
| 9ab9fe8e-
+------
ssatya@ juno-devstack: ~/images$ glance image-show a3190c34- 26c3-48ce- 9aca-a8e8ac1576 c5 ------- ------- ------- ----+-- ------- ------- ------- ------- ------- -+ ------- ------- ------- ----+-- ------- ------- ------- ------- ------- -+ adaptertype' | ide | 508b5eec97ce79b 90 | 26c3-48ce- 9aca-a8e8ac1576 c5 | bb9a2d9ad5d7d97 15 |
+------
| Property | Value |
+------
| Property 'vmware_
| Property 'vmware_disktype' | streamOptimized |
| checksum | 5afedb26f84bf37
| container_format | ova |
| created_at | 2014-09-23T05:08:56 |
| deleted | False |
| disk_format | vmdk |
| id | a3190c34-
| is_public | True |
| min_disk | 0 |
| min_ram | 0 |
| name | dsl |
| owner | 49a3a5eb4c854a0
| protected | False |
| size | 60579328 |
| status | active |
| updated_at | 2014-09-23T05:08:58 |
Expected : while creating volume we either we should throw error saying vmdk not found or equivalent valid exception by cinder driver. Else find out vmdk ...