Azure / Azure/azure-cli

"az extension add --name aks-preview" in airgap cloud attempts to connect to aka.ms

Open
#17,520 2 comments 0 reactions 1 assignee Assigned to @jiasli View on GitHub
Cloud Extensions feature-request
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

> ### `az feedback` auto-generates most of the information requested below, as of CLI version 2.0.62

**Describe the bug**
An execution of "az extension add --name aks-preview" in airgap cloud, a connection attempts to reach out to aka.ms where is public url, it definitely failed.

Are aks-preview features unavailable in airgap cloud and sovereign cloud (mooncake and fairfax)?

Response
```
Unable to get extension index.

Please ensure you have network connection. Error Detail: HTTPSConnectionPool (host='**aka.ms**', port=443): Max retries exceeded with url: /azure-cli-extension-index-v1 (Caused by NewConnectionError(urllib3.connection.HTTPSConnection object 0x7fc65ca70dd8>: Failed to establish a new connection [Errno -2] Name or service not known.
```

**To Reproduce**

**Expected behavior**

**Environment summary**
az-cli 2.17.1

**Additional context**

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.