Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Az storage account create #22029

Closed
accern-pavan opened this issue Apr 12, 2022 · 4 comments
Closed

Az storage account create #22029

accern-pavan opened this issue Apr 12, 2022 · 4 comments
Assignees
Labels
Auto-Assign Auto assign by bot customer-reported Issues that are reported by GitHub users external to the Azure organization. Storage az storage
Milestone

Comments

@accern-pavan
Copy link

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name
az storage account create

Errors:

The command failed with an unexpected error. Here is the traceback:
'NoneType' object is not iterable
Traceback (most recent call last):
  File "/usr/lib64/az/lib/python3.6/site-packages/knack/cli.py", line 231, in invoke
    cmd_result = self.invocation.execute(args)
  File "/usr/lib64/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 556, in execute
    self.commands_loader.load_arguments(command)
  File "/usr/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 "/usr/lib64/az/lib/python3.6/site-packages/azure/cli/command_modules/storage/__init__.py", line 31, in load_arguments
    load_arguments(self, command)
  File "/usr/lib64/az/lib/python3.6/site-packages/azure/cli/command_modules/storage/_params.py", line 828, in load_arguments
    help=sas_help.format(get_permission_help_string(t_blob_permissions)),
  File "/usr/lib64/az/lib/python3.6/site-packages/azure/cli/command_modules/storage/_validators.py", line 803, 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 account create --verbose

Expected Behavior

Environment Summary

Linux-4.14.273-207.502.amzn2.x86_64-x86_64-with-glibc2.2.5, Amazon Linux 2
Python 3.7.10
Installer: RPM

azure-cli 2.35.0

Additional Context

@ghost ghost added customer-reported Issues that are reported by GitHub users external to the Azure organization. Storage az storage labels Apr 12, 2022
@ghost ghost added this to the Backlog milestone Apr 12, 2022
@ghost ghost assigned evelyn-ys Apr 12, 2022
@ghost ghost added the Auto-Assign Auto assign by bot label Apr 12, 2022
@yonzhan
Copy link
Collaborator

yonzhan commented Apr 12, 2022

storage

@evelyn-ys
Copy link
Member

Can you check the dependency if azure-mgmt-storage and azure-multiapi-storage are installed well? Seems package loss from the debug log

@dlipovetsky
Copy link

I ran into this same issue in Fedora 35, having installed the azure-cli package, version 2.36.0.

@evelyn-ys Based on your suggestion, I installed the presumably equivalent Fedora packages python3-azure-mgmt-storage and python-azure-multiapi-storage, but the issue remained.

I resorted to using azure CLI in a docker container.

@evelyn-ys
Copy link
Member

@dlipovetsky your case is similar with #22235

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Assign Auto assign by bot customer-reported Issues that are reported by GitHub users external to the Azure organization. Storage az storage
Projects
None yet
Development

No branches or pull requests

4 participants