MHC Azure Stack Hub:Test-AzureStack -Group UpdateReadiness fails:字符串未被识别为有效的 DateTime
Summary: MHC Azure Stack Hub:Test-AzureStack -Group UpdateReadiness fails:字符串未被识别为有效的 DateTime。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
在 AzureStack_Validation_Summary 中,可以看到 Azure Stack 基础结构时钟的错误和异常。
从以下位置获取时间信息时出错
从以下位置获取时间信息时出错
****.LOCAL : Exception calling "Parse" with "1" argument(s): "String was not recognized as a valid DateTime."
Cause
当前 PEP 会话是在没有“-SessionOption”的情况下启动的。
Resolution
要解决此问题,请执行以下操作:
- 关闭当前 PEP 会话。
- 使用 -SessionOption 打开新的 PEP 会话。
$cred = Get-Credential$pep = New-PSSession -ComputerName <IP_address_of_ERCS> -ConfigurationName PrivilegedEndpoint -Credential $cred -SessionOption (New-PSSessionOption -Culture en-US -UICulture en-US)
Enter-PSSession $pep
Enter-PSSession $pep
- 再次在新的 PEP 会话上运行 test-azurestack 。
- 如果相同的错误仍然存在,请联系 Microsoft 支持。
Affected Products
Integrated System for Microsoft Azure Stack Hub, Integrated System for Microsoft Azure Stack Hub 13G, Integrated System for Microsoft Azure Stack Hub 14GArticle Properties
Article Number: 000189236
Article Type: Solution
Last Modified: 11 مايو 2022
Version: 2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.