az storage container list is not working on linux powershell 7.3.12 on AlmaLinux distrro
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
### **This is autogenerated. Please review and update as needed.**
## Describe the bug
**Command Name**
`az storage container list`
**Errors:**
```
The command failed with an unexpected error. Here is the traceback:
'NoneType' object is not iterable
Traceback (most recent call last):
File "/lib64/az/lib/python3.6/site-packages/knack/cli.py", line 231, in invoke
cmd_result = self.invocation.execute(args)
File "/lib64/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 561, in execute
self.commands_loader.load_arguments(command)
File "/lib64/az/lib/python3.6/site-packages/azure/cli/core/__init__.py", line 516, in load_arguments
loader.load_arguments(command) # this adds entries to the argument registries
File "/lib64/az/lib/python3.6/site-packages/azure/cli/command_modules/storage/__init__.py", line 31, in load_arguments
load_arguments(self, command)
File "/lib64/az/lib/python3.6/site-packages/azure/cli/command_modules/storage/_params.py", line 1713, in load_arguments
help_str = 'Allowed values: {}. Can be combined'.format(get_permission_help_string(t_share_permissions))
File "/lib64/az/lib/python3.6/site-packages/azure/cli/command_modules/storage/_validators.py", line 862, in get_permission_help_string
return ' '.join(['({}){}'.format(x[0], x[1:]) for x in allowed_values])
TypeError: 'NoneType' object is not iterable
```
## 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 storage container list --prefix {} --account-name {} --account-key {}`
## Expected Behavior
## Environment Summary
```
Linux-5.14.0-503.14.1.el9_5.x86_64-x86_64-with-glibc2.34, AlmaLinux 9.5 (Teal Serval)
Python 3.9.19
Installer: RPM
azure-cli 2.38.2 *
```
## Additional Context
Contributor guide
Assessment
This issue has not been assessed yet.