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

Required parameter 'storageAccountId' is missing (null). #11625

Closed
jonathanclarke opened this issue Dec 20, 2019 · 6 comments
Closed

Required parameter 'storageAccountId' is missing (null). #11625

jonathanclarke opened this issue Dec 20, 2019 · 6 comments
Assignees
Labels
Compute az vm/vmss/image/disk/snapshot

Comments

@jonathanclarke
Copy link

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name
az snapshot create

Errors:

Required parameter 'storageAccountId' is missing (null).

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 snapshot create --resource-group {} --name {} --location {} --source {} --output {} --tags {}

Expected Behavior

Environment Summary

Linux-4.19.0-041900-generic-x86_64-with-debian-buster-sid
Python 3.6.5
Shell: bash

azure-cli 2.0.78

Extensions:
image-copy-extension 0.2.2

Additional Context

@jonathanclarke
Copy link
Author

Resolved it by downgrading the azure-cli on Linux

sudo apt-get install azure-cli=2.0.72-1~bionic

@yungezz yungezz assigned arrownj and qwordy and unassigned arrownj Dec 20, 2019
@mmyyrroonn
Copy link
Contributor

@qwordy Please take a look. There might be a regression.

@qwordy
Copy link
Member

qwordy commented Dec 23, 2019

Hi Jonathan, Are you creating a snapshot by importing from a blob URI?

@jonathanclarke
Copy link
Author

jonathanclarke commented Dec 23, 2019 via email

@qwordy
Copy link
Member

qwordy commented Jan 2, 2020

I have reproduced this issue. It's a recent change of snapshot service. I also dislike this kind of breaking change. I will try to update image copy command to specify storageAccountId explicitly.

@qwordy qwordy added Compute az vm/vmss/image/disk/snapshot and removed Compute - Managed Disks az disk labels Jan 20, 2020
@qwordy
Copy link
Member

qwordy commented Jan 20, 2020

image-copy 0.2.3 is released. It should fix this issue.
Azure/azure-cli-extensions#1211

@qwordy qwordy closed this as completed Jan 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Compute az vm/vmss/image/disk/snapshot
Projects
None yet
Development

No branches or pull requests

5 participants