Your message dated Fri, 05 Nov 2021 20:34:18 +0000
with message-id <[email protected]>
and subject line Bug#989676: fixed in azure-cli 2.30.0-1
has caused the Debian Bug report #989676,
regarding ERROR: API version 2020-11-01-preview does not have operation group 
'registries'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
989676: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=989676
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: azure-cli
Version: 2.18.0-2

"az aks update" died with

module.cluster.null_resource.cluster (local-exec): Executing: ["/bin/sh" "-c" "az 
aks update --resource-group $RESOURCE_GROUP --name $CLUSTER_NAME --attach-acr $REGISTRY_ID"]
module.cluster.null_resource.cluster (local-exec): ERROR: CLIInternalError: The 
command failed with an unexpected error. Here is the traceback:
module.cluster.null_resource.cluster (local-exec): ERROR: API version 
2020-11-01-preview does not have operation group 'registries'

See attachment for the complete message and python dump.

Using Microsoft's azure-cli Debian package (version 2.24.2-1~buster)
there was no such problem.


Regards
Harri
module.cluster.null_resource.cluster (local-exec): Executing: ["/bin/sh" "-c" 
"az aks update --resource-group $RESOURCE_GROUP --name $CLUSTER_NAME 
--attach-acr $REGISTRY_ID"]
module.cluster.null_resource.cluster (local-exec): ERROR: CLIInternalError: The 
command failed with an unexpected error. Here is the traceback:
module.cluster.null_resource.cluster (local-exec): ERROR: API version 
2020-11-01-preview does not have operation group 'registries'
module.cluster.null_resource.cluster (local-exec): Traceback (most recent call 
last):
module.cluster.null_resource.cluster (local-exec):   File 
"/usr/lib/python3/dist-packages/knack/cli.py", line 233, in invoke
module.cluster.null_resource.cluster (local-exec):     cmd_result = 
self.invocation.execute(args)
module.cluster.null_resource.cluster (local-exec):   File 
"/usr/lib/python3/dist-packages/azure/cli/core/commands/__init__.py", line 659, 
in execute
module.cluster.null_resource.cluster (local-exec):     raise ex
module.cluster.null_resource.cluster (local-exec):   File 
"/usr/lib/python3/dist-packages/azure/cli/core/commands/__init__.py", line 722, 
in _run_jobs_serially
module.cluster.null_resource.cluster (local-exec):     
results.append(self._run_job(expanded_arg, cmd_copy))
module.cluster.null_resource.cluster (local-exec):   File 
"/usr/lib/python3/dist-packages/azure/cli/core/commands/__init__.py", line 715, 
in _run_job
module.cluster.null_resource.cluster (local-exec):     
six.reraise(*sys.exc_info())
module.cluster.null_resource.cluster (local-exec):   File 
"/usr/lib/python3/dist-packages/six.py", line 719, in reraise
module.cluster.null_resource.cluster (local-exec):     raise value
module.cluster.null_resource.cluster (local-exec):   File 
"/usr/lib/python3/dist-packages/azure/cli/core/commands/__init__.py", line 693, 
in _run_job
module.cluster.null_resource.cluster (local-exec):     result = cmd_copy(params)
module.cluster.null_resource.cluster (local-exec):   File 
"/usr/lib/python3/dist-packages/azure/cli/core/commands/__init__.py", line 330, 
in __call__
module.cluster.null_resource.cluster (local-exec):     return 
self.handler(*args, **kwargs)
module.cluster.null_resource.cluster (local-exec):   File 
"/usr/lib/python3/dist-packages/azure/cli/core/__init__.py", line 786, in 
default_command_handler
module.cluster.null_resource.cluster (local-exec):     return op(**command_args)
module.cluster.null_resource.cluster (local-exec):   File 
"/usr/lib/python3/dist-packages/azure/cli/command_modules/acs/custom.py", line 
2552, in aks_update
module.cluster.null_resource.cluster (local-exec):     
_ensure_aks_acr(cmd.cli_ctx,
module.cluster.null_resource.cluster (local-exec):   File 
"/usr/lib/python3/dist-packages/azure/cli/command_modules/acs/custom.py", line 
3264, in _ensure_aks_acr
module.cluster.null_resource.cluster (local-exec):     registry = 
acr_client.registries.get(parsed_registry['resource_group'], 
parsed_registry['name'])
module.cluster.null_resource.cluster (local-exec):   File 
"/usr/lib/python3/dist-packages/azure/mgmt/containerregistry/_container_registry_management_client.py",
 line 304, in registries
module.cluster.null_resource.cluster (local-exec):     raise ValueError("API 
version {} does not have operation group 'registries'".format(api_version))
module.cluster.null_resource.cluster (local-exec): ValueError: API version 
2020-11-01-preview does not have operation group 'registries'
module.cluster.null_resource.cluster (local-exec): To open an issue, please 
run: 'az feedback'
module.cluster.azurerm_role_assignment.aks_sp_container_registry: Still 
creating... [10s elapsed]
module.cluster.azurerm_role_assignment.netcontributor_nodes: Still creating... 
[10s elapsed]
azurerm_private_dns_zone_virtual_network_link.hublink: Still creating... [10s 
elapsed]
module.cluster.azurerm_role_assignment.aks_sp_container_registry: Still 
creating... [20s elapsed]
module.cluster.azurerm_role_assignment.netcontributor_nodes: Still creating... 
[20s elapsed]
azurerm_private_dns_zone_virtual_network_link.hublink: Still creating... [20s 
elapsed]
module.cluster.azurerm_role_assignment.aks_sp_container_registry: Creation 
complete after 23s 
[id=/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/hdu/providers/Microsoft.ContainerRegistry/registries/hduregistry/providers/Microsoft.Authorization/roleAssignments/594fc628-dbd9-af8b-51c7-e92ce92b6397]
module.cluster.azurerm_role_assignment.netcontributor_nodes: Creation complete 
after 24s 
[id=/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/hdu/providers/Microsoft.Network/virtualNetworks/kube1-vnet/subnets/aks-subnet/providers/Microsoft.Authorization/roleAssignments/b341a5af-c7de-0047-a70f-fa1834b6e4db]
azurerm_private_dns_zone_virtual_network_link.hublink: Still creating... [30s 
elapsed]
azurerm_private_dns_zone_virtual_network_link.hublink: Creation complete after 
32s 
[id=/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/hdu-aks-nodes/providers/Microsoft.Network/privateDnsZones/3024feb1-5acb-41e9-9c97-852c4087a135.privatelink.germanywestcentral.azmk8s.io/virtualNetworkLinks/hublink]
╷
│ Error: local-exec provisioner error
│ 
│   with module.cluster.null_resource.cluster,
│   on modules/cluster/main.tf line 75, in resource "null_resource" "cluster":
│   75:   provisioner "local-exec" {
│ 
│ Error running command 'az aks update --resource-group $RESOURCE_GROUP --name 
$CLUSTER_NAME --attach-acr
│ $REGISTRY_ID': exit status 1. Output: ERROR: CLIInternalError: The command 
failed with an unexpected error. Here is
│ the traceback:
│ ERROR: API version 2020-11-01-preview does not have operation group 
'registries'
│ Traceback (most recent call last):
│   File "/usr/lib/python3/dist-packages/knack/cli.py", line 233, in invoke
│     cmd_result = self.invocation.execute(args)
│   File "/usr/lib/python3/dist-packages/azure/cli/core/commands/__init__.py", 
line 659, in execute
│     raise ex
│   File "/usr/lib/python3/dist-packages/azure/cli/core/commands/__init__.py", 
line 722, in _run_jobs_serially
│     results.append(self._run_job(expanded_arg, cmd_copy))
│   File "/usr/lib/python3/dist-packages/azure/cli/core/commands/__init__.py", 
line 715, in _run_job
│     six.reraise(*sys.exc_info())
│   File "/usr/lib/python3/dist-packages/six.py", line 719, in reraise
│     raise value
│   File "/usr/lib/python3/dist-packages/azure/cli/core/commands/__init__.py", 
line 693, in _run_job
│     result = cmd_copy(params)
│   File "/usr/lib/python3/dist-packages/azure/cli/core/commands/__init__.py", 
line 330, in __call__
│     return self.handler(*args, **kwargs)
│   File "/usr/lib/python3/dist-packages/azure/cli/core/__init__.py", line 786, 
in default_command_handler
│     return op(**command_args)
│   File 
"/usr/lib/python3/dist-packages/azure/cli/command_modules/acs/custom.py", line 
2552, in aks_update
│     _ensure_aks_acr(cmd.cli_ctx,
│   File 
"/usr/lib/python3/dist-packages/azure/cli/command_modules/acs/custom.py", line 
3264, in _ensure_aks_acr
│     registry = acr_client.registries.get(parsed_registry['resource_group'], 
parsed_registry['name'])
│   File 
"/usr/lib/python3/dist-packages/azure/mgmt/containerregistry/_container_registry_management_client.py",
 line 304, in registries
│     raise ValueError("API version {} does not have operation group 
'registries'".format(api_version))
│ ValueError: API version 2020-11-01-preview does not have operation group 
'registries'
│ To open an issue, please run: 'az feedback'
│ 
╵

--- End Message ---
--- Begin Message ---
Source: azure-cli
Source-Version: 2.30.0-1
Done: Luca Boccassi <[email protected]>

We believe that the bug you reported is fixed in the latest version of
azure-cli, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Luca Boccassi <[email protected]> (supplier of updated azure-cli package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 04 Nov 2021 23:46:19 +0000
Source: azure-cli
Architecture: source
Version: 2.30.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Luca Boccassi <[email protected]>
Closes: 986657 989670 989676 994266
Changes:
 azure-cli (2.30.0-1) unstable; urgency=medium
 .
   * Merge tag 'azure-cli-2.30.0' into debian/sid
     (Closes: #994266, #986657, #989670, #989676)
   * Update build dependencies for 2.30.0
   * Drop obsolete crypto_dependency.patch
   * Bump Standards-Version to 4.6.0, no changes
   * autopkgtest: add dependency on python3-all:any
   * Skip broken test
   * Ignore very-long-line-length-in-source-file lintian warning
   * python3-azure-cli-core: update Lintian warning paths
   * Differentiate short descriptions
Checksums-Sha1:
 d7fe8e6487366d33e8a40e6807a127ab6045194c 3728 azure-cli_2.30.0-1.dsc
 8ea06f435c80e14e594544b678b25b5107c586eb 69903081 azure-cli_2.30.0.orig.tar.gz
 30eaa12fc77e7df69c6b300692706fe7a15374cb 6776 azure-cli_2.30.0-1.debian.tar.xz
 aab4eb2cc6759b2f3abb5686200d039270f582ce 9934 
azure-cli_2.30.0-1_source.buildinfo
Checksums-Sha256:
 debc1d60324ea43432683888481fb9f39fdc5ca3e79572546e56193874658b8e 3728 
azure-cli_2.30.0-1.dsc
 fc95b8e85268c926b29fd7cb236dd0010f9fc82ed405761dd78ef56f3a78d6e7 69903081 
azure-cli_2.30.0.orig.tar.gz
 f0b32c325c205720512098173edb2ae60df5bc6b6a2c74c8ce785a60c5abb9c7 6776 
azure-cli_2.30.0-1.debian.tar.xz
 da0893ff8871061847ff76ee5938c03a1c841707d274774a219caa3250973628 9934 
azure-cli_2.30.0-1_source.buildinfo
Files:
 548243bda694824ca2b256ca78a3e0fa 3728 python optional azure-cli_2.30.0-1.dsc
 b1a4b0aff1184fce9567af18cd039fc7 69903081 python optional 
azure-cli_2.30.0.orig.tar.gz
 97a1b0355b87695787bab1f7dd2cbbcf 6776 python optional 
azure-cli_2.30.0-1.debian.tar.xz
 3cfc1c014bfa25676cc04365daa915bd 9934 python optional 
azure-cli_2.30.0-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEErCSqx93EIPGOymuRKGv37813JB4FAmGFgyYRHGJsdWNhQGRl
Ymlhbi5vcmcACgkQKGv37813JB68zBAAqFIeQgEcieLY+Wlbft1HomhURh/zMQ7X
RfZm7HH4YGlvtUe4h61B+TZY4gUxw2nSScTBePmyhJmHW2t4xXy1PVBdBx+IuSSu
grJZSc6oSP3TbcAcRB8fmVKwsntVbQJIFFvsGpwk0WIb9YUALIp6ajVcXEdYKPsB
f9RkVytUOFFU8Jym2ay3BiTu2/PKBR22aCS6z1lIGdtePDgbIOjUgsbnWig1daSz
mu83o/Mu9FzuUAy4q5MiLU+/sopTswEr3/bYaxcrJlvnFa8JbQv/affDgW6cf9mC
Wc4JhfYqDop4vnEAUhPO5OqxBlLl03kn2sMv6oNQVb9hS6bSlFP6zcvqiOH7tvFv
CM8CXVc2TPrtSawQBs6mo9jMcleKelDLFwOnqZI+81ZCjFZSy2Oze5dq3DbN3EzD
7Pt3xwQo+ymndxHTa0Pm+mgwrF+JBi6Qkma+Xr88LfX0BQABeKQKYLe2wy5aJEVl
B1X9NXgw6M9gmHDbDiTR6g+0aCsC1yKefrViYA+LHkkdzBpoWoeq+HXb743bN21S
QlGKCjYQsdGq/3AYKs0AURN2vMgM7Q6HndnkMriCZKBsdEhYxQ1LzhO+FRpX8YWA
zvwE7PAOiuZOnOt2WfRbYSHdW7pXiWzUZwG+aru9yTMefgJyS3u8BasokCZyYEv4
D8r8e81Vi78=
=RtSY
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to