Open StutiSri opened 1 year ago
Hi @StutiSri,
2.36.0 is not the latest Azure CLI(2.49.0).
Please upgrade to the latest Azure CLI version by following https://learn.microsoft.com/en-us/cli/azure/update-azure-cli.
Thank you for opening this issue, we will look into it.
Updated to latest, still same issue
azure-cli 2.49.0
core 2.49.0 telemetry 1.0.8
Extensions: aks-preview 0.5.82
Dependencies: msal 1.20.0 azure-mgmt-resource 22.0.0
Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe' Extensions directory 'C:\Users\stsrivastava.azure\cliextensions'
Python (Windows) 3.10.10 (tags/v3.10.10:aad5f6a, Feb 7 2023, 17:05:00) [MSC v.1929 32 bit (Intel)]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
PS C:\Users\stsrivastava> $AllTags='abc.123=123 cdx.432=345 abc.345=123 cdx.4321=345' PS C:\Users\stsrivastava> az aks nodepool update --resource-group stsri-rg --cluster-name Aurora-Platform-Stsri-1 --name nplinux94 --tags $AllTags --debug cli.knack.cli: Command arguments: ['aks', 'nodepool', 'update', '--resource-group', 'stsri-rg', '--cluster-name', 'Aurora-Platform-Stsri-1', '--name', 'nplinux94', '--tags', 'abc.123=123 cdx.432=345 abc.345=123 cdx.4321=345', '--debug'] cli.knack.cli: init debug log:
Describe the bug
PS C:\Projects\2-Aurora-Base\src\Tests\ScenarioTests\Powershell\Scripts> $AllTags='abc.123=123 cdx.432=345 abc.345=123 cdx.4321=345' PS C:\Projects\2-Aurora-Base\src\Tests\ScenarioTests\Powershell\Scripts> az aks nodepool update --resource-group stsri-rg --cluster-name Aurora-Platform-Stsri-1 --name nplinux94 --tags $AllTags --debug
Running the above makes the tags on the nodepool as - PS C:\Projects\2-Aurora-Base\src\Tests\ScenarioTests\Powershell\Scripts> az aks nodepool show --resource-group stsri-rg --cluster-name Aurora-Platform-Stsri-1 --name nplinux94 --query ['tags'] [ { "abc.123": "123 cdx.432=345 abc.345=123 cdx.4321=345" } ]
Expected output
PS C:\Projects\2-Aurora-Base\src\Tests\ScenarioTests\Powershell\Scripts> az aks nodepool show --resource-group stsri-rg --cluster-name Aurora-Platform-Stsri-1 --name nplinux94 --query ['tags'] [ { "abc.123": "123", "cdx.432": "345", " abc.345": "123", "cdx.4321: "345" } ]
Related command
az aks nodepool update --resource-group stsri-rg --cluster-name Aurora-Platform-Stsri-1 --name nplinux94 --tags $AllTags
Errors
The command doesn't fail but has an incorrect behavior as shown below
PS C:\Projects\2-Aurora-Base\src\Tests\ScenarioTests\Powershell\Scripts> az aks nodepool show --resource-group stsri-rg --cluster-name Aurora-Platform-Stsri-1 --name nplinux94 --query ['tags'] [ { "abc.123": "123 cdx.432=345 abc.345=123 cdx.4321=345" } ]
Issue script & Debug output
PS C:\Projects\2-Aurora-Base\src\Tests\ScenarioTests\Powershell\Scripts> $AllTags='abc.123=123 cdx.432=345 abc.345=123 cdx.4321=345' PS C:\Projects\2-Aurora-Base\src\Tests\ScenarioTests\Powershell\Scripts> az aks nodepool update --resource-group stsri-rg --cluster-name Aurora-Platform-Stsri-1 --name nplinux94 --tags $AllTags --debug cli.knack.cli: Command arguments: ['aks', 'nodepool', 'update', '--resource-group', 'stsri-rg', '--cluster-name', 'Aurora-Platform-Stsri-1', '--name', 'nplinux94', '--tags', 'abc.123=123 cdx.432=345 abc.345=123 cdx.4321=345', '--debug'] cli.knack.cli: init debug log: Enable color in terminal. cli.knack.cli: Event: Cli.PreExecute [] cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x01C77C88>, <function OutputProducer.on_global_arguments at 0x01E3D5C8>, <function CLIQuery.on_global_arguments at 0x01E5C220>] cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate [] cli.azure.cli.core: Modules found from index for 'aks': ['azext_aks_preview', 'azure.cli.command_modules.acs'] cli.azure.cli.core: Loading command modules: cli.azure.cli.core: Name Load Time Groups Commands cli.azure.cli.core: acs 0.438 10 64 cli.azure.cli.core: Total (1) 0.438 10 64 cli.azure.cli.core: These extensions are not installed and will be skipped: ['azext_ai_examples', 'azext_next'] cli.azure.cli.core: Loading extensions: cli.azure.cli.core: Name Load Time Groups Commands Directory cli.knack.cli: Event: CommandLoader.OnLoadCommandTable [] cli.azure.cli.core: aks-preview 0.012 13 66 C:\Users\stsrivastava.azure\cliextensions\aks-preview cli.azure.cli.core: Total (1) 0.012 13 66 cli.azure.cli.core: Loaded 19 groups, 99 commands. cli.azure.cli.core: Found a match in the command table. cli.azure.cli.core: Raw command : aks nodepool update cli.azure.cli.core: Command table: aks nodepool update cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x040AC190>] cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to 'C:\Users\stsrivastava.azure\commands\2023-06-02.21-19-44.aks_nodepool_update.10328.log'. az_command_data_logger: command args: aks nodepool update --resource-group {} --cluster-name {} --name {} --tags {} --debug cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument..add_subscription_parameter at 0x040FF6A0>]
cli.knack.cli: Event: CommandLoader.OnLoadArguments []
cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument..add_ids_arguments at 0x040FF778>, <function register_cache_arguments..add_cache_arguments at 0x0411ECD0>]
cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x01E3D610>, <function CLIQuery.handle_query_parameter at 0x01E5C268>, <function register_ids_argument..parse_ids_arguments at 0x0411EC88>]
az_command_data_logger: extension name: aks-preview
az_command_data_logger: extension version: 0.5.82
cli.azure.cli.core.commands: The behavior of this command has been altered by the following extension: aks-preview
cli.azure.cli.core.commands.client_factory: Getting management service client client_type=ContainerServiceClient
cli.azure.cli.core.auth.persistence: build_persistence: location='C:\Users\stsrivastava\.azure\msal_token_cache.bin', encrypt=True
cli.azure.cli.core.auth.binary_cache: load: C:\Users\stsrivastava.azure\msal_http_cache.bin
urllib3.util.retry: Converted retries value: 1 -> Retry(total=1, connect=None, read=None, redirect=None, status=None)
msal.authority: openid_config = {'token_endpoint': 'https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic'], 'jwks_uri': 'https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/discovery/v2.0/keys', 'response_modes_supported': ['query', 'fragment', 'form_post'], 'subject_types_supported': ['pairwise'], 'id_token_signing_alg_values_supported': ['RS256'], 'response_types_supported': ['code', 'id_token', 'code id_token', 'id_token token'], 'scopes_supported': ['openid', 'profile', 'email', 'offline_access'], 'issuer': 'https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/v2.0', 'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/authorize', 'device_authorization_endpoint': 'https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 'https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/logout', 'claims_supported': ['sub', 'iss', 'cloud_instance_name', 'cloud_instance_host_name', 'cloud_graph_host_name', 'msgraph_host', 'aud', 'exp', 'iat', 'auth_time', 'acr', 'nonce', 'preferred_username', 'name', 'tid', 'ver', 'at_hash', 'c_hash', 'email'], 'kerberos_endpoint': 'https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/kerberos', 'tenant_region_scope': 'WW', 'cloud_instance_name': 'microsoftonline.com', 'cloud_graph_host_name': 'graph.windows.net', 'msgraph_host': 'graph.microsoft.com', 'rbac_url': 'https://pas.windows.net'}
cli.azure.cli.core.auth.credential_adaptor: CredentialAdaptor.get_token: scopes=('https://management.core.windows.net//.default',), kwargs={}
cli.azure.cli.core.auth.msal_authentication: UserCredential.get_token: scopes=('https://management.core.windows.net//.default',), kwargs={}
msal.application: Cache hit an AT
msal.telemetry: Generate or reuse correlation_id: bd941bb9-ed5b-4388-be89-83ecb52bdcd4
cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/b571a8a7-4881-4377-94a4-7d264f5b46d3/resourceGroups/stsri-rg/providers/Microsoft.ContainerService/managedClusters/Aurora-Platform-Stsri-1/agentPools/nplinux94?api-version=2022-05-02-preview'
cli.azure.cli.core.sdk.policies: Request method: 'GET'
cli.azure.cli.core.sdk.policies: Request headers:
cli.azure.cli.core.sdk.policies: 'Accept': 'application/json'
cli.azure.cli.core.sdk.policies: 'x-ms-client-request-id': '180b7433-015d-11ee-b964-c8d9d213a8c2'
cli.azure.cli.core.sdk.policies: 'CommandName': 'aks nodepool update'
cli.azure.cli.core.sdk.policies: 'ParameterSetName': '--resource-group --cluster-name --name --tags --debug'
cli.azure.cli.core.sdk.policies: 'User-Agent': 'AZURECLI/2.36.0 (MSI) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (Windows-10-10.0.22631-SP0)'
cli.azure.cli.core.sdk.policies: 'Authorization': ''
cli.azure.cli.core.sdk.policies: Request body:
cli.azure.cli.core.sdk.policies: This request has no body
urllib3.connectionpool: Starting new HTTPS connection (1): management.azure.com:443
urllib3.connectionpool: https://management.azure.com:443 "GET /subscriptions/b571a8a7-4881-4377-94a4-7d264f5b46d3/resourceGroups/stsri-rg/providers/Microsoft.ContainerService/managedClusters/Aurora-Platform-Stsri-1/agentPools/nplinux94?api-version=2022-05-02-preview HTTP/1.1" 200 None
cli.azure.cli.core.sdk.policies: Response status: 200
cli.azure.cli.core.sdk.policies: Response headers:
cli.azure.cli.core.sdk.policies: 'Cache-Control': 'no-cache'
cli.azure.cli.core.sdk.policies: 'Pragma': 'no-cache'
cli.azure.cli.core.sdk.policies: 'Transfer-Encoding': 'chunked'
cli.azure.cli.core.sdk.policies: 'Content-Type': 'application/json'
cli.azure.cli.core.sdk.policies: 'Content-Encoding': 'gzip'
cli.azure.cli.core.sdk.policies: 'Expires': '-1'
cli.azure.cli.core.sdk.policies: 'Vary': 'Accept-Encoding'
cli.azure.cli.core.sdk.policies: 'x-ms-ratelimit-remaining-subscription-reads': '11996'
cli.azure.cli.core.sdk.policies: 'x-ms-correlation-request-id': 'f93f1904-81a1-4958-a8c3-5c668a425d05'
cli.azure.cli.core.sdk.policies: 'x-ms-request-id': '18e20781-39e7-4173-86e8-b1552d8ceaec'
cli.azure.cli.core.sdk.policies: 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
cli.azure.cli.core.sdk.policies: 'X-Content-Type-Options': 'nosniff'
cli.azure.cli.core.sdk.policies: 'Server': 'nginx'
cli.azure.cli.core.sdk.policies: 'x-ms-routing-request-id': 'CENTRALINDIA:20230602T154946Z:f93f1904-81a1-4958-a8c3-5c668a425d05'
cli.azure.cli.core.sdk.policies: 'Date': 'Fri, 02 Jun 2023 15:49:46 GMT'
cli.azure.cli.core.sdk.policies: Response content:
cli.azure.cli.core.sdk.policies: {
"id": "/subscriptions/b571a8a7-4881-4377-94a4-7d264f5b46d3/resourcegroups/stsri-rg/providers/Microsoft.ContainerService/managedClusters/Aurora-Platform-stsri-1/agentPools/nplinux94",
"name": "nplinux94",
"type": "Microsoft.ContainerService/managedClusters/agentPools",
"properties": {
"count": 3,
"vmSize": "Standard_D4s_v3",
"osDiskSizeGB": 128,
"osDiskType": "Managed",
"kubeletDiskType": "OS",
"workloadRuntime": "OCIContainer",
"maxPods": 50,
"type": "VirtualMachineScaleSets",
"maxCount": 10,
"minCount": 3,
"enableAutoScaling": true,
"scaleDownMode": "Delete",
"provisioningState": "Succeeded",
"powerState": {
"code": "Running"
},
"orchestratorVersion": "1.24.10",
"currentOrchestratorVersion": "1.24.10",
"enableNodePublicIP": false,
"enableCustomCATrust": false,
"tags": {
"\"abc.123": "123\" \"cdx.432=345\" \"abc.345=123\" \"cdx.4321=345\""
},
"mode": "System",
"enableEncryptionAtHost": true,
"enableUltraSSD": false,
"osType": "Linux",
"osSKU": "Mariner",
"nodeImageVersion": "AKSCBLMariner-V2gen2-202305.08.0",
"upgradeSettings": {
"maxSurge": "33"
},
"enableFIPS": false
}
}
cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/b571a8a7-4881-4377-94a4-7d264f5b46d3/resourceGroups/stsri-rg/providers/Microsoft.ContainerService/managedClusters/Aurora-Platform-Stsri-1/agentPools/nplinux94?api-version=2022-05-02-preview'
cli.azure.cli.core.sdk.policies: Request method: 'PUT'
cli.azure.cli.core.sdk.policies: Request headers:
cli.azure.cli.core.sdk.policies: 'Content-Type': 'application/json'
cli.azure.cli.core.sdk.policies: 'Content-Length': '665'
cli.azure.cli.core.sdk.policies: 'Accept': 'application/json'
cli.azure.cli.core.sdk.policies: 'x-ms-client-request-id': '180b7433-015d-11ee-b964-c8d9d213a8c2'
cli.azure.cli.core.sdk.policies: 'CommandName': 'aks nodepool update'
cli.azure.cli.core.sdk.policies: 'ParameterSetName': '--resource-group --cluster-name --name --tags --debug'
cli.azure.cli.core.sdk.policies: 'User-Agent': 'AZURECLI/2.36.0 (MSI) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (Windows-10-10.0.22631-SP0)'
cli.azure.cli.core.sdk.policies: 'Authorization': ''
cli.azure.cli.core.sdk.policies: Request body:
cli.azure.cli.core.sdk.policies: {"properties": {"count": 3, "vmSize": "Standard_D4s_v3", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "workloadRuntime": "OCIContainer", "maxPods": 50, "osType": "Linux", "osSKU": "Mariner", "maxCount": 10, "minCount": 3, "enableAutoScaling": true, "scaleDownMode": "Delete", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": "1.24.10", "upgradeSettings": {"maxSurge": "33"}, "powerState": {"code": "Running"}, "enableNodePublicIP": false, "enableCustomCATrust": false, "tags": {"abc.123": "123 cdx.432=345 abc.345=123 cdx.4321=345"}, "enableEncryptionAtHost": true, "enableUltraSSD": false, "enableFIPS": false}}
urllib3.connectionpool: https://management.azure.com:443 "PUT /subscriptions/b571a8a7-4881-4377-94a4-7d264f5b46d3/resourceGroups/stsri-rg/providers/Microsoft.ContainerService/managedClusters/Aurora-Platform-Stsri-1/agentPools/nplinux94?api-version=2022-05-02-preview HTTP/1.1" 200 None
cli.azure.cli.core.sdk.policies: Response status: 200
cli.azure.cli.core.sdk.policies: Response headers:
cli.azure.cli.core.sdk.policies: 'Cache-Control': 'no-cache'
cli.azure.cli.core.sdk.policies: 'Pragma': 'no-cache'
cli.azure.cli.core.sdk.policies: 'Transfer-Encoding': 'chunked'
cli.azure.cli.core.sdk.policies: 'Content-Type': 'application/json'
cli.azure.cli.core.sdk.policies: 'Content-Encoding': 'gzip'
cli.azure.cli.core.sdk.policies: 'Expires': '-1'
cli.azure.cli.core.sdk.policies: 'Vary': 'Accept-Encoding'
cli.azure.cli.core.sdk.policies: 'x-ms-ratelimit-remaining-subscription-writes': '1198'
cli.azure.cli.core.sdk.policies: 'azure-asyncoperation': 'https://management.azure.com/subscriptions/b571a8a7-4881-4377-94a4-7d264f5b46d3/providers/Microsoft.ContainerService/locations/eastus2/operations/426f0232-0b64-4a32-a4ef-4e4e6bb5cc04?api-version=2017-08-31'
cli.azure.cli.core.sdk.policies: 'x-ms-correlation-request-id': '4af8c6cd-db03-4a6f-99c7-9e1856255348'
cli.azure.cli.core.sdk.policies: 'x-ms-request-id': '426f0232-0b64-4a32-a4ef-4e4e6bb5cc04'
cli.azure.cli.core.sdk.policies: 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
cli.azure.cli.core.sdk.policies: 'X-Content-Type-Options': 'nosniff'
cli.azure.cli.core.sdk.policies: 'Server': 'nginx'
cli.azure.cli.core.sdk.policies: 'x-ms-routing-request-id': 'CENTRALINDIA:20230602T154950Z:4af8c6cd-db03-4a6f-99c7-9e1856255348'
cli.azure.cli.core.sdk.policies: 'Date': 'Fri, 02 Jun 2023 15:49:49 GMT'
cli.azure.cli.core.sdk.policies: Response content:
cli.azure.cli.core.sdk.policies: {
"id": "/subscriptions/b571a8a7-4881-4377-94a4-7d264f5b46d3/resourcegroups/stsri-rg/providers/Microsoft.ContainerService/managedClusters/Aurora-Platform-stsri-1/agentPools/nplinux94",
"name": "nplinux94",
"type": "Microsoft.ContainerService/managedClusters/agentPools",
"properties": {
"count": 3,
"vmSize": "Standard_D4s_v3",
"osDiskSizeGB": 128,
"osDiskType": "Managed",
"kubeletDiskType": "OS",
"workloadRuntime": "OCIContainer",
"maxPods": 50,
"type": "VirtualMachineScaleSets",
"maxCount": 10,
"minCount": 3,
"enableAutoScaling": true,
"scaleDownMode": "Delete",
"provisioningState": "Updating",
"powerState": {
"code": "Running"
},
"orchestratorVersion": "1.24.10",
"currentOrchestratorVersion": "1.24.10",
"enableNodePublicIP": false,
"enableCustomCATrust": false,
"tags": {
"abc.123": "123 cdx.432=345 abc.345=123 cdx.4321=345"
},
"mode": "System",
"enableEncryptionAtHost": true,
"enableUltraSSD": false,
"osType": "Linux",
"osSKU": "Mariner",
"nodeImageVersion": "AKSCBLMariner-V2gen2-202305.08.0",
"upgradeSettings": {
"maxSurge": "33"
},
"enableFIPS": false
}
}
cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/b571a8a7-4881-4377-94a4-7d264f5b46d3/providers/Microsoft.ContainerService/locations/eastus2/operations/426f0232-0b64-4a32-a4ef-4e4e6bb5cc04?api-version=2017-08-31'
cli.azure.cli.core.sdk.policies: Request method: 'GET'
cli.azure.cli.core.sdk.policies: Request headers:
cli.azure.cli.core.sdk.policies: 'x-ms-client-request-id': '180b7433-015d-11ee-b964-c8d9d213a8c2'
cli.azure.cli.core.sdk.policies: 'CommandName': 'aks nodepool update'
cli.azure.cli.core.sdk.policies: 'ParameterSetName': '--resource-group --cluster-name --name --tags --debug'
cli.azure.cli.core.sdk.policies: 'User-Agent': 'AZURECLI/2.36.0 (MSI) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (Windows-10-10.0.22631-SP0)'
cli.azure.cli.core.sdk.policies: 'Authorization': ''
cli.azure.cli.core.sdk.policies: Request body:
cli.azure.cli.core.sdk.policies: This request has no body
urllib3.connectionpool: https://management.azure.com:443 "GET /subscriptions/b571a8a7-4881-4377-94a4-7d264f5b46d3/providers/Microsoft.ContainerService/locations/eastus2/operations/426f0232-0b64-4a32-a4ef-4e4e6bb5cc04?api-version=2017-08-31 HTTP/1.1" 200 None
cli.azure.cli.core.sdk.policies: Response status: 200
cli.azure.cli.core.sdk.policies: Response headers:
cli.azure.cli.core.sdk.policies: 'Cache-Control': 'no-cache'
cli.azure.cli.core.sdk.policies: 'Pragma': 'no-cache'
cli.azure.cli.core.sdk.policies: 'Transfer-Encoding': 'chunked'
cli.azure.cli.core.sdk.policies: 'Content-Type': 'application/json'
cli.azure.cli.core.sdk.policies: 'Content-Encoding': 'gzip'
cli.azure.cli.core.sdk.policies: 'Expires': '-1'
cli.azure.cli.core.sdk.policies: 'Vary': 'Accept-Encoding'
cli.azure.cli.core.sdk.policies: 'x-ms-ratelimit-remaining-subscription-reads': '11995'
cli.azure.cli.core.sdk.policies: 'x-ms-correlation-request-id': 'dd67f636-79fc-417c-85dc-3949cf951886'
cli.azure.cli.core.sdk.policies: 'x-ms-request-id': 'ddf4bc3f-10d8-448e-8a38-bdb51a64b5e0'
cli.azure.cli.core.sdk.policies: 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
cli.azure.cli.core.sdk.policies: 'X-Content-Type-Options': 'nosniff'
cli.azure.cli.core.sdk.policies: 'Server': 'nginx'
cli.azure.cli.core.sdk.policies: 'x-ms-routing-request-id': 'CENTRALINDIA:20230602T155020Z:dd67f636-79fc-417c-85dc-3949cf951886'
cli.azure.cli.core.sdk.policies: 'Date': 'Fri, 02 Jun 2023 15:50:19 GMT'
cli.azure.cli.core.sdk.policies: Response content:
cli.azure.cli.core.sdk.policies: {
"name": "32026f42-640b-324a-a4ef-4e4e6bb5cc04",
"status": "Succeeded",
"startTime": "2023-06-02T15:49:50.2525079Z",
"endTime": "2023-06-02T15:49:57.4025675Z"
}
cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/b571a8a7-4881-4377-94a4-7d264f5b46d3/resourceGroups/stsri-rg/providers/Microsoft.ContainerService/managedClusters/Aurora-Platform-Stsri-1/agentPools/nplinux94?api-version=2022-05-02-preview'
cli.azure.cli.core.sdk.policies: Request method: 'GET'
cli.azure.cli.core.sdk.policies: Request headers:
cli.azure.cli.core.sdk.policies: 'x-ms-client-request-id': '180b7433-015d-11ee-b964-c8d9d213a8c2'
cli.azure.cli.core.sdk.policies: 'CommandName': 'aks nodepool update'
cli.azure.cli.core.sdk.policies: 'ParameterSetName': '--resource-group --cluster-name --name --tags --debug'
cli.azure.cli.core.sdk.policies: 'User-Agent': 'AZURECLI/2.36.0 (MSI) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (Windows-10-10.0.22631-SP0)'
cli.azure.cli.core.sdk.policies: 'Authorization': ''
cli.azure.cli.core.sdk.policies: Request body:
cli.azure.cli.core.sdk.policies: This request has no body
urllib3.connectionpool: https://management.azure.com:443 "GET /subscriptions/b571a8a7-4881-4377-94a4-7d264f5b46d3/resourceGroups/stsri-rg/providers/Microsoft.ContainerService/managedClusters/Aurora-Platform-Stsri-1/agentPools/nplinux94?api-version=2022-05-02-preview HTTP/1.1" 200 None
cli.azure.cli.core.sdk.policies: Response status: 200
cli.azure.cli.core.sdk.policies: Response headers:
cli.azure.cli.core.sdk.policies: 'Cache-Control': 'no-cache'
cli.azure.cli.core.sdk.policies: 'Pragma': 'no-cache'
cli.azure.cli.core.sdk.policies: 'Transfer-Encoding': 'chunked'
cli.azure.cli.core.sdk.policies: 'Content-Type': 'application/json'
cli.azure.cli.core.sdk.policies: 'Content-Encoding': 'gzip'
cli.azure.cli.core.sdk.policies: 'Expires': '-1'
cli.azure.cli.core.sdk.policies: 'Vary': 'Accept-Encoding'
cli.azure.cli.core.sdk.policies: 'x-ms-ratelimit-remaining-subscription-reads': '11994'
cli.azure.cli.core.sdk.policies: 'x-ms-correlation-request-id': 'be3088ef-9bea-4a9b-b8f1-f0a7ddd80c75'
cli.azure.cli.core.sdk.policies: 'x-ms-request-id': '50cb919c-75dc-4600-8a2e-3aef64cb2313'
cli.azure.cli.core.sdk.policies: 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
cli.azure.cli.core.sdk.policies: 'X-Content-Type-Options': 'nosniff'
cli.azure.cli.core.sdk.policies: 'Server': 'nginx'
cli.azure.cli.core.sdk.policies: 'x-ms-routing-request-id': 'CENTRALINDIA:20230602T155021Z:be3088ef-9bea-4a9b-b8f1-f0a7ddd80c75'
cli.azure.cli.core.sdk.policies: 'Date': 'Fri, 02 Jun 2023 15:50:20 GMT'
cli.azure.cli.core.sdk.policies: Response content:
cli.azure.cli.core.sdk.policies: {
"id": "/subscriptions/b571a8a7-4881-4377-94a4-7d264f5b46d3/resourcegroups/stsri-rg/providers/Microsoft.ContainerService/managedClusters/Aurora-Platform-stsri-1/agentPools/nplinux94",
"name": "nplinux94",
"type": "Microsoft.ContainerService/managedClusters/agentPools",
"properties": {
"count": 3,
"vmSize": "Standard_D4s_v3",
"osDiskSizeGB": 128,
"osDiskType": "Managed",
"kubeletDiskType": "OS",
"workloadRuntime": "OCIContainer",
"maxPods": 50,
"type": "VirtualMachineScaleSets",
"maxCount": 10,
"minCount": 3,
"enableAutoScaling": true,
"scaleDownMode": "Delete",
"provisioningState": "Succeeded",
"powerState": {
"code": "Running"
},
"orchestratorVersion": "1.24.10",
"currentOrchestratorVersion": "1.24.10",
"enableNodePublicIP": false,
"enableCustomCATrust": false,
"tags": {
"abc.123": "123 cdx.432=345 abc.345=123 cdx.4321=345"
},
"mode": "System",
"enableEncryptionAtHost": true,
"enableUltraSSD": false,
"osType": "Linux",
"osSKU": "Mariner",
"nodeImageVersion": "AKSCBLMariner-V2gen2-202305.08.0",
"upgradeSettings": {
"maxSurge": "33"
},
"enableFIPS": false
}
}
cli.knack.cli: Event: CommandInvoker.OnTransformResult [<function _resource_group_transform at 0x040E3220>, <function _x509_from_base64_to_hex_transform at 0x040E3268>]
cli.knack.cli: Event: CommandInvoker.OnFilterResult []
{
"availabilityZones": null,
"capacityReservationGroupId": null,
"count": 3,
"creationData": null,
"currentOrchestratorVersion": "1.24.10",
"enableAutoScaling": true,
"enableCustomCaTrust": false,
"enableEncryptionAtHost": true,
"enableFips": false,
"enableNodePublicIp": false,
"enableUltraSsd": false,
"gpuInstanceProfile": null,
"hostGroupId": null,
"id": "/subscriptions/b571a8a7-4881-4377-94a4-7d264f5b46d3/resourcegroups/stsri-rg/providers/Microsoft.ContainerService/managedClusters/Aurora-Platform-stsri-1/agentPools/nplinux94",
"kubeletConfig": null,
"kubeletDiskType": "OS",
"linuxOsConfig": null,
"maxCount": 10,
"maxPods": 50,
"messageOfTheDay": null,
"minCount": 3,
"mode": "System",
"name": "nplinux94",
"nodeImageVersion": "AKSCBLMariner-V2gen2-202305.08.0",
"nodeLabels": null,
"nodePublicIpPrefixId": null,
"nodeTaints": null,
"orchestratorVersion": "1.24.10",
"osDiskSizeGb": 128,
"osDiskType": "Managed",
"osSku": "Mariner",
"osType": "Linux",
"podSubnetId": null,
"powerState": {
"code": "Running"
},
"provisioningState": "Succeeded",
"proximityPlacementGroupId": null,
"resourceGroup": "stsri-rg",
"scaleDownMode": "Delete",
"scaleSetEvictionPolicy": null,
"scaleSetPriority": null,
"spotMaxPrice": null,
"tags": {
"abc.123": "123 cdx.432=345 abc.345=123 cdx.4321=345"
},
"type": "Microsoft.ContainerService/managedClusters/agentPools",
"typePropertiesType": "VirtualMachineScaleSets",
"upgradeSettings": {
"maxSurge": "33"
},
"vmSize": "Standard_D4s_v3",
"vnetSubnetId": null,
"workloadRuntime": "OCIContainer"
}
cli.knack.cli: Event: Cli.SuccessfulExecute []
cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x040AC2B0>]
az_command_data_logger: exit code: 0
cli.main: Command ran in 38.387 seconds (init: 0.886, invoke: 37.502)
telemetry.save: Save telemetry record of length 3079 in cache
Expected behavior
PS C:\Projects\2-Aurora-Base\src\Tests\ScenarioTests\Powershell\Scripts> az aks nodepool show --resource-group stsri-rg --cluster-name Aurora-Platform-Stsri-1 --name nplinux94 --query ['tags'] [ { "abc.123": "123", "cdx.432": "345", " abc.345": "123", "cdx.4321: "345" } ]
Environment Summary
PS C:\Projects\2-Aurora-Base\src\Tests\ScenarioTests\Powershell\Scripts> az --version azure-cli 2.36.0 *
core 2.36.0 telemetry 1.0.6
Extensions: aks-preview 0.5.82
Dependencies: msal 1.17.0 azure-mgmt-resource 20.0.0
Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe' Extensions directory 'C:\Users\stsrivastava.azure\cliextensions'
Python (Windows) 3.10.4 (tags/v3.10.4:9d38120, Mar 23 2022, 22:57:10) [MSC v.1929 32 bit (Intel)]
Legal docs and information: aka.ms/AzureCliLegal
Please let us know how we are doing: https://aka.ms/azureclihats and let us know if you're interested in trying out our newest features: https://aka.ms/CLIUXstudy
Additional context
No response