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

[Environments reliability] Hyper-V Configuration error: Unable to perform the requested operation #3662

Open
bbonaby opened this issue Aug 21, 2024 · 3 comments
Assignees
Labels
Area-Environments Area-Environments-Hyper-V-Extension For issues, features requests and bugs related to the Hyper-V Extension in Dev Home Issue-Bug Something isn't working or needs investigation Priority-1 Type-Reliability Related to stability and reliability

Comments

@bbonaby
Copy link
Contributor

bbonaby commented Aug 21, 2024

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce the bug

Attempt to configure a Win 10/11 Hyper-V VM

Expected result

User is able to configure Hyper-V Win 10/11 VM. Or receives better error messaging.

Actual result

The user receives the display error: "Unable to perform the requested operation. Check the Dev Home Hyper-V Extension's log file: for more information".

The diagnosticText simply states: “Exception of type HyperVExtension.HostGuestCommunication”

looking at the configuration code this one may likely be due to the extension not being able to start the VM. We'll need to update the error messaging since all the other operations e.g shutting down, terminating, pausing all have the same error message if something unexpected occurs.

Included System Information

No response

Included Extensions Information

No response

@bbonaby bbonaby added Issue-Bug Something isn't working or needs investigation Priority-2 Area-Environments Area-Environments-Hyper-V-Extension For issues, features requests and bugs related to the Hyper-V Extension in Dev Home labels Aug 21, 2024
@bbonaby bbonaby added this to the Dev Home v0.18 milestone Aug 21, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage New issue that the core contributors need to triage label Aug 21, 2024
@bbonaby bbonaby removed the Needs-Triage New issue that the core contributors need to triage label Aug 21, 2024
Copy link

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@sshilov7
Copy link
Member

There is diagnostic text in the event saying, "Exception of type 'HyperVExtension.HostGuestCommunication.HResultException' was thrown.". That exception is used when processing results or progress from the guest OS. It's not clear how that message gets into the event if the error is coming from Start VM operation.

@sshilov7
Copy link
Member

A repro that simulates this error: Create VM that asks for a lot of memory so it can't be started. Try to configure it.
This error happens when something goes wrong with Hyper-V manager or PowerShell runspace used to send command to Hyper-V manager. We'll get more data in future telemetry.
This is no nesassaraly Dev Home's bug, but we might be able to mitigate some of the issues.

@bbonaby bbonaby removed this from the Dev Home v0.19 milestone Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Environments Area-Environments-Hyper-V-Extension For issues, features requests and bugs related to the Hyper-V Extension in Dev Home Issue-Bug Something isn't working or needs investigation Priority-1 Type-Reliability Related to stability and reliability
Projects
None yet
Development

No branches or pull requests

2 participants