Skip to content

VM operation fail after storage drs in VMware datastore cluster #5091

Description

@mib1185
ISSUE TYPE
  • Bug Report
COMPONENT NAME
VMware
CLOUDSTACK VERSION
4.15.1.0-rc
CONFIGURATION
  • Hypervisor: VMware, 2x VMware 6.7.0 ESXi hosts
  • datastore cluster:
idnameuuidpool_typeportdata_center_idpod_idcluster_idused_bytescapacity_byteshost_addressuser_infopathcreatedremovedupdate_timestatusstorage_provider_namescopehypervisormanagedcapacity_iopsparent
59iosctx01_1504_fp01_ns_039339c0a3b5-203c-3ee3-8703-4af20d640eacPreSetup011346955233281099243192320iosvvct1.esx-tst.os.itelligence.deNULL/DC_Salzenforst/iosctx01_1504_fp01_ns_0393"2021-05-27 14:07:57"NULL"2021-06-09 07:10:18"UpDefaultPrimaryCLUSTERNULL0NULL63
63DatastoreCluster_CS9cd3cb24-a43a-338d-a61b-d7fb0abf3556DatastoreCluster01136260648837122198486384640iosvvct1.esx-tst.os.itelligence.deNULL/DC_Salzenforst/DatastoreCluster_CS"2021-06-08 15:51:05"NULL"2021-06-09 07:10:18"UpDefaultPrimaryCLUSTERNULL0NULL0
64iosctx01_1504_fp01_ns_0394b4f65ef4-8ee3-3776-a14a-d209c498204bPreSetup01136213693603841099243192320iosvvct1.esx-tst.os.itelligence.deNULL/DC_Salzenforst/iosctx01_1504_fp01_ns_0394"2021-06-08 15:51:05"NULL"2021-06-09 07:10:18"UpDefaultPrimaryCLUSTERNULL0NULL63
OS / ENVIRONMENT
SUMMARY

After storage DRS (volumes were migrated to different datastore in same datastore cluster) volume swere not found during next stop/start of vm (maybe related to #4674).

STEPS TO REPRODUCE
  1. ingest VM online with only root volume and afterwards create new volume via CloudStack and attach to ingested vm
  2. simulate storage DRS recommendation run (migrate volumes to other datastore in same datastore-cluster on vCenter)
  3. stop instance
  4. start instance

volumes on DB after each step

idaccount_iddomain_idpool_idlast_pool_idinstance_iddevice_idnameuuidsizefolderpathpod_iddata_center_idiscsi_namehost_ipvolume_typepool_typedisk_offering_idtemplate_idfirst_snapshot_backup_uuidrecreatablecreatedattachedupdatedremovedstatechain_infoupdate_countdisk_typevm_snapshot_chain_sizeiso_iddisplay_volumeformatmin_iopsmax_iopshv_ss_reserveprovisioning_type
532910264NULL17270drs-test-02_242734603-a177-409b-92ac-ae15ca38d92a10737418240NULLdrs-test-02_2NULL1NULLNULLROOTNULL182214NULL0"2021-06-09 07:29:10"NULLNULLNULLReady"{"diskDeviceBusName":"scsi0:0","diskChain":["[iosctx01_1504_fp01_ns_0394] drs-test-02/drs-test-02_2.vmdk"]}"0NULLNULL2141OVANULLNULLNULLfat
5330102645517271drs-test-02-data-01265333cd-3676-4e2e-bf70-b42b5f8e1ee55368709120/DC_Salzenforst/iosctx01_1504_fp01_ns_0394drs-test-0211NULLNULLDATADISKNULL54NULLNULL0"2021-06-09 07:42:01""2021-06-09 07:42:15""2021-06-09 07:44:10"NULLReady6NULLNULLNULL1OVANULLNULL0fat
idaccount_iddomain_idpool_idlast_pool_idinstance_iddevice_idnameuuidsizefolderpathpod_iddata_center_idiscsi_namehost_ipvolume_typepool_typedisk_offering_idtemplate_idfirst_snapshot_backup_uuidrecreatablecreatedattachedupdatedremovedstatechain_infoupdate_countdisk_typevm_snapshot_chain_sizeiso_iddisplay_volumeformatmin_iopsmax_iopshv_ss_reserveprovisioning_type
532910264NULL17270drs-test-02_242734603-a177-409b-92ac-ae15ca38d92a10737418240NULLdrs-test-02_2NULL1NULLNULLROOTNULL182214NULL0"2021-06-09 07:29:10"NULLNULLNULLReady"{"diskDeviceBusName":"scsi0:0","diskChain":["[iosctx01_1504_fp01_ns_0394] drs-test-02/drs-test-02_2.vmdk"]}"0NULLNULL2141OVANULLNULLNULLfat
5330102645517271drs-test-02-data-01265333cd-3676-4e2e-bf70-b42b5f8e1ee55368709120/DC_Salzenforst/iosctx01_1504_fp01_ns_0394drs-test-0211NULLNULLDATADISKNULL54NULLNULL0"2021-06-09 07:42:01""2021-06-09 07:42:15""2021-06-09 07:44:10"NULLReady6NULLNULLNULL1OVANULLNULL0fat
idaccount_iddomain_idpool_idlast_pool_idinstance_iddevice_idnameuuidsizefolderpathpod_iddata_center_idiscsi_namehost_ipvolume_typepool_typedisk_offering_idtemplate_idfirst_snapshot_backup_uuidrecreatablecreatedattachedupdatedremovedstatechain_infoupdate_countdisk_typevm_snapshot_chain_sizeiso_iddisplay_volumeformatmin_iopsmax_iopshv_ss_reserveprovisioning_type
532910264NULL17270drs-test-02_242734603-a177-409b-92ac-ae15ca38d92a10737418240NULLdrs-test-02_2NULL1NULLNULLROOTNULL182214NULL0"2021-06-09 07:29:10"NULLNULLNULLReady"{"diskDeviceBusName":"scsi0:0","diskChain":["[iosctx01_1504_fp01_ns_0394] drs-test-02/drs-test-02_2.vmdk"]}"0NULLNULL2141OVANULLNULLNULLfat
5330102645517271drs-test-02-data-01265333cd-3676-4e2e-bf70-b42b5f8e1ee55368709120/DC_Salzenforst/iosctx01_1504_fp01_ns_0394drs-test-0211NULLNULLDATADISKNULL54NULLNULL0"2021-06-09 07:42:01""2021-06-09 07:42:15""2021-06-09 07:44:10"NULLReady6NULLNULLNULL1OVANULLNULL0fat
idaccount_iddomain_idpool_idlast_pool_idinstance_iddevice_idnameuuidsizefolderpathpod_iddata_center_idiscsi_namehost_ipvolume_typepool_typedisk_offering_idtemplate_idfirst_snapshot_backup_uuidrecreatablecreatedattachedupdatedremovedstatechain_infoupdate_countdisk_typevm_snapshot_chain_sizeiso_iddisplay_volumeformatmin_iopsmax_iopshv_ss_reserveprovisioning_type
532910264NULL17270drs-test-02_242734603-a177-409b-92ac-ae15ca38d92a10737418240NULLdrs-test-02_2NULL1NULLNULLROOTNULL182214NULL0"2021-06-09 07:29:10"NULLNULLNULLReady"{"diskDeviceBusName":"scsi0:0","diskChain":["[iosctx01_1504_fp01_ns_0394] drs-test-02/drs-test-02_2.vmdk"]}"0NULLNULL2141OVANULLNULLNULLfat
5330102645517271drs-test-02-data-01265333cd-3676-4e2e-bf70-b42b5f8e1ee55368709120/DC_Salzenforst/iosctx01_1504_fp01_ns_0394drs-test-0211NULLNULLDATADISKNULL54NULLNULL0"2021-06-09 07:42:01""2021-06-09 07:42:15""2021-06-09 07:44:10"NULLReady6NULLNULLNULL1OVANULLNULL0fat
EXPECTED RESULTS
instance is booted properly without any errors
ACTUAL RESULTS
vm cannot be started, since volumes were not found anymore (_better say, were expected to be on its old location_)

image

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions