Open EZTOM opened 4 years ago
@EZTOM is this still an issue, if yes, could you pls let me know which script you are trying to run
Hi , I am too facing the same issue when testing azurestack hub setup from: https://docs.microsoft.com/en-us/azure-stack/asdk/asdk-post-deploy?view=azs-2002
It fails when we run : 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 AzS-ERCS01 -ConfigurationName PrivilegedEndpoint Run: Test-AzureStack
Any recommendation shall greatly help.
@anandgagrani Are you hitting error with Enter-PsSession?
pls follow the instructions here https://docs.microsoft.com/en-us/azure-stack/operator/azure-stack-diagnostic-test?view=azs-2002
Thank you for your email. I tried that but still no luck. What credentials should I use to get into PEP Session?
On Tue, Jun 23, 2020 at 8:15 AM, bganapa notifications@github.com wrote:
pls follow the instructions here
https://docs.microsoft.com/en-us/azure-stack/operator/azure-stack-diagnostic-test?view=azs-2002
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Azure/AzureStack-Tools/issues/535#issuecomment-647873366, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC6ZPFIBCVDSJ3Y6YKPBCZ3RYAJOBANCNFSM4JP2A64A .
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
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