The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
We have a job, that cleans out container registry. If you run these commands locally, everything seems to work fine. The pipeline itself was fine, no changes were introduced. Today it just stopped working all of a sudden.
- az account set --subscription "Staging Subscription"
- az acr run --cmd "acr purge --filter 'b2b:.*' --untagged --ago 30d" --registry "staging" /dev/null
- az account set --subscription "Production Subscription"
- az acr run --cmd "acr purge --filter 'b2b:.*' --untagged --ago 180d" --registry "production" /dev/null
The trace as follows. Any ideas?
+ az acr run --cmd "acr purge --filter 'b2b:.*' --untagged --ago 30d" --registry "staging" /dev/null
ERROR: The command failed with an unexpected error. Here is the traceback:
ERROR: 'NoneType' object is not callable
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/knack/cli.py", line 231, in invoke
cmd_result = self.invocation.execute(args)
File "/usr/local/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 657, in execute
raise ex
File "/usr/local/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 720, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
File "/usr/local/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 691, in _run_job
result = cmd_copy(params)
File "/usr/local/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 328, in __call__
return self.handler(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
return op(**command_args)
File "/usr/local/lib/python3.8/site-packages/azure/cli/command_modules/acr/run.py", line 90, in acr_run
platform=PlatformProperties(
TypeError: 'NoneType' object is not callable
To open an issue, please run: 'az feedback'
Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events