Can not update storage file share smb properties
See original GitHub issueThis is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az storage account file-service-properties update
Errors:
The command failed with an unexpected error. Here is the traceback:
'NoneType' object has no attribute 'smb'
Traceback (most recent call last):
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 231, in invoke
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 657, in execute
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 720, in _run_jobs_serially
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 691, in _run_job
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 328, in __call__
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 200, in handler
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/storage/operations/account.py", line 693, in update_file_service_properties
AttributeError: 'NoneType' object has no attribute 'smb'
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 file-service-properties update --resource-group {} --account-name {} --versions {} --channel-encryption {} --auth-methods {} --kerb-ticket-encryption {}
Expected Behavior
Environment Summary
Windows-10-10.0.22000-SP0
Python 3.8.9
Installer: MSI
azure-cli 2.28.0 *
Extensions:
azure-devops 0.18.0
connectedk8s 0.2.7
k8sconfiguration 0.2.0
Additional Context
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:6 (2 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Getting the same problem, slightly different timing though.
I did a deployment this morning at 2022-06-03T01:51Z and this worked fine, a few hours later at 2022-06-03T04:23:34Z and we are getting the above error. (Edit: we are deploying to Australia South East). As far as I can see nothing in the environment changed, these are being run from an Azure DevOps Agent:
Running from my own laptop using the
storage-preview
extension of0.7.4
(old version) worked fine, upgrading to0.8.3
(the latest), or removing it completely and I get the above error message.The specific command we are using (unsure if it matters):
Hi, we’re sending this friendly reminder because we haven’t heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don’t hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!