A problem was encountered while registering the provider.”/var/log/vmware/vmware-sps/sps.log Log file:virtualHostInfo = (VirtualHostInfo) {
SNI = nullmultiVcSupported = trueport = nullserviceHost = nullvcGuid = ########-####-####-####-############ <----- This entry of the vcGuid will be in uppercase
}
}
YYYY-MM-DDTHH:MM:SS [pool-38-thread-4] INFO opId=mamo8ouk-4614-auto-3ko-h5:70000458 com.vmware.vim.storage.common.security.CommonActivationValidator - [getRolesFromRoleCacheObject] Validating session for user <user-name> for method QuerySmsTaskInfo having correlator 3647
YYYY-MM-DDTHH:MM:SS [pool-29-thread-3] ERROR opId=mamo8ouk-4614-auto-3k7-h5:70000458 com.vmware.vim.sms.client.VasaClientImpl - [removeVirtualHost] Remote exception
org.apache.axis2.AxisFault: Retrieved vasa version is null. Hostname verification could not be done.
YYYY-MM-DDTHH:MM:SS [pool-3-thread-8] INFO opId=mamo8ouk-4614-auto-3k7-h5:70000458 com.vmware.cis.localkeyvalue.client.impl.KVClientImpl - KV Client login by SamlToken successful
YYYY-MM-DDTHH:MM:SS [pool-3-thread-8] INFO opId=mamo8ouk-4614-auto-3k7-h5:70000458 com.vmware.vim.storage.common.serviceclient.SamlTokenLoginHelper - Login successful for KV client.
YYYY-MM-DDTHH:MM:SS [pool-29-thread-3] ERROR opId=mamo8ouk-4614-auto-3k7-h5:70000458 com.vmware.vim.sms.kvstore.KvStorePersistenceManager - VasaProviderInfo could not be found for the provider: ########-####-####-####-############
YYYY-MM-DDTHH:MM:SS [pool-29-thread-3] ERROR opId=mamo8ouk-4614-auto-3k7-h5:70000458 com.vmware.vim.sms.provider.vasa.VasaProviderInfoPersistenceManager - Exception occured when removing the provider information in KV store:########-####-####-####-############
com.vmware.vim.sms.fault.KvNotFoundException: VasaProviderInfo could not be found for the provider: ########-####-####-####-############
YYYY-MM-DDTHH:MM:SS [pool-29-thread-3] WARN opId=mamo8ouk-4614-auto-3k7-h5:70000458 com.vmware.vim.sms.provider.vasa.VasaProviderInfoPersistenceManager - [cleanProvider] Failed to remove provider from KV store!
com.vmware.vim.sms.fault.DBPersistenceException: Exception occured when removing the provider information in KV store########-####-####-####-############
YYYY-MM-DDTHH:MM:SS [pool-29-thread-3] ERROR opId=mamo8ouk-4614-auto-3k7-h5:70000458 com.vmware.vim.storage.common.VmodlErrorStrings - [init] Provider creation failed
java.lang.NullPointerException: null
YYYY-MM-DDTHH:MM:SS [pool-29-thread-3] INFO opId=mamo8ouk-4614-auto-3k7-h5:70000458 com.vmware.vim.sms.provider.ProviderCache - [removeSNIEntry] Removing SNI entry for URL https://<VASA_provider_URL>:<port>/version.xml
wget <URL>.xml --no-check-certificate<?xml version="1.0" encoding="UTF-8" standalone="yes"?><vasa-provider><supported-versions><version id="4" serviceLocation="/vasa"/><version id="5" serviceLocation="/vasa"/><version id="6" serviceLocation="/vasa"/><version id="7" serviceLocation="/vasa"/></supported-versions><serviceVirtualHost><virtualHost vcguid="########-####-####-####-############" virtualHostName="vasa-vhost-########-####-####-####-############" serviceHost="##.##.##.###"/><virtualHost vcguid="########-####-####-####-############" virtualHostName="vasa-vhost-########-####-####-####-############.########.com" serviceHost="##.##.##.###"/></serviceVirtualHost></vasa-provider>This behavior is typically observed in vCenter Server instances that have been upgraded from version 5.x.
During such upgrades, the files /etc/vmware-vpx/instance.cfg and /etc/vmware-vpx/firstboot/vpxd-service-spec.prop retained vcGuid in uppercase, as seen in the /var/log/vmware/vmware-sps/sps.log.
However, the version.xml file contains the vcGuid in lowercase. This case-sensitivity discrepancy is the root cause of the registration failure.
instance.cfg" and "vpxd-service-spec.prop" to use lowercase letters for the vCenter GUID. /etc/vmware-vpx/instance.cfg" and update the instanceUuid value from uppercase letters to lowercase letters.
# vi /etc/vmware-vpx/instance.cfg Change line "instanceUuid=########-####-####-####-############" to use lowercase letters/etc/vmware-vpx/firstboot/vpxd-service-spec.prop", and update the cmreg.serviceid value from uppercase letters to lowercase letters. # vi /etc/vmware-vpx/firstboot/vpxd-service-spec.prop Change line "cmreg.serviceid=########-####-####-####-############" to lowercase letterslsdoctor tool from KB320837 and upload it into vCenterpython lsdoctor.py -r"service-control --stop --all && service-control --start --allservice-control --status --all
# /usr/lib/vmware-vmafd/bin/vmafd-cli get-ldu --server-name localhost
Output: ########-####-####-####-############
# /opt/likewise/bin/ldapdelete -r "cn=AssetEntity_<instanceUuid>-<LDU ID>,cn=LicenseService,cn=Services,dc=vsphere,dc=local" -D "cn=Administrator,cn=Users,dc=vsphere,dc=local" -W
########-####-####-####-############-########-####-####-####-############Notes:
dc=vsphere,dc=local to reflect the environment's SSO domaind. If the above step (c) fails to remove the license with an error similar to:
ldap_delete: No such object (32) additional info: (9703)((MDB_NOTFOUND: No matching key/data pair found
Remove the vCenter license using Jxplorer KB - How to remove a License Manually from VCenter using JXplorer
e. The "AssetEntity", can be retrieve using Jxplorer.
f. Restart the vCenter services and re-assign the license.
If SRM is used in the environment, please export the configuration data. When the vCenter GUID changes, SRM will break so we will need to unregister both of them then re-register and import the xml.
After implementing KB, if you receive the error: "Provider method implementation threw unexpected exception: vc server [VC UUID] is not available on the server." When trying to make changes to the content library, please open a ticket with support.