-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
Describe the bug
Issue:
Description:
The code has circular dependency when building the object _build_schema_ipv6_express_route_circuit_peering_config_read
_build_schema_ipv6_express_route_circuit_peering_config_read is calling the _build_schema_route_filter_read before initializing ipv6_express_route_circuit_peering_config_read.secondary_peer_address_prefix
and then _build_schema_route_filter_read is again trying to intialize _build_schema_ipv6_express_route_circuit_peering_config_read
Related command
PS C:\Users\mshrimankar\source\repos> az network cross-connection show --name fd65dc0e-4693-4e6e-ae3a-8dda25f54bb7 -g CrossConnection-boydton1dc
Errors
Traceback (most recent call last):
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 233, in invoke
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 666, in execute
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 733, in _run_jobs_serially
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 703, in _run_job
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/aaz/_command.py", line 155, in call
File "C:\Users\mshrimankar.azure\cliextensions\express-route-cross-connection\azext_expressroutecrossconnection\aaz\latest\network\cross_connection_show.py", line 33, in _handler
self._execute_operations()
File "C:\Users\mshrimankar.azure\cliextensions\express-route-cross-connection\azext_expressroutecrossconnection\aaz\latest\network\cross_connection_show.py", line 60, in _execute_operations
self.ExpressRouteCrossConnectionsGet(ctx=self.ctx)()
File "C:\Users\mshrimankar.azure\cliextensions\express-route-cross-connection\azext_expressroutecrossconnection\aaz\latest\network\cross_connection_show.py", line 82, in call
return self.on_200(session)
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mshrimankar.azure\cliextensions\express-route-cross-connection\azext_expressroutecrossconnection\aaz\latest\network\cross_connection_show.py", line 140, in on_200
self.ctx.set_var(
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/aaz/_command_ctx.py", line 83, in set_var
File "C:\Users\mshrimankar.azure\cliextensions\express-route-cross-connection\azext_expressroutecrossconnection\aaz\latest\network\cross_connection_show.py", line 233, in _build_schema_on_200
_ShowHelper._build_schema_ipv6_express_route_circuit_peering_config_read(properties.ipv6_peering_config)
File "C:\Users\mshrimankar.azure\cliextensions\express-route-cross-connection\azext_expressroutecrossconnection\aaz\latest\network\cross_connection_show.py", line 355, in _build_schema_ipv6_express_route_circuit_peering_config_read
cls._build_schema_route_filter_read(ipv6_express_route_circuit_peering_config_read.route_filter)
File "C:\Users\mshrimankar.azure\cliextensions\express-route-cross-connection\azext_expressroutecrossconnection\aaz\latest\network\cross_connection_show.py", line 434, in _build_schema_route_filter_read
cls._build_schema_ipv6_express_route_circuit_peering_config_read(properties.ipv6_peering_config)
File "C:\Users\mshrimankar.azure\cliextensions\express-route-cross-connection\azext_expressroutecrossconnection\aaz\latest\network\cross_connection_show.py", line 338, in _build_schema_ipv6_express_route_circuit_peering_config_read
_schema.secondary_peer_address_prefix = cls._schema_ipv6_express_route_circuit_peering_config_read.secondary_peer_address_prefix
Issue script & Debug output
PS C:\Users\mshrimankar\source\repos> az network cross-connection show --name 048ac8ac-5dcd-4f82-a536-a0f11c0943e4 -g CrossConnection-boydton1dc --debug
cli.knack.cli: Command arguments: ['network', 'cross-connection', 'show', '--name', '048ac8ac-5dcd-4f82-a536-a0f11c0943e4', '-g', 'CrossConnection-boydton1dc', '--debug']
cli.knack.cli: init debug log:
Enable color in terminal.
Enable VT mode.
cli.knack.cli: Event: Cli.PreExecute []
cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x000002834776F380>, <function OutputProducer.on_global_arguments at 0x0000028347B0C0E0>, <function CLIQuery.on_global_arguments at 0x0000028347B354E0>]
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
cli.azure.cli.core: Modules found from index for 'network': ['azure.cli.command_modules.network', 'azure.cli.command_modules.privatedns', 'azext_expressroutecrossconnection']
cli.azure.cli.core: Loading command modules:
cli.azure.cli.core: Name Load Time Groups Commands
cli.azure.cli.core: network 1.362 117 459
cli.azure.cli.core: privatedns 0.065 14 60
cli.azure.cli.core: Total (2) 1.427 131 519
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.azure.cli.core: express-route-cross-connection 0.385 3 9 C:\Users\mshrimankar.azure\cliextensions\express-route-cross-connection
cli.azure.cli.core: Total (1) 0.385 3 9
cli.azure.cli.core: Loaded 132 groups, 528 commands.
cli.azure.cli.core: Found a match in the command table.
cli.azure.cli.core: Raw command : network cross-connection show
cli.azure.cli.core: Command table: network cross-connection show
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x0000028349E05D00>]
cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to 'C:\Users\mshrimankar.azure\commands\2025-10-17.19-05-20.network_cross-connection_show.41844.log'.
az_command_data_logger: command args: network cross-connection show --name {} -g {} --debug
cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument..add_subscription_parameter at 0x0000028349E3F380>]
cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument..add_ids_arguments at 0x0000028349ECD760>, <function register_cache_arguments..add_cache_arguments at 0x0000028349ECD8A0>, <function register_upcoming_breaking_change_info..update_breaking_change_info at 0x0000028349ECD940>]
cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x0000028347B0C180>, <function CLIQuery.handle_query_parameter at 0x0000028347B35580>, <function register_ids_argument..parse_ids_arguments at 0x0000028349ECD800>]
az_command_data_logger: extension name: express-route-cross-connection
az_command_data_logger: extension version: 1.0.0
cli.azure.cli.core.auth.persistence: build_persistence: location='C:\Users\mshrimankar\.azure\msal_token_cache.bin', encrypt=True
cli.azure.cli.core.auth.binary_cache: load: C:\Users\mshrimankar.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: Initializing with Entra authority: https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47
msal.authority: openid_config("https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/v2.0/.well-known/openid-configuration") = {'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'}
msal.application: Broker enabled? True
cli.azure.cli.core.auth.credential_adaptor: CredentialAdaptor.get_token: scopes=('https://management.core.windows.net//.default',), kwargs={}
cli.azure.cli.core.auth.msal_credentials: UserCredential.get_token: scopes=('https://management.core.windows.net//.default',), claims=None, kwargs={}
msal.broker: [MSAL:0001] INFO LogTelemetryData:422 Printing Telemetry for Correlation ID: afdb88c2-8aed-49c8-9a1b-031fa74389af
msal.broker: [MSAL:0001] INFO LogTelemetryData:430 Key: start_time, Value: 2025-10-18T02:05:20.000Z
msal.broker: [MSAL:0001] INFO LogTelemetryData:430 Key: api_name, Value: ReadAccountById
msal.broker: [MSAL:0001] INFO LogTelemetryData:430 Key: was_request_throttled, Value: false
msal.broker: [MSAL:0001] INFO LogTelemetryData:430 Key: authority_type, Value: Unknown
msal.broker: [MSAL:0001] INFO LogTelemetryData:430 Key: msal_version, Value: 1.1.0+local
msal.broker: [MSAL:0001] INFO LogTelemetryData:430 Key: correlation_id, Value: afdb88c2-8aed-49c8-9a1b-031fa74389af
msal.broker: [MSAL:0001] INFO LogTelemetryData:430 Key: broker_app_used, Value: false
msal.broker: [MSAL:0001] INFO LogTelemetryData:430 Key: stop_time, Value: 2025-10-18T02:05:20.000Z
msal.broker: [MSAL:0001] INFO LogTelemetryData:430 Key: msalruntime_version, Value: 0.16.2
msal.broker: [MSAL:0001] INFO LogTelemetryData:430 Key: is_successful, Value: true
msal.broker: [MSAL:0001] INFO LogTelemetryData:430 Key: request_duration, Value: 0
msal.broker: [MSAL:0002] WARNING SetAuthorityUri:78 Initializing authority from URI 'https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47' without authority type, defaulting to MsSts
msal.broker: [MSAL:0002] INFO SetCorrelationId:258 Set correlation ID: afdb88c2-8aed-49c8-9a1b-031fa74389af
msal.broker: [MSAL:0002] INFO EnqueueBackgroundRequest:1000 The original authority is 'https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47'
msal.broker: [MSAL:0002] INFO ModifyAndValidateAuthParameters:243 Authority Realm: 72f988bf-86f1-41af-91ab-2d7cd011db47
msal.broker: [MSAL:0002] WARNING TryEnqueueMsaDeviceCredentialAcquisitionAndContinue:1052 MsaDeviceOperationProvider is not available. Not attempting to register the device.
msal.broker: [MSAL:0003] INFO StorageTokenResponse:84 StorageTokenResponse account constructor invoked. This is only expected in Runtime flows
msal.broker: [MSAL:0003] INFO LogTelemetryData:422 Printing Telemetry for Correlation ID: afdb88c2-8aed-49c8-9a1b-031fa74389af
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: start_time, Value: 2025-10-18T02:05:20.000Z
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: api_name, Value: AcquireTokenSilently
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: was_request_throttled, Value: false
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: authority_type, Value: AAD
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: access_token_expiry_time, Value: 2025-10-18T02:13:00.000Z
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: read_token, Value: ID|AT
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: msal_version, Value: 1.1.0+local
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: client_id, Value: 04b07795-8ddb-461a-bbee-02f9e1bf7b46
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: correlation_id, Value: afdb88c2-8aed-49c8-9a1b-031fa74389af
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: broker_app_used, Value: false
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: stop_time, Value: 2025-10-18T02:05:20.000Z
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: msalruntime_version, Value: 0.16.2
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: original_authority, Value: https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: request_eligible_for_broker, Value: true
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: additional_query_parameters_count, Value: 0
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: storage_read, Value: DAC|DAT|DID
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: auth_flow, Value: AT
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: is_successful, Value: true
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: authorization_type, Value: WindowsIntegratedAuth
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: request_duration, Value: 27
msal.broker: [MSAL:0003] INFO LogTelemetryData:435 Printing Execution Flow:
msal.broker: [MSAL:0003] INFO LogTelemetryData:443 {"t":"4s7uc","tid":2,"ts":0,"l":2},{"t":"4sufd","tid":2,"ts":0,"s":2,"l":2},{"t":"4swgg","tid":2,"ts":0,"s":1,"l":2},{"t":"4swgf","tid":2,"ts":0,"s":1,"l":2},{"t":"4swgi","tid":3,"ts":1,"s":1,"l":2},{"t":"8b2yn","tid":3,"ts":1,"l":2},{"t":"8dqkx","tid":3,"ts":1,"l":2},{"t":"8dqik","tid":3,"ts":1,"l":2},{"t":"4q2di","tid":3,"ts":1,"l":2},{"t":"4qnng","tid":3,"ts":1,"l":2,"a":2,"ie":0},{"t":"4qnnf","tid":3,"ts":2,"l":2,"a":2,"ie":1},{"t":"8dqit","tid":3,"ts":2,"l":2},{"t":"8b2ht","tid":3,"ts":2,"l":2},{"t":"4qnno","tid":3,"ts":2,"l":2,"a":2,"ie":0},{"t":"4qnnn","tid":3,"ts":27,"l":2,"a":2,"ie":1},{"t":"6xuag","tid":3,"ts":27,"l":2}
msal.token_cache: event={
"_account_id": "b2518563-eafc-4ef4-aa06-011b62695a06",
"client_id": "04b07795-8ddb-461a-bbee-02f9e1bf7b46",
"data": {},
"environment": "login.microsoftonline.com",
"grant_type": "broker",
"response": {
"_account_id": "b2518563-eafc-4ef4-aa06-011b62695a06",
"_msalruntime_telemetry": {
"DATA LIMITED": "Full MSALRuntime telemetry not yet implemented",
"api_name": "AcquireTokenSilently",
"broker_app_used": "false",
"client_id": "04b07795-8ddb-461a-bbee-02f9e1bf7b46",
"correlation_id": "afdb88c2-8aed-49c8-9a1b-031fa74389af",
"is_successful": "true",
"msal_version": "1.1.0+local",
"msalruntime_version": "0.16.2"
},
"access_token": "",
"client_info": "eyJ1aWQiOiJiMjUxODU2My1lYWZjLTRlZjQtYWEwNi0wMTFiNjI2OTVhMDYiLCJ1dGlkIjoiNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3IiwiY2xvdWRfaW5zdGFuY2VfbmFtZSI6Im1pY3Jvc29mdG9ubGluZS5jb20iLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJtc2hyaW1hbmthckBtaWNyb3NvZnQuY29tIn0",
"expires_in": 460,
"id_token": "",
"id_token_claims": "***",
"scope": "https://management.core.windows.net//user_impersonation https://management.core.windows.net//.default",
"token_type": "bearer"
},
"scope": [
"https://management.core.windows.net//user_impersonation",
"https://management.core.windows.net//.default"
],
"token_endpoint": "https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/token"
}
cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/a744b870-a372-4356-a93d-b48fb0048385/resourceGroups/CrossConnection-boydton1dc/providers/Microsoft.Network/expressRouteCrossConnections/048ac8ac-5dcd-4f82-a536-a0f11c0943e4?api-version=2018-04-01'
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': 'e537b55e-abc6-11f0-b695-002248bdbb74'
cli.azure.cli.core.sdk.policies: 'CommandName': 'network cross-connection show'
cli.azure.cli.core.sdk.policies: 'ParameterSetName': '--name -g --debug'
cli.azure.cli.core.sdk.policies: 'User-Agent': 'AZURECLI/2.67.0 (MSI) azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.26200-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/a744b870-a372-4356-a93d-b48fb0048385/resourceGroups/CrossConnection-boydton1dc/providers/Microsoft.Network/expressRouteCrossConnections/048ac8ac-5dcd-4f82-a536-a0f11c0943e4?api-version=2018-04-01 HTTP/1.1" 200 1380
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: 'Content-Length': '1380'
cli.azure.cli.core.sdk.policies: 'Content-Type': 'application/json; charset=utf-8'
cli.azure.cli.core.sdk.policies: 'Expires': '-1'
cli.azure.cli.core.sdk.policies: 'x-ms-request-id': '675b7a86-082e-472f-b1c4-03ff9d00af3d'
cli.azure.cli.core.sdk.policies: 'x-ms-correlation-request-id': 'f5a913ab-7e89-411e-9e51-9e8b36a7cb50'
cli.azure.cli.core.sdk.policies: 'x-ms-arm-service-request-id': '59301afb-ce39-4023-9233-c4ba4c77f7d7'
cli.azure.cli.core.sdk.policies: 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
cli.azure.cli.core.sdk.policies: 'x-ms-ratelimit-remaining-subscription-reads': '1099'
cli.azure.cli.core.sdk.policies: 'x-ms-ratelimit-remaining-subscription-global-reads': '16499'
cli.azure.cli.core.sdk.policies: 'x-ms-routing-request-id': 'WESTUS2:20251018T020522Z:f5a913ab-7e89-411e-9e51-9e8b36a7cb50'
cli.azure.cli.core.sdk.policies: 'X-Content-Type-Options': 'nosniff'
cli.azure.cli.core.sdk.policies: 'X-Cache': 'CONFIG_NOCACHE'
cli.azure.cli.core.sdk.policies: 'X-MSEdge-Ref': 'Ref A: 16AB38688B6E4B79B58D1BFEA2AE1B2C Ref B: MWH011020807034 Ref C: 2025-10-18T02:05:21Z'
cli.azure.cli.core.sdk.policies: 'Date': 'Sat, 18 Oct 2025 02:05:22 GMT'
cli.azure.cli.core.sdk.policies: Response content:
cli.azure.cli.core.sdk.policies: {"name":"048ac8ac-5dcd-4f82-a536-a0f11c0943e4","id":"/subscriptions/a744b870-a372-4356-a93d-b48fb0048385/resourceGroups/CrossConnection-boydton1dc/providers/Microsoft.Network/expressRouteCrossConnections/048ac8ac-5dcd-4f82-a536-a0f11c0943e4","etag":"W/"efabd98c-36af-4104-8573-fc40ec67479d"","type":"Microsoft.Network/expressRouteCrossConnections","location":"eastus","properties":{"provisioningState":"Succeeded","expressRouteCircuit":{"id":"/subscriptions/21712a65-c7e0-45e9-8ce2-c15c26c4a1c1/resourceGroups/resizedpbl-2025-10-18-00-45-09/providers/Microsoft.Network/expressRouteCircuits/cxCircuit"},"peeringLocation":"boydton 1 dc","bandwidthInMbps":200,"serviceProviderProvisioningState":"Provisioned","primaryAzurePort":"bvtcustomerixp01","secondaryAzurePort":"bvtcustomerixp01","sTag":1289,"peerings":[{"name":"AzurePrivatePeering","id":"/subscriptions/a744b870-a372-4356-a93d-b48fb0048385/resourceGroups/CrossConnection-boydton1dc/providers/Microsoft.Network/expressRouteCrossConnections/048ac8ac-5dcd-4f82-a536-a0f11c0943e4/peerings/AzurePrivatePeering","properties":{"provisioningState":"Succeeded","peeringType":"AzurePrivatePeering","azureASN":12076,"peerASN":12076,"primaryAzurePort":"","secondaryAzurePort":"","state":"Disabled","vlanId":727,"gatewayManagerEtag":"11","lastModifiedBy":"Customer"},"type":"Microsoft.Network/expressRouteCrossConnections/peerings"}]}}
cli.azure.cli.core.azclierror: Traceback (most recent call last):
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 233, in invoke
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 666, in execute
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 733, in _run_jobs_serially
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 703, in _run_job
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/aaz/_command.py", line 155, in call
File "C:\Users\mshrimankar.azure\cliextensions\express-route-cross-connection\azext_expressroutecrossconnection\aaz\latest\network\cross_connection_show.py", line 33, in _handler
self._execute_operations()
File "C:\Users\mshrimankar.azure\cliextensions\express-route-cross-connection\azext_expressroutecrossconnection\aaz\latest\network\cross_connection_show.py", line 60, in _execute_operations
self.ExpressRouteCrossConnectionsGet(ctx=self.ctx)()
File "C:\Users\mshrimankar.azure\cliextensions\express-route-cross-connection\azext_expressroutecrossconnection\aaz\latest\network\cross_connection_show.py", line 82, in call
return self.on_200(session)
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mshrimankar.azure\cliextensions\express-route-cross-connection\azext_expressroutecrossconnection\aaz\latest\network\cross_connection_show.py", line 140, in on_200
self.ctx.set_var(
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/aaz/_command_ctx.py", line 83, in set_var
File "C:\Users\mshrimankar.azure\cliextensions\express-route-cross-connection\azext_expressroutecrossconnection\aaz\latest\network\cross_connection_show.py", line 233, in _build_schema_on_200
_ShowHelper._build_schema_ipv6_express_route_circuit_peering_config_read(properties.ipv6_peering_config)
File "C:\Users\mshrimankar.azure\cliextensions\express-route-cross-connection\azext_expressroutecrossconnection\aaz\latest\network\cross_connection_show.py", line 355, in _build_schema_ipv6_express_route_circuit_peering_config_read
cls._build_schema_route_filter_read(ipv6_express_route_circuit_peering_config_read.route_filter)
File "C:\Users\mshrimankar.azure\cliextensions\express-route-cross-connection\azext_expressroutecrossconnection\aaz\latest\network\cross_connection_show.py", line 434, in _build_schema_route_filter_read
cls._build_schema_ipv6_express_route_circuit_peering_config_read(properties.ipv6_peering_config)
File "C:\Users\mshrimankar.azure\cliextensions\express-route-cross-connection\azext_expressroutecrossconnection\aaz\latest\network\cross_connection_show.py", line 338, in _build_schema_ipv6_express_route_circuit_peering_config_read
_schema.secondary_peer_address_prefix = cls._schema_ipv6_express_route_circuit_peering_config_read.secondary_peer_address_prefix
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/aaz/_field_type.py", line 166, in getattr
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/aaz/_field_type.py", line 129, in getitem
azure.cli.core.aaz.exceptions.AAZUnknownFieldError: Model 'AAZObjectType' has no field named 'secondary_peer_address_prefix'
cli.azure.cli.core.azclierror: The command failed with an unexpected error. Here is the traceback:
az_command_data_logger: The command failed with an unexpected error. Here is the traceback:
cli.azure.cli.core.azclierror: Model 'AAZObjectType' has no field named 'secondary_peer_address_prefix'
Traceback (most recent call last):
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 233, in invoke
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 666, in execute
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 733, in _run_jobs_serially
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 703, in _run_job
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/aaz/_command.py", line 155, in call
File "C:\Users\mshrimankar.azure\cliextensions\express-route-cross-connection\azext_expressroutecrossconnection\aaz\latest\network\cross_connection_show.py", line 33, in _handler
self._execute_operations()
File "C:\Users\mshrimankar.azure\cliextensions\express-route-cross-connection\azext_expressroutecrossconnection\aaz\latest\network\cross_connection_show.py", line 60, in _execute_operations
self.ExpressRouteCrossConnectionsGet(ctx=self.ctx)()
File "C:\Users\mshrimankar.azure\cliextensions\express-route-cross-connection\azext_expressroutecrossconnection\aaz\latest\network\cross_connection_show.py", line 82, in call
return self.on_200(session)
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mshrimankar.azure\cliextensions\express-route-cross-connection\azext_expressroutecrossconnection\aaz\latest\network\cross_connection_show.py", line 140, in on_200
self.ctx.set_var(
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/aaz/_command_ctx.py", line 83, in set_var
File "C:\Users\mshrimankar.azure\cliextensions\express-route-cross-connection\azext_expressroutecrossconnection\aaz\latest\network\cross_connection_show.py", line 233, in _build_schema_on_200
_ShowHelper._build_schema_ipv6_express_route_circuit_peering_config_read(properties.ipv6_peering_config)
File "C:\Users\mshrimankar.azure\cliextensions\express-route-cross-connection\azext_expressroutecrossconnection\aaz\latest\network\cross_connection_show.py", line 355, in _build_schema_ipv6_express_route_circuit_peering_config_read
cls._build_schema_route_filter_read(ipv6_express_route_circuit_peering_config_read.route_filter)
File "C:\Users\mshrimankar.azure\cliextensions\express-route-cross-connection\azext_expressroutecrossconnection\aaz\latest\network\cross_connection_show.py", line 434, in _build_schema_route_filter_read
cls._build_schema_ipv6_express_route_circuit_peering_config_read(properties.ipv6_peering_config)
File "C:\Users\mshrimankar.azure\cliextensions\express-route-cross-connection\azext_expressroutecrossconnection\aaz\latest\network\cross_connection_show.py", line 338, in _build_schema_ipv6_express_route_circuit_peering_config_read
_schema.secondary_peer_address_prefix = cls._schema_ipv6_express_route_circuit_peering_config_read.secondary_peer_address_prefix
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/aaz/_field_type.py", line 166, in getattr
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/aaz/_field_type.py", line 129, in getitem
azure.cli.core.aaz.exceptions.AAZUnknownFieldError: Model 'AAZObjectType' has no field named 'secondary_peer_address_prefix'
az_command_data_logger: Model 'AAZObjectType' has no field named 'secondary_peer_address_prefix'
Traceback (most recent call last):
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 233, in invoke
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 666, in execute
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 733, in _run_jobs_serially
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 703, in _run_job
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/aaz/_command.py", line 155, in call
File "C:\Users\mshrimankar.azure\cliextensions\express-route-cross-connection\azext_expressroutecrossconnection\aaz\latest\network\cross_connection_show.py", line 33, in _handler
self._execute_operations()
File "C:\Users\mshrimankar.azure\cliextensions\express-route-cross-connection\azext_expressroutecrossconnection\aaz\latest\network\cross_connection_show.py", line 60, in _execute_operations
self.ExpressRouteCrossConnectionsGet(ctx=self.ctx)()
File "C:\Users\mshrimankar.azure\cliextensions\express-route-cross-connection\azext_expressroutecrossconnection\aaz\latest\network\cross_connection_show.py", line 82, in call
return self.on_200(session)
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mshrimankar.azure\cliextensions\express-route-cross-connection\azext_expressroutecrossconnection\aaz\latest\network\cross_connection_show.py", line 140, in on_200
self.ctx.set_var(
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/aaz/_command_ctx.py", line 83, in set_var
File "C:\Users\mshrimankar.azure\cliextensions\express-route-cross-connection\azext_expressroutecrossconnection\aaz\latest\network\cross_connection_show.py", line 233, in _build_schema_on_200
_ShowHelper._build_schema_ipv6_express_route_circuit_peering_config_read(properties.ipv6_peering_config)
File "C:\Users\mshrimankar.azure\cliextensions\express-route-cross-connection\azext_expressroutecrossconnection\aaz\latest\network\cross_connection_show.py", line 355, in _build_schema_ipv6_express_route_circuit_peering_config_read
cls._build_schema_route_filter_read(ipv6_express_route_circuit_peering_config_read.route_filter)
File "C:\Users\mshrimankar.azure\cliextensions\express-route-cross-connection\azext_expressroutecrossconnection\aaz\latest\network\cross_connection_show.py", line 434, in _build_schema_route_filter_read
cls._build_schema_ipv6_express_route_circuit_peering_config_read(properties.ipv6_peering_config)
File "C:\Users\mshrimankar.azure\cliextensions\express-route-cross-connection\azext_expressroutecrossconnection\aaz\latest\network\cross_connection_show.py", line 338, in _build_schema_ipv6_express_route_circuit_peering_config_read
_schema.secondary_peer_address_prefix = cls._schema_ipv6_express_route_circuit_peering_config_read.secondary_peer_address_prefix
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/aaz/_field_type.py", line 166, in getattr
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/aaz/field_type.py", line 129, in getitem
azure.cli.core.aaz.exceptions.AAZUnknownFieldError: Model 'AAZObjectType' has no field named 'secondary_peer_address_prefix'
To check existing issues, please visit: https://github.com/Azure/azure-cli/issues
cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x0000028349E05F80>]
az_command_data_logger: exit code: 1
cli.main: Command ran in 4.406 seconds (init: 0.502, invoke: 3.904)
telemetry.main: Begin splitting cli events and extra events, total events: 1
telemetry.client: Accumulated 0 events. Flush the clients.
telemetry.main: Finish splitting cli events and extra events, cli events: 1
telemetry.save: Save telemetry record of length 8927 in cache file under C:\Users\mshrimankar.azure\telemetry\20251017190522608
telemetry.main: Begin creating telemetry upload process.
telemetry.process: Creating upload process: "C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe C:\Program Files\Microsoft SDKs\Azure\CLI2\Lib\site-packages\azure\cli\telemetry_init.pyc C:\Users\mshrimankar.azure C:\Users\mshrimankar.azure\telemetry\20251017190522608"
telemetry.process: Return from creating process 19100
telemetry.main: Finish creating telemetry upload process.
Expected behavior
It should not throw error
Environment Summary
azure-cli 2.67.0 *
core 2.67.0 *
telemetry 1.1.0
Extensions:
express-route-cross-connection 1.0.0
Dependencies:
msal 1.31.0
azure-mgmt-resource 23.1.1
Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\mshrimankar.azure\cliextensions'
Python (Windows) 3.12.7 (tags/v3.12.7:0b05ead, Oct 1 2024, 03:06:41) [MSC v.1941 64 bit (AMD64)]
Legal docs and information: aka.ms/AzureCliLegal
Additional context
The same issue is happening with below command
az network cross-connection peering list --cross-connection-name <> --resource-group <> --output table
No response