Unable to migrate Virtual Machines between clusters in a vCenter Server environment. The migration fails with the error: "Changing or applying VM Storage Policies with Data Service capabilities during migrate operations is disallowed."
"The operation is not supported on the object. Changing or applying VM Storage Policies with Data Service capabilities during migrate operations is disallowed. VM Storage Policies with Data Service capabilities can be assigned to the provisioned VM after the migrate operation has been completed and before the VM has been powered on."
error vpxd[#####] [Originator@6876 sub=vpxLro opID=...] [VpxLRO] -- ERROR task-####: vmodl.fault.NotSupported:--> key = "com.vmware.vim.vpxd.iofilter.policyChangeDisallowed"iofiltervpd) cannot validate the vCenter's certificate as it cannot find a matching trusted certificate in its store.YYYYMM-DDThh:mm:ss No(29) iofiltervpd[######]: IOFVPSSL_VerifySSLCertificate:423:Client certificate can't be verifiedYYYYMM-DDThh:mm:ss No(29) iofiltervpd[######]: IOFVPSSL_VerifySSLCertificate:423:Client certificate can't be verifiedYYYYMM-DDThh:mm:ss Wa(28) iofiltervpd[######]: run:199:SSL Connection error 30 : SSL_ERROR_SSLYYYYMM-DDThh:mm:ss Wa(28)[+] iofiltervpd[######]: error:0A000416:SSL routines::sslv3 alert certificate unknownYYYYMM-DDThh:mm:ss No(29) iofiltervpd[######]: HTTPGet:73:pathStr: /version.xmlYYYYMM-DDThh:mm:ss No(29) iofiltervpd[######]: IOFVPSSL_VerifySSLCertificate:378:Client certificate not presentedYYYYMM-DDThh:mm:ss No(29) iofiltervpd[######]: IOFVPSSL_RemoveCertFromTrustStore:630:Failed to remove client certificate: Unable to find certificate in the ssl cert store. It may be already deleted.version.xml file is unreachable.YYYY-MM-DDThh:mm:ss [pool-27-thread-5] ERROR opId=sps-Main-614169-823 com. vmware.vim. sms. provider.vasa.alarm. AlarmDispatcher - Error: org.apache. axis2.AxisFault: self-signed certificate occured as provider: <HOST FQDN>:9080, version.xml is offlineYYYY-MM-DDThh:mm:ss [pool-27-thread-4] ERROR opId=sps-Main-614169-823 com. vmware. vim. sms. provider.vasa.alarm. AlarmDispatcher - Error: org. apache.axis2.AxisFault: self-signed certificate occured as provider: <HOST FQDN>:9080 version.xml is offlineYYYY-MM-DDThh:mm:ss [pool-27-thread-2] ERROR opId=sps-Main-614169-823 com.vmware.vim.sms.provider.vasa.alarm. AlarmDispatcher - Error: org.apache.axis2.AxisFault: self-signed certificate occured as provider: <HOST FQDN>:9080 version.xml is offlineVMware vCenter Server
To resolve this issue, the SSL trust between the vCenter Storage Provider service (sps) and the ESXi hosts must be re-established.
Note: Take a snapshot of the vCenter Server in a powered-off state if the vCenter Servers are in ELM before following the steps below. Refer the kb- Snapshot Best practices for vCenter Server Virtual Machines.
/usr/lib/vmware-vmafd/bin/vecs-cli entry list --store SMS --text >> SMS_Store_Before.out
python unreg_vasa.py -s <VC_IP> -d
/usr/lib/vmware-vmafd/bin/vecs-cli entry delete --store sms --alias sms_self_signed
Expected Output:Warning: This operation will delete entry [sms_self_signed] from store [sms]
Do you wish to continue? Y/N [N]
Y
Deleted entry with alias [sms_self_signed] in store [sms] successfully
vmon-cli -r sps
Note: IOFilter provider registration starts automatically when SPS restarts. Wait for some time until SPS has finished initialization and check vCenter→ Configure → Storage Providers to verify that the IOFilters are now online.