question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Image List shows an empty list of images

See original GitHub issue

Describe the bug

Command Name az image list --debug --verbose

Errors:

cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument.<locals>.add_subscription_parameter at 0x101d5e320>]
cli.azure.cli.core.profiles._shared: Traceback (most recent call last):
  File "/usr/local/Cellar/azure-cli/2.33.1/libexec/lib/python3.10/site-packages/azure/cli/core/profiles/_shared.py", line 600, in _get_attr
    op = getattr(op, part)
AttributeError: module 'azure.mgmt.compute.v2021_04_01.models' has no attribute 'DiskStorageAccountTypes,'

cli.azure.cli.core.profiles._shared: Traceback (most recent call last):
  File "/usr/local/Cellar/azure-cli/2.33.1/libexec/lib/python3.10/site-packages/azure/cli/core/profiles/_shared.py", line 600, in _get_attr
    op = getattr(op, part)
AttributeError: module 'azure.mgmt.compute.v2021_07_01.models' has no attribute 'EncryptionType'

cli.azure.cli.core.profiles._shared: Traceback (most recent call last):
  File "/usr/local/Cellar/azure-cli/2.33.1/libexec/lib/python3.10/site-packages/azure/cli/core/profiles/_shared.py", line 600, in _get_attr
    op = getattr(op, part)
AttributeError: module 'azure.mgmt.compute.v2021_07_01.models' has no attribute 'EncryptionType'

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • az image list --debug --verbose
  • show an empty list of images (it should show one existing image)

Expected Behavior

Should show one existing image

Environment Summary

macOS-12.2.1-x86_64-i386-64bit, Darwin 21.3.0
Python 3.10.2
Installer: HOMEBREW

azure-cli 2.33.1

Extensions:
azure-iot 0.13.0
storage-blob-preview 0.6.1

Dependencies:
msal 1.16.0
azure-mgmt-resource 20.0.0

Additional Context

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
zhoxing-mscommented, Mar 1, 2022

@snowsky Don’t worry. After we label this issue as CXP Attention, our CXP team will route the issue to service team. If this issue does not receive a timely reply, please tell me again and I will find the relevant team

0reactions
snowskycommented, May 20, 2022

@navba-MSFT sorry, just saw the replies. I don’t know if I can reproduce the issue. Will keep you posted 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

ImageList.ImageCollection.Empty Property - Microsoft Learn
Gets a value indicating whether the ImageList has any images. ... Empty Property. Reference ... true if there are no images in the...
Read more >
Why is docker images list empty? - Stack Overflow
Another alternative answer is to enter docker image ls. Share.
Read more >
San Diego Empty list picture - ServiceNow Community
San Diego Empty list picture ... I notice when I do a new search in the browser and there are no results I...
Read more >
199448 Empty List Images, Stock Photos & Vectors
Empty List royalty-free images. 199,448 empty list stock photos, vectors, and illustrations are available royalty-free. See empty list stock video clips.
Read more >
(Fixed) Image (or alias) already exists error, but 'lxc image list ...
I've used both the 18.04 image and the 'ac-ubuntu-18.04' alias before, but I have deleted that ... However lxc image list shows no...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found