On further debugging, checking the ESXi hostd logs, contains this error
2015-04-17T06:28:49.081Z [FFD60920 verbose 'Vmsvc.vm:/vmfs/volumes/535f3d61-7c0442d6-56c9-62552a500042/OSTACK_SNAP_3dce2adb-fbe0-49ff-a606-aed25f69c875/OSTACK_SNAP_3dce2adb-fbe0-49ff-a606-aed25f69c875.vmx' opID=2a248111-4f-bb user=vpxuser] Is disk present message: Expected device (ide0:1) does not exist.
OSTACK_SNAP_3dce2adb-fbe0-49ff-a606-aed25f69c875 is the name of the OVF template which is being created as part of CreateSnapshot_Task
The OVF template does not get created and hence snapshot operation fails
Changed the adapter type to "lsiLogic" in glance image, still the same error
2015-04-17T07:02:25.686Z [2A440B70 verbose 'Vmsvc.vm:/vmfs/volumes/535f3d61-7c0442d6-56c9-62552a500042/OSTACK_SNAP_ce9e74ed-c847-4bc6-8d47-10b8e924d3a1/OSTACK_SNAP_ce9e74ed-c847-4bc6-8d47-10b8e924d3a1.vmx' opID=74009579-27-56 user=vpxuser] Is disk present message: Expected device (scsi0:0) does not exist.
The issue is occurring on devstack - nova master branch
On further debugging, checking the ESXi hostd logs, contains this error
2015-04- 17T06:28: 49.081Z [FFD60920 verbose 'Vmsvc. vm:/vmfs/ volumes/ 535f3d61- 7c0442d6- 56c9-62552a5000 42/OSTACK_ SNAP_3dce2adb- fbe0-49ff- a606-aed25f69c8 75/OSTACK_ SNAP_3dce2adb- fbe0-49ff- a606-aed25f69c8 75.vmx' opID=2a248111-4f-bb user=vpxuser] Is disk present message: Expected device (ide0:1) does not exist.
OSTACK_ SNAP_3dce2adb- fbe0-49ff- a606-aed25f69c8 75 is the name of the OVF template which is being created as part of CreateSnapshot_Task
The OVF template does not get created and hence snapshot operation fails
Changed the adapter type to "lsiLogic" in glance image, still the same error
2015-04- 17T07:02: 25.686Z [2A440B70 verbose 'Vmsvc. vm:/vmfs/ volumes/ 535f3d61- 7c0442d6- 56c9-62552a5000 42/OSTACK_ SNAP_ce9e74ed- c847-4bc6- 8d47-10b8e924d3 a1/OSTACK_ SNAP_ce9e74ed- c847-4bc6- 8d47-10b8e924d3 a1.vmx' opID=74009579-27-56 user=vpxuser] Is disk present message: Expected device (scsi0:0) does not exist.
The issue is occurring on devstack - nova master branch
Glance image property ChinmayDevstack :~/devstack$ glance image-show 9e4f5f08- 364c-4f9e- ac4c-67642e2286 65 ------- ------- ------- ----+-- ------- ------- ------- ------- ------- -+ ------- ------- ------- ----+-- ------- ------- ------- ------- ------- -+ adaptertype' | lsiLogic | b4926b610769e5b a4 | 15T11:19: 00.000000 | 364c-4f9e- ac4c-67642e2286 65 | 0.3.2-i386- disk | fbfe1ad11fb24e3 c2 | 17T07:01: 58.000000 | ------- ------- ------- ----+-- ------- ------- ------- ------- ------- -+
chinmay@
+------
| Property | Value |
+------
| Property 'hw_vif_model' | e1000 |
| Property 'vmware_
| Property 'vmware_disktype' | sparse |
| checksum | 3fd19141ff969dc
| container_format | bare |
| created_at | 2015-04-
| deleted | False |
| disk_format | vmdk |
| id | 9e4f5f08-
| is_public | True |
| min_disk | 0 |
| min_ram | 0 |
| name | cirros-
| owner | e4cad1de0bb44f5
| protected | False |
| size | 17104896 |
| status | active |
| updated_at | 2015-04-
+------