-
Notifications
You must be signed in to change notification settings - Fork 50
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
InvalidTemplate error on Azure VM creation—"zone" parameter is invalid #232
Comments
For what it's worth the implementation is missing some critical details. I think #228 was merged too soon. In Azure you can specify a zone or not, but it definitely shouldn't default to 1. It makes it harder for Azure to place the VM. This is especially true when certain SKUs are only available in certain zones. The zone should default to nil and all of the added things should be excluded when nil. |
@tas50 as I started to dig into this I realized it's going to be a much bigger effort than I originally anticipated (to establish solid unit tests). The actual "fix" I think is done, but I don't have much confidence. I would recommend yanking #228 and then re-releasing if you think this is impactful enough. |
@jasonwbarnett might as well roll forward if the config isn't doing anything at this point. |
@tas50 Well it's hard coding folks to zone 1. Not sure if you mean why not roll out #233 without tests or saying why not leave the zone feature as-is. |
This is causing significant issues for our testing pipelines because the feature is broken and everything is being pinned to zone 1 in whatever region you're using which makes it more difficult for azure to place and provision the VM.
I consider this a serious bug in two ways:
I'm moving forward with a straight up rollback of the feature and am looking for support from Progress Chef to help get this merged and released. |
Version:
1.9.0
Environment:
Windows 10, Cinc Workstation 22.2.807
Driver config:
Scenario:
I've configured my Test Kitchen environment to use the
azurerm
driver as above and am attempting to create the VM withkitchen create default-centos-7-7
Expected Result:
Test Kitchen/azurerm creates the VM in Azure.
Actual Result:
The creation fails with the following error:
This issue is not present if I downgrade to version 1.8.0 of the gem. It appears the issue was introduced in PR Support vm availability zone #228.
The text was updated successfully, but these errors were encountered: