Skip to content

Commit 62c3624

Browse files
Mauricio FerrariMauricio Ferrari
authored andcommitted
live test recordings
1 parent 88c3b0a commit 62c3624

6 files changed

Lines changed: 18920 additions & 0 deletions

src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_approuting_gateway_istio_enable_disable.yaml

Lines changed: 2787 additions & 0 deletions
Large diffs are not rendered by default.

src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_and_update_with_app_routing_istio.yaml

Lines changed: 2211 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,295 @@
1+
interactions:
2+
- request:
3+
body: null
4+
headers:
5+
Accept:
6+
- application/json
7+
Accept-Encoding:
8+
- gzip, deflate
9+
CommandName:
10+
- aks get-versions
11+
Connection:
12+
- keep-alive
13+
ParameterSetName:
14+
- -l --query
15+
User-Agent:
16+
- AZURECLI/2.85.0 (DOCKER) azsdk-python-core/1.39.0 Python/3.12.9 (Linux-6.8.0-1044-azure-x86_64-with-glibc2.38)
17+
method: GET
18+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/kubernetesVersions?api-version=2026-02-01
19+
response:
20+
body:
21+
string: "{\n \"values\": [\n {\n \"version\": \"1.34\",\n \"isDefault\"\
22+
: true,\n \"capabilities\": {\n \"supportPlan\": [\n \"KubernetesOfficial\"\
23+
,\n \"AKSLongTermSupport\"\n ]\n },\n \"patchVersions\": {\n \
24+
\ \"1.34.0\": {\n \"upgrades\": [\n \"1.34.4\",\n \"1.34.3\"\
25+
,\n \"1.34.2\",\n \"1.34.1\",\n \"1.35.1\",\n \"1.35.0\"\
26+
\n ]\n },\n \"1.34.1\": {\n \"upgrades\": [\n \"1.34.4\"\
27+
,\n \"1.34.3\",\n \"1.34.2\",\n \"1.35.1\",\n \"1.35.0\"\
28+
\n ]\n },\n \"1.34.2\": {\n \"upgrades\": [\n \"1.34.4\"\
29+
,\n \"1.34.3\",\n \"1.35.1\",\n \"1.35.0\"\n ]\n },\n\
30+
\ \"1.34.3\": {\n \"upgrades\": [\n \"1.34.4\",\n \"1.35.1\"\
31+
,\n \"1.35.0\"\n ]\n },\n \"1.34.4\": {\n \"upgrades\"\
32+
: [\n \"1.35.1\",\n \"1.35.0\"\n ]\n }\n }\n },\n {\n\
33+
\ \"version\": \"1.33\",\n \"capabilities\": {\n \"supportPlan\": [\n\
34+
\ \"KubernetesOfficial\",\n \"AKSLongTermSupport\"\n ]\n },\n\
35+
\ \"patchVersions\": {\n \"1.33.0\": {\n \"upgrades\": [\n \"\
36+
1.33.8\",\n \"1.33.7\",\n \"1.33.6\",\n \"1.33.5\",\n \
37+
\ \"1.33.4\",\n \"1.33.3\",\n \"1.33.2\",\n \"1.33.1\",\n \
38+
\ \"1.34.4\",\n \"1.34.3\",\n \"1.34.2\",\n \"1.34.1\"\
39+
,\n \"1.34.0\"\n ]\n },\n \"1.33.1\": {\n \"upgrades\"\
40+
: [\n \"1.33.8\",\n \"1.33.7\",\n \"1.33.6\",\n \"1.33.5\"\
41+
,\n \"1.33.4\",\n \"1.33.3\",\n \"1.33.2\",\n \"1.34.4\"\
42+
,\n \"1.34.3\",\n \"1.34.2\",\n \"1.34.1\",\n \"1.34.0\"\
43+
\n ]\n },\n \"1.33.2\": {\n \"upgrades\": [\n \"1.33.8\"\
44+
,\n \"1.33.7\",\n \"1.33.6\",\n \"1.33.5\",\n \"1.33.4\"\
45+
,\n \"1.33.3\",\n \"1.34.4\",\n \"1.34.3\",\n \"1.34.2\"\
46+
,\n \"1.34.1\",\n \"1.34.0\"\n ]\n },\n \"1.33.3\": {\n\
47+
\ \"upgrades\": [\n \"1.33.8\",\n \"1.33.7\",\n \"1.33.6\"\
48+
,\n \"1.33.5\",\n \"1.33.4\",\n \"1.34.4\",\n \"1.34.3\"\
49+
,\n \"1.34.2\",\n \"1.34.1\",\n \"1.34.0\"\n ]\n },\n\
50+
\ \"1.33.4\": {\n \"upgrades\": [\n \"1.33.8\",\n \"1.33.7\"\
51+
,\n \"1.33.6\",\n \"1.33.5\",\n \"1.34.4\",\n \"1.34.3\"\
52+
,\n \"1.34.2\",\n \"1.34.1\",\n \"1.34.0\"\n ]\n },\n\
53+
\ \"1.33.5\": {\n \"upgrades\": [\n \"1.33.8\",\n \"1.33.7\"\
54+
,\n \"1.33.6\",\n \"1.34.4\",\n \"1.34.3\",\n \"1.34.2\"\
55+
,\n \"1.34.1\",\n \"1.34.0\"\n ]\n },\n \"1.33.6\": {\n\
56+
\ \"upgrades\": [\n \"1.33.8\",\n \"1.33.7\",\n \"1.34.4\"\
57+
,\n \"1.34.3\",\n \"1.34.2\",\n \"1.34.1\",\n \"1.34.0\"\
58+
\n ]\n },\n \"1.33.7\": {\n \"upgrades\": [\n \"1.33.8\"\
59+
,\n \"1.34.4\",\n \"1.34.3\",\n \"1.34.2\",\n \"1.34.1\"\
60+
,\n \"1.34.0\"\n ]\n },\n \"1.33.8\": {\n \"upgrades\"\
61+
: [\n \"1.34.4\",\n \"1.34.3\",\n \"1.34.2\",\n \"1.34.1\"\
62+
,\n \"1.34.0\"\n ]\n }\n }\n },\n {\n \"version\": \"1.35\"\
63+
,\n \"capabilities\": {\n \"supportPlan\": [\n \"KubernetesOfficial\"\
64+
,\n \"AKSLongTermSupport\"\n ]\n },\n \"patchVersions\": {\n \
65+
\ \"1.35.0\": {\n \"upgrades\": [\n \"1.35.1\"\n ]\n },\n\
66+
\ \"1.35.1\": {\n \"upgrades\": []\n }\n }\n },\n {\n \"version\"\
67+
: \"1.32\",\n \"capabilities\": {\n \"supportPlan\": [\n \"AKSLongTermSupport\"\
68+
\n ]\n },\n \"patchVersions\": {\n \"1.32.10\": {\n \"upgrades\"\
69+
: [\n \"1.35.1\",\n \"1.35.0\",\n \"1.34.4\",\n \"1.34.3\"\
70+
,\n \"1.34.2\",\n \"1.34.1\",\n \"1.34.0\",\n \"1.33.8\"\
71+
,\n \"1.33.7\",\n \"1.33.6\",\n \"1.33.5\",\n \"1.33.4\"\
72+
,\n \"1.33.3\",\n \"1.33.2\",\n \"1.33.1\",\n \"1.33.0\"\
73+
,\n \"1.32.11\"\n ]\n },\n \"1.32.11\": {\n \"upgrades\"\
74+
: [\n \"1.35.1\",\n \"1.35.0\",\n \"1.34.4\",\n \"1.34.3\"\
75+
,\n \"1.34.2\",\n \"1.34.1\",\n \"1.34.0\",\n \"1.33.8\"\
76+
,\n \"1.33.7\",\n \"1.33.6\",\n \"1.33.5\",\n \"1.33.4\"\
77+
,\n \"1.33.3\",\n \"1.33.2\",\n \"1.33.1\",\n \"1.33.0\"\
78+
\n ]\n }\n }\n },\n {\n \"version\": \"1.31\",\n \"capabilities\"\
79+
: {\n \"supportPlan\": [\n \"AKSLongTermSupport\"\n ]\n },\n \
80+
\ \"patchVersions\": {\n \"1.31.100\": {\n \"upgrades\": [\n \
81+
\ \"1.33.8\",\n \"1.33.7\",\n \"1.33.6\",\n \"1.33.5\",\n \
82+
\ \"1.33.4\",\n \"1.33.3\",\n \"1.33.2\",\n \"1.33.1\"\
83+
,\n \"1.33.0\",\n \"1.32.11\",\n \"1.32.10\",\n \"1.34.4\"\
84+
,\n \"1.34.3\",\n \"1.34.2\",\n \"1.34.1\",\n \"1.34.0\"\
85+
\n ]\n },\n \"1.31.13\": {\n \"upgrades\": [\n \"1.34.4\"\
86+
,\n \"1.34.3\",\n \"1.34.2\",\n \"1.34.1\",\n \"1.34.0\"\
87+
,\n \"1.33.8\",\n \"1.33.7\",\n \"1.33.6\",\n \"1.33.5\"\
88+
,\n \"1.33.4\",\n \"1.33.3\",\n \"1.33.2\",\n \"1.33.1\"\
89+
,\n \"1.33.0\",\n \"1.32.11\",\n \"1.32.10\",\n \"1.31.100\"\
90+
\n ]\n }\n }\n },\n {\n \"version\": \"1.30\",\n \"capabilities\"\
91+
: {\n \"supportPlan\": [\n \"AKSLongTermSupport\"\n ]\n },\n \
92+
\ \"patchVersions\": {\n \"1.30.100\": {\n \"upgrades\": [\n \
93+
\ \"1.33.8\",\n \"1.33.7\",\n \"1.33.6\",\n \"1.33.5\",\n \
94+
\ \"1.33.4\",\n \"1.33.3\",\n \"1.33.2\",\n \"1.33.1\"\
95+
,\n \"1.33.0\",\n \"1.32.11\",\n \"1.32.10\",\n \"1.31.100\"\
96+
,\n \"1.31.13\",\n \"1.30.101\"\n ]\n },\n \"1.30.101\"\
97+
: {\n \"upgrades\": [\n \"1.33.8\",\n \"1.33.7\",\n \"\
98+
1.33.6\",\n \"1.33.5\",\n \"1.33.4\",\n \"1.33.3\",\n \
99+
\ \"1.33.2\",\n \"1.33.1\",\n \"1.33.0\",\n \"1.32.11\",\n\
100+
\ \"1.32.10\",\n \"1.31.100\",\n \"1.31.13\"\n ]\n }\n\
101+
\ }\n }\n ]\n}"
102+
headers:
103+
cache-control:
104+
- no-cache
105+
content-length:
106+
- '5142'
107+
content-type:
108+
- application/json
109+
date:
110+
- Fri, 24 Apr 2026 02:41:07 GMT
111+
expires:
112+
- '-1'
113+
pragma:
114+
- no-cache
115+
strict-transport-security:
116+
- max-age=31536000; includeSubDomains
117+
x-cache:
118+
- CONFIG_NOCACHE
119+
x-content-type-options:
120+
- nosniff
121+
x-ms-operation-identifier:
122+
- appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/016025d2-fec3-4235-aee4-0245496a0c86
123+
x-ms-ratelimit-remaining-subscription-global-reads:
124+
- '16499'
125+
x-msedge-ref:
126+
- 'Ref A: 935D58F75592490CBB2DFB4DB6B5928D Ref B: BN1AA2051012011 Ref C: 2026-04-24T02:41:07Z'
127+
status:
128+
code: 200
129+
message: OK
130+
- request:
131+
body: null
132+
headers:
133+
Accept:
134+
- application/json
135+
Accept-Encoding:
136+
- gzip, deflate
137+
CommandName:
138+
- aks create
139+
Connection:
140+
- keep-alive
141+
ParameterSetName:
142+
- --resource-group --name --enable-azure-service-mesh --enable-app-routing --enable-app-routing-istio
143+
--ssh-key-value -o
144+
User-Agent:
145+
- AZURECLI/2.85.0 (DOCKER) azsdk-python-core/1.39.0 Python/3.12.9 (Linux-6.8.0-1044-azure-x86_64-with-glibc2.38)
146+
method: GET
147+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2026-02-01
148+
response:
149+
body:
150+
string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.ContainerService/managedClusters/cliakstest000002''
151+
under resource group ''clitest000001'' was not found. For more details please
152+
go to https://aka.ms/ARMResourceNotFoundFix"}}'
153+
headers:
154+
cache-control:
155+
- no-cache
156+
content-length:
157+
- '244'
158+
content-type:
159+
- application/json; charset=utf-8
160+
date:
161+
- Fri, 24 Apr 2026 02:41:08 GMT
162+
expires:
163+
- '-1'
164+
pragma:
165+
- no-cache
166+
strict-transport-security:
167+
- max-age=31536000; includeSubDomains
168+
x-cache:
169+
- CONFIG_NOCACHE
170+
x-content-type-options:
171+
- nosniff
172+
x-ms-failure-cause:
173+
- gateway
174+
x-msedge-ref:
175+
- 'Ref A: E25C696A022F4AE5AA1727CC4AB6943C Ref B: BN1AA2051012021 Ref C: 2026-04-24T02:41:08Z'
176+
status:
177+
code: 404
178+
message: Not Found
179+
- request:
180+
body: null
181+
headers:
182+
Accept:
183+
- application/json
184+
Accept-Encoding:
185+
- gzip, deflate
186+
CommandName:
187+
- aks create
188+
Connection:
189+
- keep-alive
190+
ParameterSetName:
191+
- --resource-group --name --enable-azure-service-mesh --enable-app-routing --enable-app-routing-istio
192+
--ssh-key-value -o
193+
User-Agent:
194+
- AZURECLI/2.85.0 (DOCKER) azsdk-python-core/1.39.0 Python/3.12.9 (Linux-6.8.0-1044-azure-x86_64-with-glibc2.38)
195+
method: GET
196+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2024-11-01
197+
response:
198+
body:
199+
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"centraluseuap","tags":{"product":"azurecli","cause":"automation","test":"test_aks_create_with_app_routing_istio_fails_when_asm_enabled","date":"2026-04-24T02:41:02Z","module":"acs"},"properties":{"provisioningState":"Succeeded"}}'
200+
headers:
201+
cache-control:
202+
- no-cache
203+
content-length:
204+
- '397'
205+
content-type:
206+
- application/json; charset=utf-8
207+
date:
208+
- Fri, 24 Apr 2026 02:41:08 GMT
209+
expires:
210+
- '-1'
211+
pragma:
212+
- no-cache
213+
strict-transport-security:
214+
- max-age=31536000; includeSubDomains
215+
x-cache:
216+
- CONFIG_NOCACHE
217+
x-content-type-options:
218+
- nosniff
219+
x-ms-ratelimit-remaining-subscription-global-reads:
220+
- '16499'
221+
x-msedge-ref:
222+
- 'Ref A: 46547C702E304655BDBECE742E8EE5A7 Ref B: BL2AA2010205033 Ref C: 2026-04-24T02:41:08Z'
223+
status:
224+
code: 200
225+
message: OK
226+
- request:
227+
body: '{"location": "centraluseuap", "properties": {"agentPoolProfiles": [{"name":
228+
"nodepool1", "orchestratorVersion": "", "vmSize": "", "osType": "Linux", "enableNodePublicIP":
229+
false, "count": 3, "enableAutoScaling": false, "scaleSetPriority": "Regular",
230+
"nodeTaints": [], "upgradeSettings": {}, "type": "VirtualMachineScaleSets",
231+
"enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false,
232+
"mode": "System"}], "kubernetesVersion": "", "dnsPrefix": "cliakstest-clitesth5t5hjv52-79a739",
233+
"disableLocalAccounts": false, "enableRBAC": true, "linuxProfile": {"adminUsername":
234+
"azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC+rZrBNXubX9X87qYZ3OxUsh8Bu+BtvPXHsE0DRRJIH/8cCWHC4STHS0aFLuD2Cxt8jwX9ifu0jnBeSfQvv7DBF4aIvsfkRgGMYpO2Cx1Jno+9498FsC1URPtt2OJQrEDUQ39hTkpK58eC9iz/tnOTAhrElHCS12AnJvXrUY/YoXhBR9s1XD5QCiSo05e/StGh10yUxr5xsucvUjcoDrrPn4sEQPZEbt/1LZhNZr58BnP7S7H8ZS3MdY8dk5+eSMQslrjaasSAYvgGotMUqWvlJ76eGYM7SA/rWt8ynamlGXKogmsivrtA0DNnKLhZThANIZCqVK9rnVecm6jRPDo1
235+
azcli_aks_live_test@example.com\n"}]}}, "networkProfile": {"loadBalancerSku":
236+
"standard", "outboundType": "loadBalancer"}, "addonProfiles": {}, "storageProfile":
237+
{}, "ingressProfile": {"webAppRouting": {"enabled": true, "gatewayAPIImplementations":
238+
{"appRoutingIstio": {"mode": "Enabled"}}}}, "serviceMeshProfile": {"mode": "Istio",
239+
"istio": {}}, "bootstrapProfile": {"artifactSource": "Direct"}}, "identity":
240+
{"type": "UserAssigned", "userAssignedIdentities": {"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-managed-identity-pool/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cp-90":
241+
{}}}, "sku": {"name": "Base", "tier": "Free"}}'
242+
headers:
243+
Accept:
244+
- application/json
245+
Accept-Encoding:
246+
- gzip, deflate
247+
CommandName:
248+
- aks create
249+
Connection:
250+
- keep-alive
251+
Content-Length:
252+
- '1684'
253+
Content-Type:
254+
- application/json
255+
ParameterSetName:
256+
- --resource-group --name --enable-azure-service-mesh --enable-app-routing --enable-app-routing-istio
257+
--ssh-key-value -o
258+
User-Agent:
259+
- AZURECLI/2.85.0 (DOCKER) azsdk-python-core/1.39.0 Python/3.12.9 (Linux-6.8.0-1044-azure-x86_64-with-glibc2.38)
260+
method: PUT
261+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2026-02-01
262+
response:
263+
body:
264+
string: "{\n \"code\": \"BadRequest\",\n \"details\": null,\n \"message\"\
265+
: \"Cannot enable both the Istio add-on and the AppRouting Istio Gateway API\
266+
\ implementation simultaneously.\",\n \"subcode\": \"\"\n }"
267+
headers:
268+
cache-control:
269+
- no-cache
270+
content-length:
271+
- '183'
272+
content-type:
273+
- application/json
274+
date:
275+
- Fri, 24 Apr 2026 02:41:20 GMT
276+
expires:
277+
- '-1'
278+
pragma:
279+
- no-cache
280+
strict-transport-security:
281+
- max-age=31536000; includeSubDomains
282+
x-cache:
283+
- CONFIG_NOCACHE
284+
x-content-type-options:
285+
- nosniff
286+
x-ms-ratelimit-remaining-subscription-global-writes:
287+
- '0'
288+
x-ms-ratelimit-remaining-subscription-writes:
289+
- '0'
290+
x-msedge-ref:
291+
- 'Ref A: 3224A2D90775458887B3C855240E1204 Ref B: BN1AA2051015037 Ref C: 2026-04-24T02:41:09Z'
292+
status:
293+
code: 400
294+
message: Bad Request
295+
version: 1

0 commit comments

Comments
 (0)