Skip to content

Support setting timeout for Azure CLI commands #25772

@jiasli

Description

@jiasli

Extension developer verbatim:

Recently we encountered an issue where the post call made using send_raw_request function got stuck and it didn’t return any response and because of that onboarding was stuck in the same state for 6 days for a partner team. When they killed that job, another instance of the job came up and then onboarding was successful.

We want to know

  1. what can be the reasons this function might get stuck
  2. if there is any default timeout in this function
  3. Can we pass some timeout parameter

Link to our code where we are using this for making the post call - https://github.com/Azure/azure-cli-extensions/blob/cbf3346a7ecb624ad14f086f92b280a5ac927e8b/src/connectedk8s/azext_connectedk8s/_utils.py#L416

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions