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

K8S dashboard being lost on cloud-shell timeout.

Open allen-oneill opened this issue 6 years ago • 4 comments

This is autogenerated. Please review and update as needed.

cloud shell timed out. went to login again and reopen dashboard. failed with error. tried again using '--listen-port:8089' .... gave the error below.... repeatable.

Command Name az aks browse

Errors:

'url'
Traceback (most recent call last):
python3.6/site-packages/knack/cli.py, ln 206, in invoke
    cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 608, in execute
    raise ex
cli/core/commands/__init__.py, ln 666, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
cli/core/commands/__init__.py, ln 659, in _run_job
    six.reraise(*sys.exc_info())
lib/python3.6/site-packages/six.py, ln 693, in reraise
    raise value
cli/core/commands/__init__.py, ln 636, in _run_job
    result = cmd_copy(params)
cli/core/commands/__init__.py, ln 306, in __call__
    return self.handler(*args, **kwargs)
azure/cli/core/__init__.py, ln 493, in default_command_handler
    return op(**command_args)
cli/command_modules/acs/custom.py, ln 1563, in aks_browse
    result['url'], protocol)
KeyError: 'url'

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 aks browse --resource-group {} --name {} --listen-port={}

Expected Behavior

Environment Summary

Linux-4.15.0-1075-azure-x86_64-with-debian-stretch-sid
Python 3.6.5

azure-cli 2.2.0 *

Additional Context

allen-oneill avatar Apr 19 '20 19:04 allen-oneill

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Azure/aks-pm.

ghost avatar Apr 19 '20 22:04 ghost

aks

yonzhan avatar Apr 19 '20 22:04 yonzhan

commands in core.

yungezz avatar Apr 20 '20 13:04 yungezz

Hello! Please try again with the latest Azure CLI version. Feel free to reopen an issue if it still doesn't work.

https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest

Jen7714 avatar May 29 '20 15:05 Jen7714