-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Description
Received this error as part of a process reducing the number of nodes in the primary node-type of an SFC. The scale-in process seems to have completed successfully and the cluster is running OK.
Command Name
az sf cluster node remove
Errors:
The command failed with an unexpected error. Here is the traceback:
'ClustersOperations' object has no attribute 'update'
Traceback (most recent call last):
File "/opt/az/lib/python3.8/site-packages/knack/cli.py", line 231, in invoke
cmd_result = self.invocation.execute(args)
File "/opt/az/lib/python3.8/site-packages/azure/cli/core/commands/init.py", line 658, in execute
raise ex
File "/opt/az/lib/python3.8/site-packages/azure/cli/core/commands/init.py", line 721, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
File "/opt/az/lib/python3.8/site-packages/azure/cli/core/commands/init.py", line 692, in _run_job
result = cmd_copy(params)
File "/opt/az/lib/python3.8/site-packages/azure/cli/core/commands/init.py", line 328, in call
return self.handler(*args, **kwargs)
File "/opt/az/lib/python3.8/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
return op(**command_args)
File "/opt/az/lib/python3.8/site-packages/azure/cli/command_modules/servicefabric/custom.py", line 503, in remove_cluster_node
return client.update(resource_group_name, cluster_name, patch_request)
AttributeError: 'ClustersOperations' object has no attribute 'update'
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 sf cluster node remove --verbose --cluster-name {} --resource-group {} --node-type {} --nodes-to-remove {}
Expected Behavior
Environment Summary
Linux-4.4.0-19041-Microsoft-x86_64-with-glibc2.27, Ubuntu 18.04.6 LTS
Python 3.8.13
Installer: DEB
azure-cli 2.36.0