Azure / azure-cli

Azure Command-Line Interface
MIT License
3.98k stars 2.96k forks source link

Huge delay after creation of NSG and 'az network nsg list' showing it #15303

Open mstavrev opened 4 years ago

mstavrev commented 4 years ago

Hello,

I am creating an AKS instance using Terraform (via its azurerm module). Nothing fancy, using the defaults. Once the AKS creation had been completed successfully, I can see via Azure Portal the NSG automatically created by AKS.

However, the NSG is not apprearing on the list provided by 'az network nsg list' no matter if I specify the correct RG or leave it to list all NSGs. The same is true for the LB instance created as part of the AKS deployment. It is up and running, shown on Azure portal, however the command 'az network lb list' does not show it.

I repeated the situation tens of times. The NSG and LB instances start to be returned by 'az network nsg|lb list' after different interval. Sometimes within 3 minutes after the AKS creation, sometimes after 10, 15 or even 20 minutes.

What is the reason for such delay and inconsistency between what's shown on Azure portal and the output of the 'az network' command?

Best Regards Marin


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

yonzhan commented 4 years ago

add to S176

yungezz commented 4 years ago

This might be a AKS proxy service management issue.

ghost commented 3 years ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Azure/aks-pm.

mstavrev commented 3 years ago

Any update on this one? Btw, how is that a feature-request? I can understand a few seconds to a minute of caching the NSG/LB state, but I am currently experiencing more than 40 minutes delay. That is definitely not normal.

kairu-ms commented 3 years ago

I've create an ICM 249121407 to follow this issue.

mstavrev commented 1 year ago

Is there any update about this one? It still occurs and not only for NSG. Today I had it for a VSS created by AKS.