License inventory not populated on vSphere UI
search cancel

License inventory not populated on vSphere UI

book

Article ID: 392312

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

When adding a license to the vCenter  Under Administration --> License the page is empty.

Checking vSphere-ui logs.

[2025-03-10T14:31:47.444Z] [ERROR] -nio-127.0.0.1-5090-exec-935 70532535 104924 200501 com.vmware.vise.mvc.exception.GlobalExceptionHandler Exception handled while processing request for /ui/data/propertiesByFilter?properties=license&resourceModels=License: java.lang.RuntimeException: com.vmware.license.client.cis.util.LicensingMethodFault: Authentication result: Missing session auth data
        at com.vmware.vise.data.adapters.risetovise.RiseToViseResult.toRuntimeException(RiseToViseResult.java:177)

025-03-10T14:35:48.302Z vmomi-executor-1 WARN common.vmomi.authn.impl.SsoAuthenticatorImpl authenticate: Session auth data not set in request: sessionNonce: '6a803d6f-2730-46a8-9a1f-d021dc80ab36' sessionUser: '' requestUri: '/ls/sdk' requestContext: '{operationID=LicenseClientInit-e5fbef3}'
2025-03-10T14:35:48.303Z vmomi-executor-1 INFO vim.vmomi.server.impl.ValidatorFutureImpl Validation failed for 1: Authentication result: Missing session auth data (com.vmware.vim.binding.cis.license.fault.NotAuthenticatedFault)
2025-03-10T14:35:48.350Z vmomi-executor-1 WARN common.vmomi.authn.impl.SsoAuthenticatorImpl authenticate: Session auth data not set in request: sessionNonce: '6a803d6f-2730-46a8-9a1f-d021dc80ab36' sessionUser: '' requestUri: '/ls/sdk' requestContext: '{operationID=LicenseClientInit-e5fbef3}'
2025-03-10T14:35:48.350Z vmomi-executor-1 INFO vim.vmomi.server.impl.ValidatorFutureImpl Validation failed for 2: Authentication result: Missing session auth data (com.vmware.vim.binding.cis.license.fault.NotAuthenticatedFault)
2025-03-10T14:35:48.467Z jaeger.RemoteReporter-QueueProcessor INFO io.jaegertracing.internal.reporters.RemoteReporter FlushCommand is working again!
2025-03-10T14:35:48.520Z invocation-vmomi-executor-1 operationID=LicenseClientInit-e5fbef3 INFO server.core.oldmanagement.vmomi.LicenseManagerMoImpl getEvaluation
2025-03-10T14:35:48.521Z invocation-vmomi-executor-1 operationID=LicenseClientInit-e5fbef3 INFO server.common.provider.impl.EnvoyEndpointsProviderImpl Retrieved endpoint: localhost:1080/sso-adminserver/system-sdk

 

vpxd

2025-03-10T14:28:25.972Z info vpxd[2716973] [Originator@6876 sub=vmomi.soapStub[251178]] SOAP request returned HTTP failure; <<cs p:00007fac300021d0, TCP:localhost:1080>, /ls/sdk>, method: exportManagementData; code: 500(Internal Server Error); fault: (cis.license.fault.NotAuthenticatedFault) {
-->    faultCause = (vmodl.MethodFault) null, 
-->    faultMessage = <unset>
-->    msg = "Received SOAP response fault from [<<cs p:00007fac300021d0, TCP:localhost:1080>, /ls/sdk>]: exportManagementData
--> Authentication result: Missing session auth data"
--> }
2025-03-10T14:28:25.974Z info vpxd[2716973] [Originator@6876 sub=vmomi.soapStub[251178]] SOAP request returned HTTP failure; <<cs p:00007fac300021d0, TCP:localhost:1080>, /ls/sdk>, method: querySystemTime; code: 500(Internal Server Error); fault: (cis.license.fault.NotAuthenticatedFault) {
-->    faultCause = (vmodl.MethodFault) null, 
-->    faultMessage = <unset>
-->    msg = "Received SOAP response fault from [<<cs p:00007fac300021d0, TCP:localhost:1080>, /ls/sdk>]: querySystemTime
--> Authentication result: Missing session auth data"
--> }

 

In the license log:

2025-03-10T14:28:25.971Z vmomi-executor-1   WARN  common.vmomi.authn.impl.SsoAuthenticatorImpl authenticate: Session auth data not set in request: sessionNonce: 'fcfe22d1-5ee2-443c-af47-2e0398a97837' sessionUser: '' requestUri: '/ls/sdk' requestContext: '{operationID=915bc665-8927-44c6-9274-048e98dfe556}'
2025-03-10T14:28:25.971Z vmomi-executor-1   INFO  vim.vmomi.server.impl.ValidatorFutureImpl Validation failed for 193400: Authentication result: Missing session auth data (com.vmware.vim.binding.cis.license.fault.NotAuthenticatedFault)
2025-03-10T14:28:25.974Z vmomi-executor-1   WARN  common.vmomi.authn.impl.SsoAuthenticatorImpl authenticate: Session auth data not set in request: sessionNonce: 'fcfe22d1-5ee2-443c-af47-2e0398a97837' sessionUser: '' requestUri: '/ls/sdk' requestContext: '{operationID=b908b231-15df-412a-b99c-2a466608e35c}'
2025-03-10T14:28:25.974Z vmomi-executor-1   INFO  vim.vmomi.server.impl.ValidatorFutureImpl Validation failed for 193401: Authentication result: Missing session auth data (com.vmware.vim.binding.cis.license.fault.NotAuthenticatedFault)
2025-03-10T14:28:26.011Z invocation-vmomi-executor-1 operationID=382a9430-7165-41fa-9cac-2fc0b59a84ac  INFO  common.vmomi.authn.impl.SsoLoginHelperImpl login: Successfully authenticated 'vpxd-<service id>@vsphere.local' on session fcfe22d1-5ee2-443c-af47-2e0398a97837

Environment

vSphere 8.0

Cause

Cause of issue is due to token expiration for license service.

2025-03-10T14:27:40.924Z invocation-vmomi-executor-2 operationID=e6381dfe-545c-47f7-aa0c-beb2ad544dbf  WARN  common.vmomi.authn.impl.SsoLoginHelperImpl authenticate: Saml token expired: Mon Mar 10 14:27:17 UTC 2025 (fe029ac5-4b8f-4895-ac7e-3196a87f1803)

When the token expires, clock tolerance is ignored during token refresh.

2025-03-10T14:36:39.873Z] [INFO ] agw-token-acq1 SsoServiceImpl [] Built an STS client for domain vsphere.local(bfa4b7d2-dc3d-4e15-9683-332fa30eb279) using STS http://localhost:1080/external-vecs/http2/<vc-fqdn>/443/sts/STSService/vsphere.local in 15022 ms. Hash=5cb90d60, cert=fff915a7b597ed6b expires on Mon Feb 04 13:24:20 UTC 2030, clockToleranceSecs=600
[2025-03-10T06:27:17.220Z] [INFO ] agw-token-acq433 SsoServiceImpl [] Acquiring a solution-user token for user 'OU=mID-2e0c220c-db0b-46b3-a30e-67d14d1e55b1,C=US,DC=local,DC=vsphere,CN=vsphere-webclient' for domain vsphere.local(bfa4b7d2-dc3d-4e15-9683-332fa30eb279) from http://localhost:1080/external-vecs/http2/<vc-fqdn>/443/sts/STSService/vsphere.local. stsClient=572bd7f7
[2025-03-10T06:27:17.265Z] [INFO ] agw-token-acq433 SsoServiceImpl [] Acquired a solution-user token. The token has ID _19e17b30-1473-45f8-9d3b-affe60db66d1 and expires on Mon Mar 10 14:27:17 UTC 2025. Subject='{Name: vsphere-webclient-<service id>, Domain: vsphere.local}', tokenCert=fff915a7b597ed6b. stsClient=572bd7f7, stsCert=fff915a7b597ed6b 

As seen above clock tolerance is 10 minutes (600 seconds).

As above token expired at 14:27 issues with the service started occurring at 14:28:13.

2025-03-10T14:28:13.610Z invocation-vmomi-executor-2 operationID=93fb957d-4036-4daf-ba1c-af79232bdb84  WARN  common.vmomi.authn.impl.SsoLoginHelperImpl authenticate: Saml token expired: Mon Mar 10 14:27:17 UTC 2025 (2dac821e-afee-42b6-afc9-c5cd3753e5ff)
2025-03-10T14:28:22.488Z vmomi-executor-1   WARN  common.vmomi.authn.impl.SsoAuthenticatorImpl authenticate: Session auth data not set in request: sessionNonce: '2dac821e-afee-42b6-afc9-c5cd3753e5ff' sessionUser: '' requestUri: '/ls/sdk' requestContext: '{operationID=fb98c5d2-9793-47b3-92a0-ae344beae45c}'
2025-03-10T14:28:22.488Z vmomi-executor-1   INFO  vim.vmomi.server.impl.ValidatorFutureImpl Validation failed for 193397: Authentication result: Missing session auth data (com.vmware.vim.binding.cis.license.fault.NotAuthenticatedFault)

Resolution

Fixed in next release of 8.0

Token problem should last for about 10 minutes between the token's expiration time and the 10 additional minutes of clock tolerance. To renew during this time a restart of vSphere UI can be done.

service-control --restart vsphere-ui