Error: "Licensing data is not available. Only clusters with enabled Virtual SAN require licensing." when trying to apply license on vSAN enabled cluster
book
Article ID: 326998
calendar_today
Updated On:
Products
VMware vCenter ServerVMware vSAN
Issue/Introduction
Symptoms:
You see error message: Error: "Licensing data is not available. Only clusters with enabled Virtual SAN require licensing." while you navigate in Web Client to vSAN Cluster > Configure > Licensing
vSAN is enabled on the cluster
esxcli vsan cluster get returns correct number of vSAN nodes
In /var/log/vmware/vsphere-client/logs/vsphere_client_virgo.log you see errors similar to:
[2018-12-06T12:54:49.921Z] [ERROR] data-service-pool-773 70107304 107257 206074 c.vmware.license.client.cis.adapter.BaseDataProviderAdapterImpl Unable to retrieve licensing data: com.vmware.license.client.cis.management.ManagementException: (cis.license.fault.NotFoundFault) { faultCause = null, faultMessage = (vmodl.LocalizableMessage) [ com.vmware.vim.binding.impl.vmodl.LocalizableMessageImpl@4f734420 ], ids = (STRING) [ domain-c94998-a668da8c-c732-11e8-97e7-000c298af0eb ] } at com.vmware.license.client.cis.management.impl.ManagementEditorImpl.searchAssets(ManagementEditorImpl.java:735) at com.vmware.license.client.cis.management.impl.VpxManagementEditorImpl.getAssetsByMoRefs(VpxManagementEditorImpl.java:206) at com.vmware.license.client.cis.management.impl.FormattingVpxManagementEditorWrapperImpl.getAssetsByMoRefs(FormattingVpxManagementEditorWrapperImpl.java:124) at com.vmware.license.client.cis.management.adapter.AssetDataProviderAdapterImpl.getAssetsByMoRefs(AssetDataProviderAdapterImpl.java:156) at com.vmware.license.client.cis.management.adapter.AssetDataProviderAdapterImpl.getRelatedObjects(AssetDataProviderAdapterImpl.java:127) at com.vmware.license.client.cis.management.adapter.AssetDataProviderAdapterImpl.getRelatedObjects(AssetDataProviderAdapterImpl.java:40) at com.vmware.license.client.cis.adapter.BaseLicensingObjectsDataProviderAdapterImpl.getObjectsByRelationalConstraint(BaseLicensingObjectsDataProviderAdapterImpl.java:157) at com.vmware.license.client.cis.adapter.BaseLicensingObjectsDataProviderAdapterImpl.getObjectsByQuerySpec(BaseLicensingObjectsDataProviderAdapterImpl.java:208) at com.vmware.license.client.cis.adapter.BaseLicensingObjectsDataProviderAdapterImpl.getResultSet(BaseLicensingObjectsDataProviderAdapterImpl.java:42) at com.vmware.license.client.cis.adapter.BaseDataProviderAdapterImpl.processQuery(BaseDataProviderAdapterImpl.java:66) at com.vmware.license.client.cis.adapter.BaseDataProviderAdapterImpl.getData(BaseDataProviderAdapterImpl.java:39) at com.vmware.vise.data.query.impl.DataAdapterUtil.getDataFromAdapter(DataAdapterUtil.java:218) at com.vmware.vise.data.query.impl.DataAdapterUtil.getResultFromAdapter(DataAdapterUtil.java:175) at com.vmware.vise.data.query.impl.DataAdapterUtil.access$000(DataAdapterUtil.java:42) at com.vmware.vise.data.query.impl.DataAdapterUtil$1.call(DataAdapterUtil.java:81) at com.vmware.vise.data.query.impl.DataAdapterUtil$1.call(DataAdapterUtil.java:78) at com.vmware.vise.util.concurrent.ExecutorUtil$2.call(ExecutorUtil.java:760) at com.vmware.vise.util.concurrent.ExecutorUtil$ThreadContextPropagatingTask.call(ExecutorUtil.java:1158) at com.vmware.vise.data.query.impl.DataServiceThreadPoolDecorator$1.call(DataServiceThreadPoolDecorator.java:167) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: com.vmware.vim.binding.cis.license.fault.NotFoundFault: Assets not found: [domain-c94998-a668da8c-c732-11e8-97e7-000c298af0eb] at sun.reflect.GeneratedConstructorAccessor4172.newInstance(Unknown Source)
You see similarAssets not found: [domain-uuid]errors in below files:
/var/log/vmware/cis-license/license.log on Platform Services Controller node /var/log/vmware/vsan-health/vmware-vsan-health-service.log on vCenter Server node