Azure / WindowsVMAgent

MIT License
17 stars 15 forks source link

Server 2008R2/2008 Agent crashes on service startup #8

Closed russu1993 closed 3 years ago

russu1993 commented 3 years ago

Version 1010 works fine but 1018 crashes right after the start.

2 Events on a startup of the service: .NET Runtime - 1026 Application: WaAppAgent.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: Microsoft.WindowsAzure.GuestAgent.Core.ServiceInstallFailedException Stack: at Microsoft.WindowsAzure.GuestAgent.TransparentInstaller.GuestAgentInstallerThread.b__46_0() at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) at System.Threading.ThreadHelper.ThreadStart()

Application Error - 1000 Name der fehlerhaften Anwendung: WaAppAgent.exe, Version: 2.7.41491.1018, Zeitstempel: 0x60f1fdae Name des fehlerhaften Moduls: KERNELBASE.dll, Version: 6.1.7601.24499, Zeitstempel: 0x5d0115f1 Ausnahmecode: 0xe0434352 Fehleroffset: 0x000000000000b87d ID des fehlerhaften Prozesses: 0x26e0 Startzeit der fehlerhaften Anwendung: 0x01d78a01d2076560 Pfad der fehlerhaften Anwendung: C:\WindowsAzure\Packages_202185_155650\WaAppAgent.exe Pfad des fehlerhaften Moduls: C:\Windows\system32\KERNELBASE.dll Berichtskennung: 1ad4792e-f5f5-11eb-9e13-000d3aaf3be2

Aymendje commented 3 years ago

Thank you for the report. We will investigate this issue. Is it always crashing for you, or only on the first start ? Are you using a Custom image, or marketplace ?

russu1993 commented 3 years ago

Is it always crashing for you, or only on the first start ? - Crashes every time on start of the guest agent service Are you using a Custom image, or marketplace ? - VM was migrated via ASR from on-prem Hyper-V infrastructure, so i would say custom.

Aymendje commented 3 years ago

Can you email me at aydjella@microsoft.com with your VM details ? (Name, Resource group, subscription, etc.) I will raise an internal case and we will follow up on this Thank you !

enindee commented 3 years ago

Same happened to me. Latest VM agent that works is 2.7.41491.1010. With any newer VM agent service won't start.

roviracarlos commented 3 years ago

The same happened to me with Marketplace VMs with Windows 2008 R2 SP1 deployed with ARMTemplates. I have a template that does join domain after the deployment and always fails to contact the agent, only on this OS, for others works well.

Aymendje commented 3 years ago

Thank you for the reports. This is now a known issue and we already are working on a fix. Hotfix deployment will start this week. The issue seems to be happening only in older windows version, due to some command line parsing.

Aymendje commented 3 years ago

Hotfix deployment started : https://github.com/Azure/WindowsVMAgent/releases/tag/2.7.41491.1028