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

Hyper-V is not installed in reapirVM #7177

Open
SeungJeongYang opened this issue Jan 12, 2024 · 2 comments
Open

Hyper-V is not installed in reapirVM #7177

SeungJeongYang opened this issue Jan 12, 2024 · 2 comments
Assignees
Labels
Auto-Assign Auto assign by bot Azure CLI Team The command of the issue is owned by Azure CLI team Compute customer-reported Issues that are reported by GitHub users external to the Azure organization. extension/vm-repair question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone

Comments

@SeungJeongYang
Copy link

Describe the bug

When creating a repair VM using the --enable-nested option in the latest repair extension(1.0.0b1), Hyper-V is not installed.

I found work around with older script.
But latest scripts need to be modified.

[WorkAround]

Backup existing script

mv ~/.azure/cliextensions/vm-repair/azext_vm_repair/scripts/win-run-driver.ps1 ~/.azure/cliextensions/vm-repair/azext_vm_repair/scripts/win-run-driver.ps1.bak

Revert back

wget -O ~/.azure/cliextensions/vm-repair/azext_vm_repair/scripts/win-run-driver.ps1
https://raw.githubusercontent.com/Azure/azure-cli-extensions/c906263ddf2dab08a0a7355030b883b40d34aa11/src/vm-repair/azext_vm_repair/scripts/win-run-driver.ps1

Related command

az vm repair create -g [Resource Group] -n [VMname] --repair-username [UserName] --repair-password '[password]' --enable-nested --verbose

Errors

refer the following pic
image

Issue script & Debug output

refer the following pics
image

Expected behavior

hyperv shoud be installed on the repair VM.

Environment Summary

azure-cli 2.55.0 *

core 2.55.0 *
telemetry 1.1.0

Extensions:
ai-examples 0.2.5
ml 2.22.0
ssh 2.0.2
vm-repair 1.0.0b1

Dependencies:
msal 1.24.0b2
azure-mgmt-resource 23.1.0b2

Python location '/usr/bin/python3.9'
Extensions directory '/home/logan/.azure/cliextensions'
Extensions system directory '/usr/lib/python3.9/site-packages/azure-cli-extensions'

Python (Linux) 3.9.14 (main, Oct 12 2023, 19:48:32)
[GCC 11.2.0]

Legal docs and information: aka.ms/AzureCliLegal

Additional context

No response

@SeungJeongYang SeungJeongYang added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Jan 12, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added question The issue doesn't require a change to the product in order to be resolved. Most issues start as that customer-reported Issues that are reported by GitHub users external to the Azure organization. Compute labels Jan 12, 2024
@yonzhan
Copy link
Collaborator

yonzhan commented Jan 12, 2024

Thank you for opening this issue, we will look into it.

@microsoft-github-policy-service microsoft-github-policy-service bot added Auto-Assign Auto assign by bot Azure CLI Team The command of the issue is owned by Azure CLI team labels Jan 12, 2024
@yonzhan yonzhan removed the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Jan 12, 2024
@yonzhan yonzhan added this to the Backlog milestone Jan 12, 2024
@SeungJeongYang
Copy link
Author

Hi @yonzhan ,
Can you please share an update on this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Assign Auto assign by bot Azure CLI Team The command of the issue is owned by Azure CLI team Compute customer-reported Issues that are reported by GitHub users external to the Azure organization. extension/vm-repair question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

4 participants