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

Azure confusing exception with no region #310

Closed
smarlowucf opened this issue Sep 17, 2021 · 1 comment · Fixed by #312
Closed

Azure confusing exception with no region #310

smarlowucf opened this issue Sep 17, 2021 · 1 comment · Fixed by #312

Comments

@smarlowucf
Copy link
Collaborator

If you try to test an Azure instance but provide no region info in args or config the error message is confusing:

> img-proof test azure -i suse:sles-15-sp3-byos:gen2:Latest --distro sles 
Launching new instance
Unable to create resource group: Parameter 'ResourceGroup.location' can not be None..
AzureCloudException: Unable to create resource group: Parameter 'ResourceGroup.location' can not be None..

It would be helpful to provide a better exception message explaining that a region is required.

@smarlowucf
Copy link
Collaborator Author

Also, consider if this is the same issue for the other CSPs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant