azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

Unexpected error while list autoscale rules

Open sbhuttan opened this issue 6 years ago • 2 comments

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name az monitor autoscale rule list

Errors:

Traceback (most recent call last):
Temp\pip-install-2ombfg7z\knack\knack\cli.py, ln 206, in invoke
azure\cli\core\commands\__init__.py, ln 608, in execute
azure\cli\core\commands\__init__.py, ln 666, in _run_jobs_serially
azure\cli\core\commands\__init__.py, ln 657, in _run_job
azure\cli\command_modules\monitor\_exception_handler.py, ln 42, in monitor_exception_handler
Local\Temp\pip-install-2ombfg7z\six\six.py, ln 696, in reraise
azure\cli\core\commands\__init__.py, ln 636, in _run_job
azure\cli\core\commands\__init__.py, ln 306, in __call__
azure-cli-core\azure\cli\core\__init__.py, ln 493, in default_command_handler
cli\command_modules\monitor\operations\autoscale_settings.py, ln 341, in autoscale_rule_list
StopIteration

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 monitor autoscale rule list --autoscale-name {} --resource-group {}

Expected Behavior

Environment Summary

Windows-10-10.0.17763-SP0
Python 3.6.6
Shell: powershell.exe

azure-cli 2.0.78 *

Additional Context

sbhuttan avatar Feb 13 '20 22:02 sbhuttan

Hi @MyronFanQiu , could you please help take a look at it?

arrownj avatar Feb 14 '20 01:02 arrownj

add to S167.

yonzhan avatar Feb 14 '20 13:02 yonzhan