-
Notifications
You must be signed in to change notification settings - Fork 859
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
Getting error on deployment of market place image #1840
Comments
@jaredmoo is this something you can help with? |
Hi @salmanbukhari , could you tell us which region you are using to create the VM? It would also help if you can provide the exact template you are using. Also, can you confirm whether you are able to create a VM with the same image (SQL Server 2014 SP2 Enterprise on Windows Server 2012 R2) from Azure Portal and it's just failing through APIs? |
I was creating the VM in us east and yes I was able to create the VM using the portal. |
This doesn't seem like a valid location in public azure. Can you double-check if this is the exact name of the region you were using in Portal. We have a region 'USGov Virginia' but that is only availalbe on Azure US gov cloud. |
I am sorry I meant eastus. |
@salmanbukhari do you have a small repro that I can take a look at? |
after looking into this briefly today / to provide some additional context here: it appears this particular kind of VM requires a VM Extension to be installed for the SQL Server aspects to be fully configured) |
@tombuildsstuff I know that but I was just thinking that if that is the case then the error should be different. I will try using these parameters as well. Thanks |
Are you using Disk size as 127GB minimum? and also Managed disk expects it to be 1023GB. In your case based on your error, I see your terraform is not able to recognize the image. I remember getting the same error earlier, but l again entered my subscription, service principal details and logged back onto Azure and it worked fine. I feel at times the caching can be an issue. Can you check how your plan looks like? |
@salmanbukhari Did it work for you? |
Hello @salmanbukhari any update? |
@jhendrixMSFT Hi, I'm working on similar item, My Terraform script is spinning up the vm, but not the SQL Config options. Please do let me know if I need to add anything to make it work - hashicorp/terraform-provider-azurerm#1325 Thanks! |
Please reopen if this has not been resolved. |
I am trying to deploy "SQL Server 2014 SP2 Enterprise on Windows Server 2012 R2" by Microsoft. There is no option to Enable Programmatically Deployment below the Create button so I assume that it will be enabled by default for this image. I got the SKU, OFFER, PUBLISHER, and VERSION from the automation script.
But when I try to deploy a VM using this image I get error .
I added OFFER and PLAN structs in the VM. I was able to run it using portal. Can someone help me?
The text was updated successfully, but these errors were encountered: