-
-
Notifications
You must be signed in to change notification settings - Fork 360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Timeout when 'Starting remaining machines' #1580
Comments
I lost time with step "Get-LabVM Entering... (IncludeLinux=True)"
Here a Verbose Log:
Here a Debug Log: My first idea, there is a mistake, to take the non-Roles-VMs to get "Online" and set setting on them. That can do in parallel and the script do it sequential... Start Repair-LWHypervNetworkConfig for ONE VM Is THAT the problem: That there is a System.Object[] returned?
|
There is a Bug in SourceCode: function Start-LWHypervVM if ($PreDelay) { $PreDelay & $PostDelay should $PreDelaySeconds & $PostDelaySeconds I started a PullRequest... Sorry, that is my first try in github |
Is it possible I have this problem: |
Make "Start-LabVM -Wait -All -Verbose" 5 times faster for me: AutomatedLabRemoting.psm1 add -T 1 into ssh-keyscan -T 1 $machine.XY function Install-LabSshKnownHost EDIT: Is it possible to reduce the Timeout under 1 seconds?!? 17:45:28|00:54:50|00:00:00.000| Starting remaining machines |
Changes okay, not guood, but okay. With these changes, they take ~15 Minutes. 12:23:54|00:53:22|00:00:00.000| Starting remaining machines |
Description
I get into Timeout (I think), when InstallLab working:
16:13:13|00:57:47|00:00:00.000| - Starting remaining machines
16:13:13|00:57:47|00:00:00.006| - Waiting for machines to start up....................
16:58:26|01:43:00|00:45:12.664| - Done
I have try to reduce the timeout settings, but nothing helps:
Set-PSFConfig -Module 'AutomatedLab' -Name 'Timeout_ConfigurationManagerInstallation' -Value 30 #Default 60
Set-PSFConfig -Module 'AutomatedLab' -Name 'Timeout_DcPromotionRestartAfterDcpromo' -Value 30 #Default 60
Set-PSFConfig -Module 'AutomatedLab' -Name 'Timeout_InstallLabCAInstallation' -Value 10 #Default 40
Set-PSFConfig -Module 'AutomatedLab' -Name 'Timeout_RestartLabMachine_Shutdown' -Value 5 #Default 60
Set-PSFConfig -Module 'AutomatedLab' -Name 'Timeout_StartLabMachine_Online' -Value 5 #Default 60
Set-PSFConfig -Module 'AutomatedLab' -Name 'Timeout_StopLabMachine_Shutdown' -Value 5 #Default 60
Set-PSFConfig -Module 'AutomatedLab' -Name 'Timeout_WaitLabMachine_Online' -Value 5 #Default 60
Test with this working fast, only seconds.
After few Minutes, after 16:13:13|00:57:47|00:00:00.006| - Waiting for machines to start up
ForEach ( $VM in (Get-LabVM).Name) {
$VM
Enter-LabPSSession -ComputerName $VM
Test-WSMan -ComputerName $VM
ping $VM -n 1
}
Exit
Steps to reproduce the issue
on every try
PowerShell Version
AutomatedLab Version
The text was updated successfully, but these errors were encountered: