It shows its not completed even though is its. Why ?
az vm nic list --resource-group kml_rg_main-1fa0f9fb4bec4002 --vm-name datacenter-vm
[
{
“deleteOption”: null,
“id”: “/subscriptions/a2b28c85-1948-4263-90ca-bade2bac4df4/resourceGroups/kml_rg_main-1fa0f9fb4bec4002/providers/Microsoft.Network/networkInterfaces/datacenter-vmVMNic”,
“primary”: true,
“resourceGroup”: “kml_rg_main-1fa0f9fb4bec4002”
},
{
“deleteOption”: null,
“id”: “/subscriptions/a2b28c85-1948-4263-90ca-bade2bac4df4/resourceGroups/kml_rg_main-1fa0f9fb4bec4002/providers/Microsoft.Network/networkInterfaces/datacenter-nic”,
“primary”: false,
“resourceGroup”: “kml_rg_main-1fa0f9fb4bec4002”
}
]
Is this related to one of our labs? Could you please include a link to the lab so I have a bit more context to what you’re doing here?
detach the other nic, then it will pass. you have 2 nic attached currently
I’m getting the same issue in Kodekloud engineer platform. Detached additional NIC but it didn’t help to pass the task.
Also can task description be fixed it always mentioned that VM was deployed in US East but in fact in US West. How it can be resolved ?
I think the task is being validated based on region and because of the mismatch between question and the actual task it is failing. I am not able to find any other reason apart from this. Hope team can check and fix this. Thank You!
https://engineer.kodekloud.com/task?id=671204d8103315d2d635b9c4&status=redo
The Nautilus DevOps team is migrating services to Azure. They are breaking down tasks to ensure better control and optimization. You are tasked with attaching an existing network interface (NIC) to a virtual machine (VM).
An existing VM named xfusion-vm
and a network interface named xfusion-nic
already exist in the East US
region.
- Attach the network interface
xfusion-nic
to the VM xfusion-vm
.
- Ensure the NIC’s status is
attached
before submitting the task.
Make sure that the virtual machine initialization has been completed before submitting this task.
This is getting failed no matter what I do. kindly check and advise
Not sure if it was fixed by someone but now region (US West) was correct in lab description and in Azure portal, was able to complete it now with the same steps of detaching interface which I did before.
yes able to complete the task now. Thank You