Azure / azure-libraries-for-net

Azure libraries for .Net
MIT License
380 stars 192 forks source link

Not retrieving container list while using Fluent API #1194

Open SabandaB opened 3 years ago

SabandaB commented 3 years ago

Describe the bug -Since November, 24th we noticed that the webpage [cloudbridge.ucclearly.com] is not retrieving/showing any container list for only one resource group, while checking the function app and webUI they are showing an error of [A task was canceled.] which is a general error and not indicating to any specific issues. -Note that this is working perfectly fine for a different resource group in same location/region and no differences in between these two resource groups. -Also, the container list is showing successfully on Azure portal and Cloud shell using "az container list --resource-group myResourcegroup --output table" command.

Exception or Stack Trace Add the exception log and stack trace if available

To Reproduce Steps to reproduce the behavior: -Issue popped up since Novemeber,24th and still on going till this moment. -When directly calling to API it provides the desired results. -However, from our code we are not using the direct API call to retrieve the results. Instead, we use Microsoft's Fluent API mechanism. Here are the steps:-

1) First, we prepare an object of IAzure using the ClientID, ClientSecret ,TenantId and Azure Environment.

2) After preparing the IAzure object we make a call to the ListByResourceGroup method as azure.ContainerGroups.ListByResourceGroup ("myresource group"). The result of this operation is the list of containers.

The version that we use from Nuget package - Microsoft.Azure.Management.ResourceManager.Fluent.1.19.0

Code Snippet Add the code snippet that causes the issue. image

Expected behavior -Run the c# code to make a call to the ListByResourceGroup method as azure.ContainerGroups.ListByResourceGroup ("MyResourcegroup ") and obtain the container list on webUI.

Screenshots

image

Setup (please complete the following information):

Additional context Add any other context about the problem here.

yungezz commented 3 years ago

hi @xccc-msft could you pls help to have a look? thanks

xseeseesee commented 3 years ago

@SabandaB As the error code is 502, will add Service Attention label so the service team would help look into this. Meanwhile, I noticed the version you are using is v1.19.0 and our latest v1.36.1. Would you like to check if upgrade could help on your issue? Thanks.

ghost commented 3 years ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @dkkapur.

Issue Details
**Describe the bug** -Since November, 24th we noticed that the webpage [cloudbridge.ucclearly.com] is not retrieving/showing any container list for only one resource group, while checking the function app and webUI they are showing an error of [A task was canceled.] which is a general error and not indicating to any specific issues. -Note that this is working perfectly fine for a different resource group in same location/region and no differences in between these two resource groups. -Also, the container list is showing successfully on Azure portal and Cloud shell using "az container list --resource-group myResourcegroup --output table" command. ***Exception or Stack Trace*** Add the exception log and stack trace if available **To Reproduce** Steps to reproduce the behavior: -Issue popped up since Novemeber,24th and still on going till this moment. -When directly calling to API it provides the desired results. -However, from our code we are not using the direct API call to retrieve the results. Instead, we use Microsoft's Fluent API mechanism. Here are the steps:- 1) First, we prepare an object of IAzure using the ClientID, ClientSecret ,TenantId and Azure Environment. 2) After preparing the IAzure object we make a call to the ListByResourceGroup method as azure.ContainerGroups.ListByResourceGroup ("myresource group"). The result of this operation is the list of containers. The version that we use from Nuget package - Microsoft.Azure.Management.ResourceManager.Fluent.1.19.0 ***Code Snippet*** Add the code snippet that causes the issue. ![image](https://user-images.githubusercontent.com/77441325/104596833-341abb80-567d-11eb-8013-2eb450adcd18.png) **Expected behavior** -Run the c# code to make a call to the ListByResourceGroup method as azure.ContainerGroups.ListByResourceGroup ("MyResourcegroup ") and obtain the container list on webUI. **Screenshots** ![image](https://user-images.githubusercontent.com/77441325/104596321-84454e00-567c-11eb-8636-046bea9b149d.png) **Setup (please complete the following information):** - OS: Linux. - IDE : Fluent API. - Version of the Library used: Microsoft.Azure.Management.ResourceManager.Fluent.1.19.0 **Additional context** Add any other context about the problem here.
Author: SabandaB
Assignees: xccc-msft
Labels: `Container Instances`, `Service Attention`
Milestone: -
SabandaB commented 3 years ago

@xccc-msft we have performed the upgrade of fluent API and still faced the issue with same error, any help on that ?

xseeseesee commented 3 years ago

@SabandaB Sorry it looks like they didn't update contacts for container instances service.

cc: @nickzhums Can we find any team member from container instances service to help look into this issue?

SabandaB commented 3 years ago

@xccc-msft I still see no updates on this, could you help please?

xseeseesee commented 3 years ago

@novinc I found your name on code owner list here. Can you please help check this issue or route to the right team member? Thanks.

JonBaron commented 3 years ago

I'm also experiencing this. Any progress on the issue?

novinc commented 3 years ago

If you have subscription IDs and resourceGroup names along with timestamps of the list calls please send them so we can take a look to see if something went wrong from our side.