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

[BUG] Azure SDKs and Virtual Machine Scale Set VMs - Get does not return network interface for VMSS VMs (Flexible orchestration mode) #43000

Closed
vhphuocvo opened this issue Mar 26, 2024 · 2 comments
Assignees
Labels
Compute - VMSS customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library. needs-team-attention This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that

Comments

@vhphuocvo
Copy link

Library name and version

Azure.ResourceManager.Compute 1.4.0

Describe the bug

Hi,
I have a VMSS with network configuration as:

  • Network interface
  • Application Security Group
  • Subnet
  • Public IP Address

I have to load network interfaces of VMSS VMs with Flexible mode but Azure SDK to get VMSS VM does not return as expected.

  • NetworkProfile: null
  • NetworkInterfaceConfigurations: Empty
    Checked out code VirtualMachineScaleSetVmData.cs look like NetworkProfile is null cause the issues, since I already config network, it can't be null here.
if (NetworkProfileConfiguration is null)
    NetworkProfileConfiguration = new VirtualMachineScaleSetVmNetworkProfileConfiguration();
return NetworkProfileConfiguration.NetworkInterfaceConfigurations;

Did tried using "Try it" here but the same issues: https://learn.microsoft.com/en-us/rest/api/compute/virtual-machine-scale-set-vms/get?view=rest-compute-2023-10-02&tabs=dotnet

Expected behavior

I need to get VMSS VMs network interface

Actual behavior

Null network profile and empty network interface returned

Reproduction Steps

Create VMSS with network interface, subnet, NSG, ASG configuration and get VMSS VMs data

Environment

No response

@github-actions github-actions bot added Compute - VMSS customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library. needs-team-attention This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Mar 26, 2024
Copy link

Thank you for your feedback. Tagging and routing to the team member best able to assist.

@vhphuocvo vhphuocvo changed the title [BUG] Azure SDKs and Virtual Machine Scale Set VMs - Get does not return network interface for VMSS VMs (Flexible) [BUG] Azure SDKs and Virtual Machine Scale Set VMs - Get does not return network interface for VMSS VMs (Flexible orchestration mode) Mar 26, 2024
@mcgallan mcgallan assigned mcgallan and unassigned HarveyLink Mar 29, 2024
@mcgallan
Copy link
Member

mcgallan commented Apr 2, 2024

Hi @vhphuocvo, thank you for reaching out to us about the Azure SDK for .NET. Unfortunately, this issue is related to the service side and not the SDK side, so we are not able to help you with it. Therefore, we are closing this issue for now. If you need more assistance, please open an Azure support request. We apologize for any inconvenience this may cause you.
We value your feedback and we want to make sure that your problem is solved. If you think that we have misunderstood your issue or closed it incorrectly, please feel free to comment on this thread and reopen the issue. We will be happy to assist you further. Thank you for your understanding and cooperation.

@mcgallan mcgallan closed this as completed Apr 2, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Jul 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Compute - VMSS customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library. needs-team-attention This issue needs attention from Azure service team or SDK team 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