Azure / Azure/azure-cli

az network application-gateway address-pool update does not return an error when call fails

Open
#29,393 4 comments 0 reactions 1 assignee Assigned to @necusjz View on GitHub
act-platform-engineering-squad act-quality-productivity-squad Auto-Assign Auto-Resolve Azure CLI Team customer-reported Network question Upgrade
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### Describe the bug

After [this change](https://github.com/Azure/azure-cli/pull/28777), one issue in the AGW has been solved, but now, if the error described in that issue occurs, rather than retrying, it just marks the task as completed. If a command is interrupted and not executed, we would expect an error message of some sort.

### Related command

az network application-gateway address-pool update

### Errors

We get no error message - that is the problem.

### Issue script & Debug output

Run any 2 az network application-gateway address-pool update calls so close to each other that one interrupts the other.

### Expected behavior

I would expect that when a call to update an address pool (or other part of the Azure application gateway) and the update gets interrupted, that I get an error message.

### Environment Summary

WARNING: You have 2 update(s) available. Consider updating your CLI installation with 'az upgrade'
azure-cli 2.61.0 *

core 2.61.0 *
telemetry 1.1.0

Extensions:
application-insights 1.2.1
azure-devops 1.0.1

Dependencies:
msal 1.28.0
azure-mgmt-resource 23.1.1

Python location '/opt/az/bin/python3'
Extensions directory '/opt/az/azcliextensions'

Python (Linux) 3.11.8 (main, May 16 2024, 03:47:28) [GCC 11.4.0]

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.