Bugzilla – Bug 1213070
azure-cli: 'az sig image-definition' refers to nonexisting module
Last modified: 2023-07-19 13:45:26 UTC
Created attachment 868031 [details] Full traceback of the 'az sig image-definition' command. Observation: > $ az sig image-definition > The command failed with an unexpected error. Here is the traceback: > No module named 'azure.mgmt.compute.v2022_01_03.operations._shared_gallery_images_operations' The full traceback is attached as separate file. I checked the available packages and couldn't identify anything obvious which is missing in my installation. the `az sig` command runs nicely, but the `az sig image-definition` command appears broken.
(In reply to Felix Niederwanger from comment #0) > Created attachment 868031 [details] > Full traceback of the 'az sig image-definition' command. > > Observation: > > > $ az sig image-definition > > The command failed with an unexpected error. Here is the traceback: > > No module named 'azure.mgmt.compute.v2022_01_03.operations._shared_gallery_images_operations' I just packaged 2.50.0 today which has not been accepted yet. With 2.50.0, I am getting the following output: > glaubitz@suse-laptop:~> az sig image-definition > the following arguments are required: _subcommand > > Examples from AI knowledge base: > https://aka.ms/cli_ref > Read more about the command in reference docs > glaubitz@suse-laptop:~> I guess that Robert will accept these SRs later today, so you can give it a try: > https://build.opensuse.org/request/show/1097057 > https://build.opensuse.org/request/show/1097060 > https://build.opensuse.org/request/show/1097062 > https://build.opensuse.org/request/show/1097063
Thnx! I'm gone next week, but can then verify the week after if the new changes fix the issue.
Hi Felix! (In reply to Felix Niederwanger from comment #2) > Thnx! I'm gone next week, but can then verify the week after if the new > changes fix the issue. Did you get a chance to try version 2.50.0?
Hey, Yep, with the new version the issue appears as resolved: > phoenix@racetrack-7290:~> az sig image-definition > the following arguments are required: _subcommand > > Examples from AI knowledge base: > https://aka.ms/cli_ref > Read more about the command in reference docs > phoenix@racetrack-7290:~> az sig image-definition --help > > Group > az sig image-definition : Manage shared gallery image with VM. > > ... Closing ticket and thanks for the submission!