cdn name-exists command failure in pipeline
See original GitHub issueThis is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az cdn name-exists
Errors:
The command failed with an unexpected error. Here is the traceback:
CheckNameAvailabilityInput.__init__() missing 1 required keyword-only argument: 'type'
Traceback (most recent call last):
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 231, in invoke
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 658, in execute
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 721, in _run_jobs_serially
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 692, in _run_job
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 328, in __call__
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 121, in handler
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/cdn/custom/custom.py", line 156, in check_name_availability
TypeError: CheckNameAvailabilityInput.__init__() missing 1 required keyword-only argument: 'type'
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
- Put any pre-requisite steps here…
az cdn name-exists -n {}
Running az cdn name-exists -n
with any name fails with the above traceback, First found in Azure pipeline, can also be reproduced on a local machine running the latest release.
Expected Behavior
Command runs successfully.
Environment Summary
Windows-10-10.0.19043-SP0
Python 3.10.3
Installer: MSI
azure-cli 2.35.0
Additional Context
Issue Analytics
- State:
- Created a year ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Resource not found errors - Azure Resource Manager
Describes how to resolve errors when a resource can't be found. The error might occur when you deploy a Bicep file or Azure...
Read more >The specified blob does not exist - Shows in azure browser
Try downloading a file which does not contain spaces or any special characters in its name and it should work just fine. Share....
Read more >Troubleshoot Dataflow errors - Google Cloud
This error occurs if a single operation causes the worker code to fail four times. Dataflow fails the job, and this message is...
Read more >Mutations - Sanity.io
The operation will fail if a document by the provided ID already exists. ... 'https://<project-id>.api.sanity.io/v2021-06-07/data/mutate/<dataset-name>?
Read more >Steps · Codefresh | Docs
Learn the types of Pipeline steps. ... "folder where package.json is located" } } } steps: main: name: kostis-codefresh/node-version image: node commands: ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@SaurabhSharma-MSFT We are not owing cdn so I am searching to reroute this issue to cdn team.
@eglavin I am able to reproduce this issue with CLI version 2.35. This command does however worked with CLI version 2.34.1
I am redirecting this to services team to look into this issue.