The specified module 'ECEClient.psm1' was not loaded
@bganapa 已经在做这个了。
开始于 2020年4月10日。
评估
这个 Issue 还没有评估数据。
描述
New deployment get's stuck in validation section:
-
Enter-PSSession -ComputerName LOCALHOST -ConfigurationName PrivilegedEndpoint
*Temporary work around is to only use Enter-PSSession -ComputerName LOCALHOST -
Test-AzureStack
*The specified module 'ECEClient.psm1' was not loaded because no valid module file was found
**Attempted to manually load Import-Module 'C:\Program Files\WindowsPowerShell\Modules\Microsoft.AzureStack.Diagnostics.DataCollection\ECEServiceClient\ECEClient.psm1' but still got same error
Validate the ASDK installation
To ensure that your ASDK deployment was successful, use the Test-AzureStack cmdlet by following these steps:
Sign in as AzureStack\AzureStackAdmin on the ASDK host computer.
Open PowerShell as an admin (not PowerShell ISE).
Run: Enter-PSSession -ComputerName LOCALHOST -ConfigurationName PrivilegedEndpoint
Run: Test-AzureStack
The tests take a few minutes to complete. If the installation was successful, the output looks something like:
PS C:\AzureStack-Tools-master> Enter-PSSession -ComputerName LOCALHOST -ConfigurationName PrivilegedEndpoint
Enter-PSSession : Connecting to remote server LOCALHOST failed with the following error message : The WS-Management service cannot process the
request. Cannot find the PrivilegedEndpoint session configuration in the WSMan: drive on the LOCALHOST computer. For more information, see the
about_Remote_Troubleshooting Help topic.
At line:1 char:1
- Enter-PSSession -ComputerName LOCALHOST -ConfigurationName Privileged ...
-
+ CategoryInfo : InvalidArgument: (LOCALHOST:String) [Enter-PSSession], PSRemotingTransportException + FullyQualifiedErrorId : CreateRemoteRunspaceFailed
PS C:> Import-Module 'C:\Program Files\WindowsPowerShell\Modules\Microsoft.AzureStack.Diagnostics.DataCollection\ECEServiceClient\ECEClient.psm1'
WARNING: The names of some imported commands from the module 'ECEClient' include unapproved verbs that might make them
less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose
parameter. For a list of approved verbs, type Get-Verb.
PS C:> Test-AzureStack
11/20/2019 20:43:56 : Unexpected exception getting Azure Stack health status. The specified module 'ECEClient.psm1' was not loaded because no valid module file was found in any module directory.
11/20/2019 20:43:56 :
Call Get-AzureStackLog for additional diagnostics
Import-Module : The specified module 'ECEClient.psm1' was not loaded because no valid module file was found in any
module directory.
At C:\Program Files\WindowsPowerShell\Modules\Microsoft.AzureStack.Diagnostics.Validator\Microsoft.AzureStack.Diagnosti
cs.Validator.psm1:112 char:9
-
Import-Module -Name ECEClient.psm1 -Verbose:$false -DisableNa ... -
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~- CategoryInfo : ResourceUnavailable: (ECEClient.psm1:String) [Import-Module], FileNotFoundException
- FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
- 主要语言
- PowerShell
- 星标
- 260
- 派生
- 283
- 平均合并
- 2 小时 11 分钟
- 30 天内合并 PR
- 1
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Azure/AzureStack-Tools 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 58/100
Azure/AzureStack-Tools#710 ·
-
难度 1/5 1 小时以内 新手友好度 45/100
Azure/AzureStack-Tools#707 ·
-
难度 2/5 1-3 小时 新手友好度 50/100
Azure/AzureStack-Tools#705 ·
-
难度 2/5 1-3 小时 新手友好度 45/100
Azure/AzureStack-Tools#680 ·
-
难度 5/5 一周以上 新手友好度 15/100
Azure/AzureStack-Tools#648 · 1 条评论 ·