Skip to content
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

mslab 24.04 - Importing hydrated DC VM fails to boot if the VM OS is WS 2025 #589

Closed
Karl-WE opened this issue May 4, 2024 · 9 comments
Closed

Comments

@Karl-WE
Copy link
Contributor

Karl-WE commented May 4, 2024

Scenario:
Host OS (Hyper-V): b26085 Windows Server 2022
Guest OS (DC): b26085 Windows Server 2025
mslab version: 24.04.01 - first noticed this in a 23.x release, appears to be related to WS 2025 changes.

Issue:
Using WS 2022 as host OS and WS 2025 for DC (2_CreateParentdisks.ps1). DC template can be created successfully.
When the hydrated DC is imported for a lab using 3_Deploy.ps1, the imported DC VM will fail to boot.

Repro

  • Install WS 2022 as host OS
  • enable Hyper-V
  • deploy mslab 24.04
  • Use WS 2025 ISO during 2_createparentdisks.ps1

Workaround:
Use WS 2022 as a guest OS

@Karl-WE Karl-WE changed the title mslab 24.01 - Importing hydrated DC VM fails to boot if the VM OS is WS 2025 mslab 24.04 - Importing hydrated DC VM fails to boot if the VM OS is WS 2025 May 4, 2024
@Karl-WE
Copy link
Contributor Author

Karl-WE commented May 28, 2024

This issue is under Investigation by Microsoft.

@Karl-WE
Copy link
Contributor Author

Karl-WE commented Sep 29, 2024

related #596 #588

@michbern-ms
Copy link
Collaborator

There were two OS fixes that were made to address this issue, and both are present in build 26296.

I ran the full scenario this morning with 26296, downloaded from the Preview center:
https://www.microsoft.com/en-us/software-download/windowsinsiderpreviewserver?msockid=1818fad5388d6a5b3e2ceef839376bbb

I used a Server 2022 VM as a host, brought up to current patch level.

And it worked well. I did not need to use the 'NoDehydrateDC' feature - it all just worked.

@jaromirk
Copy link
Collaborator

jaromirk commented Oct 3, 2024

26296 worked for me
image

@Karl-WE
Copy link
Contributor Author

Karl-WE commented Oct 3, 2024

Thank you for testing Jaromir

Was this the hydrated DC VM ?
What's the OS version of the Hyper-V Host?

@jaromirk
Copy link
Collaborator

jaromirk commented Oct 3, 2024

Yeah, in the screenshot it's DC. Host OS is ws2025. But I think imported dc did not work there, or did it?

@Karl-WE
Copy link
Contributor Author

Karl-WE commented Oct 3, 2024

I see, the creation of the DC b26296 did not work (2_CreateParentDisks.ps1). Host OS is a b26296, too.
Will evaluate this situation with WS2022 / 2025 b26100 as host OS. Remote related also for the AzHCI 23H2 2408 and 2311 (3_Deploy). Maybe something changed in b26296 that these things arise.

Good to hear with ws2025 b26100 as host OS this should be fixed, now you and Michael reporting the same.

@Karl-WE
Copy link
Contributor Author

Karl-WE commented Oct 3, 2024

Can repro that the host OS plays a role.
Testing with WS 2022 as host OS there is no error with the DC. Michael has more details.

@michbern-ms
Copy link
Collaborator

Since the repro steps for this issue explicitly mention WS2022, can we close this one now?

#588 will continue to track the WS2025 host portion.

@Karl-WE Karl-WE closed this as not planned Won't fix, can't repro, duplicate, stale Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants