I'm running the following PowerCLI command against my vCenter 7.0 U2 server. However, it appears to hit a 30 second timeout and fails. The task completes in the vCenter task pane in about 60 seconds.
Get-TrustAuthorityKeyProviderServerCertificate -KeyProviderServer $kp.KeyProviderServers
error:
Get-TrustAuthorityKeyProviderServerCertificate : 3/14/2021 9:03:03 PM Get-TrustAuthorityKeyProviderServerCertificate The task
'task-647:88d1695a-a667-4cae-8a15-53a1fa5b0cb7' is not able to finish within 30 seconds, it is still in status: 'RUNNING'.
At line:1 char:1
+ Get-TrustAuthorityKeyProviderServerCertificate -KeyProviderServer $kp ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceBusy: (:) [Get-TrustAuthor...rverCertificate], VimException
+ FullyQualifiedErrorId : Security_Impl_TaskUtils_VAPITaskNotFinished,VMware.VimAutomation.Security.Commands.Cmdlets.TrustedInfras
tructure.GetTrustAuthorityKeyProviderServerCertificate
Get-TrustAuthorityKeyProviderServerCertificate : 3/14/2021 9:03:06 PM Get-TrustAuthorityKeyProviderServerCertificate
TrustAuthorityKeyProviderServerCertificate with keyproviderserverid 'domain-c20-clkp:172.26.13.20' was not found using the specified
filter(s).
At line:1 char:1
+ Get-TrustAuthorityKeyProviderServerCertificate -KeyProviderServer $kp ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (:) [Get-TrustAuthor...rverCertificate], VimException
+ FullyQualifiedErrorId : Core_OutputHelper_WriteNotFoundError,VMware.VimAutomation.Security.Commands.Cmdlets.TrustedInfrastructur
e.GetTrustAuthorityKeyProviderServerCertificate
-----
Any ideas on how to fix the timeout, if that is the problem?
Derek Seaman