apigw.log
log events are being sent to the syslog server continuously. var/log/vmware/vsphere-ui/logs/apigw.log
file, similar log entries are available.[YYYY-MM-DDTHH:MM:SS.258-04:00] [WARN ] data-service-pool-784 70028635 101174 200061 ApiGwServicePrincipal [] The token with id '_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' for domain vsphere.local(yyyyyyyy_yyyy_yyyy_yyyy_yyyyyyyyyyyy) is unusable (EXPIRED). Will acquire a fresh one.
[YYYY-MM-DDTHH:MM:SS.505-04:00] [WARN ] data-service-pool-784 70028635 101174 200061 ApiGwServicePrincipal [] The token with id '_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' for domain vsphere.local(yyyyyyyy_yyyy_yyyy_yyyy_yyyyyyyyyyyy) is unusable (EXPIRED). Will acquire a fresh one.
[YYYY-MM-DDTHH:MM:SS.505-04:00] [WARN ] data-service-pool-784 70028635 101174 200061 ApiGwServicePrincipal [] The token with id '_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' for domain vsphere.local(yyyyyyyy_yyyy_yyyy_yyyy_yyyyyyyyyyyy) is unusable (EXPIRED). Will acquire a fresh one.
[YYYY-MM-DDTHH:MM:SS.506-04:00] [WARN ] data-service-pool-784 70028635 101174 200061 ApiGwServicePrincipal [] The token with id '_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' for domain vsphere.local(yyyyyyyy_yyyy_yyyy_yyyy_yyyyyyyyyyyy) is unusable (EXPIRED). Will acquire a fresh one.
[YYYY-MM-DDTHH:MM:SS.506-04:00] [WARN ] data-service-pool-784 70028635 101174 200061 ApiGwServicePrincipal [] The token with id '_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' for domain vsphere.local(yyyyyyyy_yyyy_yyyy_yyyy_yyyyyyyyyyyy) is unusable (EXPIRED). Will acquire a fresh one.
[YYYY-MM-DDTHH:MM:SS.506-04:00] [WARN ] data-service-pool-784 70028635 101174 200061 ApiGwServicePrincipal [] The token with id '_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' for domain vsphere.local(yyyyyyyy_yyyy_yyyy_yyyy_yyyyyyyyyyyy) is unusable (EXPIRED). Will acquire a fresh one.
[YYYY-MM-DDTHH:MM:SS.506-04:00] [WARN ] data-service-pool-784 70028635 101174 200061 ApiGwServicePrincipal [] The token with id '_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' for domain vsphere.local(yyyyyyyy_yyyy_yyyy_yyyy_yyyyyyyyyyyy) is unusable (EXPIRED). Will acquire a fresh one.
[YYYY-MM-DDTHH:MM:SS.506-04:00] [WARN ] data-service-pool-784 70028635 101174 200061 ApiGwServicePrincipal [] The token with id '_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' for domain vsphere.local(yyyyyyyy_yyyy_yyyy_yyyy_yyyyyyyyyyyy) is unusable (EXPIRED). Will acquire a fresh one.
[YYYY-MM-DDTHH:MM:SS.506-04:00] [WARN ] data-service-pool-784 70028635 101174 200061 ApiGwServicePrincipal [] The token with id '_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' for domain vsphere.local(yyyyyyyy_yyyy_yyyy_yyyy_yyyyyyyyyyyy) is unusable (EXPIRED). Will acquire a fresh one.
[YYYY-MM-DDTHH:MM:SS.506-04:00] [WARN ] data-service-pool-784 70028635 101174 200061 ApiGwServicePrincipal [] The token with id '_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' for domain vsphere.local(yyyyyyyy_yyyy_yyyy_yyyy_yyyyyyyyyyyy) is unusable (EXPIRED). Will acquire a fresh one.
VMware vCenter Server 8.0.x
Possible issue with STS causing an endless loop in vsphere-ui
service, which is causing the apigw.log
filled up with expired token events.
VMware is aware of this issue and working to fix it in a future release.
Workaround:
cp vmware-services-vsphere-ui.conf
vmware-services-vsphere-ui.conf.backup
vmware-services-vsphere-ui.conf
file using below command.vi /etc/vmware-syslog/vmware-services-vsphere-ui.conf
i
for insert."info"
to "Error"
Esc :wq!
service-control --restart vsphere-ui
service-control --restart vmware-stsd