You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error:
I, [2022-05-16T20:06:16.429635 #18367] INFO -- Kitchen: -----> Starting Test Kitchen (v3.2.2)
I, [2022-05-16T20:06:16.548270 #18367] INFO -- Kitchen: -----> Creating ...
W, [2022-05-16T20:06:16.548711 #18367] WARN -- Kitchen: /home/zero/.azure/credentials was not found or not accessible.
W, [2022-05-16T20:06:16.548753 #18367] WARN -- Kitchen: (/home/zero/.azure/credentials) does not contain tenant_id neither is the AZURE_TENANT_ID environment variable set.
W, [2022-05-16T20:06:16.648859 #18367] WARN -- Kitchen: Using tenant id set through az login.
E, [2022-05-16T20:06:57.526576 #18367] ERROR -- Kitchen: ------Exception-------
E, [2022-05-16T20:06:57.526613 #18367] ERROR -- Kitchen: Class: Kitchen::ActionFailed
E, [2022-05-16T20:06:57.526627 #18367] ERROR -- Kitchen: Message: 1 actions failed.
Failed to complete #create action: [{
"message": "MsRestAzure::AzureOperationError: InvalidTemplate: Deployment template validation failed: 'The template parameters 'zone' in the parameters file are not valid; they are not present in the original template and can therefore not be provided at deployment time. The only supported parameters for this template are 'location, vmSize, newStorageAccountName, adminUsername, dnsNameForPublicIP, secretUrl, vaultName, vaultResourceGroup, existingStorageAccountBlobContainer, imagePublisher, imageOffer, imageSku, imageVersion, osDiskNameSuffix, vmName, nicName, publicIPSKU, publicIPAddressType, storageAccountType, systemAssignedIdentity, userAssignedIdentities, bootDiagnosticsEnabled'. Please see https://aka.ms/arm-deploy/#parameter-file for usage details.'.",
"request": {
"base_uri": "https://management.azure.com/",
"path_template": "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}",
"method": "put",
"path_params": {
"resourceGroupName": "kitchen-default-ubuntu-1404-20220516T165926",
"deploymentName": "deploy-8f0f177095b9201c",
"subscriptionId": "672e0b88-ec09-4d3e-be98-1875e4bca34e"
},
"skip_encoding_path_params": null,
"query_params": {
"api-version": "2020-06-01"
},
"skip_encoding_query_params": null,
"headers": {
"Content-Type": "application/json; charset=utf-8",
"Accept": "application/json",
"accept-language": "en-US",
"x-ms-client-request-id": "1af48a20-e731-4f48-a996-046f7d8c99d1"
},
"body": "{"properties":{"template":{"$schema":"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\"contentVersion\":\"1.0.0.0\",\"parameters\":{\"location\":{\"type\":\"string\",\"metadata\":{\"description\":\"The location where the resources will be created."}},"vmSize":{"type":"string","metadata":{"description":"The size of the VM to be created"}},"newStorageAccountName":{"type":"string","metadata":{"description":"Unique DNS Name for the Storage Account where the Virtual Machine's disks will be placed."}},"adminUsername":{"type":"string","metadata":{"description":"User name for the Virtual Machine."}},"dnsNameForPublicIP":{"type":"string","metadata":{"description":"Unique DNS Name for the Public IP used to access the Virtual Machine."}},"secretUrl":{"type":"string","metadata":{"description":"Secret vault certificate URL"}},"vaultName":{"type":"string","metadata":{"description":"Name of key vault where certificate is located."}},"vaultResourceGroup":{"type":"string","metadata":{"description":"Resource group name where key vault is located."}},"existingStorageAccountBlobContainer":{"type":"string","metadata":{"description":"The Container Name for OS Images (blob)"}},"imagePublisher":{"type":"string","defaultValue":"Canonical","metadata":{"description":"Publisher for the VM, e.g. Canonical, MicrosoftWindowsServer"}},"imageOffer":{"type":"string","defaultValue":"UbuntuServer","metadata":{"description":"Offer for the VM, e.g. UbuntuServer, WindowsServer."}},"imageSku":{"type":"string","defaultValue":"14.04.3-LTS","metadata":{"description":"Sku for the VM, e.g. 14.04.3-LTS"}},"imageVersion":{"type":"string","defaultValue":"latest","metadata":{"description":"Either a date or latest."}},"osDiskNameSuffix":{"type":"string","defaultValue":"","metadata":{"description":"A disk Name Suffix to make the disk name unique in existing storage accounts."}},"vmName":{"type":"string","defaultValue":"vm","metadata":{"description":"The vm name created inside of the resource group."}},"nicName":{"type":"string","defaultValue":"nic","metadata":{"description":"The nic name created inside of the resource group."}},"publicIPSKU":{"type":"string","defaultValue":"Basic","metadata":{"description":"SKU name for the Public IP used to access the Virtual Machine."}},"publicIPAddressType":{"type":"string","defaultValue":"Dynamic","metadata":{"description":"SKU name for the Public IP used to access the Virtual Machine."}},"storageAccountType":{"type":"string","defaultValue":"Standard_LRS","metadata":{"description":"The type of storage to use (e.g. Standard_LRS or Premium_LRS)."}},"systemAssignedIdentity":{"type":"bool","defaultValue":false,"metadata":{"description":"Whether to enable system assigned identity for the vm."}},"userAssignedIdentities":{"type":"object","defaultValue":{},"metadata":{"description":"An object whose keys are resource IDs for user identities to associate with the Virtual Machine and whose values are empty objects, or empty to disable user assigned identities."}},"bootDiagnosticsEnabled":{"type":"string","defaultValue":"true","metadata":{"description":"Whether to enable (true) or disable (false) boot diagnostics. Default: false."}}},"variables":{"location":"[parameters('location')]","OSDiskName":"osdisk","nicName":"[parameters('nicName')]","addressPrefix":"10.0.0.0/16","subnetName":"Subnet","subnetPrefix":"10.0.0.0/24","storageAccountType":"[parameters('storageAccountType')]","publicIPAddressName":"publicip","vmStorageAccountContainerName":"vhds","vmName":"[parameters('vmName')]","vmSize":"[parameters('vmSize')]","vmIdentityType":"[if(parameters('systemAssignedIdentity'), if(empty(parameters('userAssignedIdentities')), 'SystemAssigned', 'SystemAssigned, UserAssigned'), if(empty(parameters('userAssignedIdentities')), 'None', 'UserAssigned'))]","virtualNetworkName":"vnet","vnetID":"[resourceId('Microsoft.Network/virtualNetworks',variables('virtualNetworkName'))]","subnetRef":"[concat(variables('vnetID'),'/subnets/',variables('subnetName'))]"},"resources":[{"apiVersion":"2017-05-10","name":"pid-18d63047-6cdf-4f34-beed-62f01fc73fc2","type":"Microsoft.Resources/deployments","properties":{"mode":"Incremental","template":{"$schema":"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#","contentVersion":"1.0.0.0","resources":[]}}},{"apiVersion":"2017-08-01","type":"Microsoft.Network/publicIPAddresses","name":"[variables('publicIPAddressName')]","location":"[variables('location')]","properties":{"publicIPAllocationMethod":"[parameters('publicIPAddressType')]","dnsSettings":{"domainNameLabel":"[parameters('dnsNameForPublicIP')]"}},"sku":{"name":"[parameters('publicIPSKU')]"},"tags":{}},{"apiVersion":"2015-05-01-preview","type":"Microsoft.Network/virtualNetworks","name":"[variables('virtualNetworkName')]","location":"[variables('location')]","properties":{"addressSpace":{"addressPrefixes":["[variables('addressPrefix')]"]},"subnets":[{"name":"[variables('subnetName')]","properties":{"addressPrefix":"[variables('subnetPrefix')]"}}]},"tags":{}},{"apiVersion":"2015-05-01-preview","type":"Microsoft.Network/networkInterfaces","name":"[variables('nicName')]","location":"[variables('location')]","dependsOn":["[concat('Microsoft.Network/publicIPAddresses/', variables('publicIPAddressName'))]","[concat('Microsoft.Network/virtualNetworks/', variables('virtualNetworkName'))]"],"properties":{"ipConfigurations":[{"name":"ipconfig1","properties":{"privateIPAllocationMethod":"Dynamic","publicIPAddress":{"id":"[resourceId('Microsoft.Network/publicIPAddresses',variables('publicIPAddressName'))]"},"subnet":{"id":"[variables('subnetRef')]"}}}]},"tags":{}},{"apiVersion":"2018-06-01","type":"Microsoft.Compute/virtualMachines","name":"[variables('vmName')]","location":"[variables('location')]","dependsOn":["[concat('Microsoft.Network/networkInterfaces/', variables('nicName'))]"],"properties":{"hardwareProfile":{"vmSize":"[variables('vmSize')]"},"osProfile":{"computername":"[variables('vmName')]","adminUsername":"[parameters('adminUsername')]","linuxConfiguration":{"disablePasswordAuthentication":"true","ssh":{"publicKeys":[{"path":"[concat('/home/',parameters('adminUsername'),'/.ssh/authorized_keys')]","keyData":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC0EPst20QHCAGm6hDTsx5O20OOO668QuarWjd8HLHHGMM/Bg12PJmgqK33mh7UZrUyaMYpDkYMmfNdPEA5/aHCo2f7etCtx08Rb1drg8MJZRY6ZSrIuXlRqvC+2UCuMExLJ4UusDGbIqkIvM+bWJL3tcQ3Qwk0fAL0iIxxftlDPllKoWcDYG2JHP4XiSPV2mzrJcdRcZX3DfXS021ibNeMWjlDp3jW6PBLQuA9MD1A8mwRcTxPWv7jEFYskuzI5kEln6ITa5F3AZtLQlX//d9A0XSxw/dNrJWCFamrLQ8ZwXjigbvkRaxZQpu1sT2wcMQh3CYOL8oJgwE2clzuTXVV"}]}}},"storageProfile":{"imageReference":{"publisher":"[parameters('imagePublisher')]","offer":"[parameters('imageOffer')]","sku":"[parameters('imageSku')]","version":"[parameters('imageVersion')]"},"osDisk":{"name":"osdisk","managedDisk":{"storageAccountType":"[parameters('storageAccountType')]"},"createOption":"FromImage"}},"networkProfile":{"networkInterfaces":[{"id":"[resourceId('Microsoft.Network/networkInterfaces',variables('nicName'))]"}]},"diagnosticsProfile":{}},"identity":{"type":"[variables('vmIdentityType')]","userAssignedIdentities":"[if(empty(parameters('userAssignedIdentities')), json('null'), parameters('userAssignedIdentities'))]"},"tags":{}}]},"parameters":{"location":{"value":"West Europe"},"zone":{"value":"1"},"vmSize":{"value":"Standard_D1"},"storageAccountType":{"value":"Standard_LRS"},"bootDiagnosticsEnabled":{"value":"true"},"newStorageAccountName":{"value":"storage8f0f177095b9201c"},"adminUsername":{"value":"azure"},"dnsNameForPublicIP":{"value":"kitchen-8f0f177095b9201c"},"vmName":{"value":"trusty-vm"},"systemAssignedIdentity":{"value":false},"userAssignedIdentities":{"value":{}},"secretUrl":{"value":""},"vaultName":{"value":""},"vaultResourceGroup":{"value":""},"publicIPSKU":{"value":"Basic"},"nicName":{"value":"nic-trusty-vm"},"existingStorageAccountBlobContainer":{"value":"vhds"},"imagePublisher":{"value":"Canonical"},"imageOffer":{"value":"UbuntuServer"},"imageSku":{"value":"14.04.4-LTS"},"imageVersion":{"value":"latest"}},"mode":"Incremental"}}",
"middlewares": [
[
"MsRest::RetryPolicyMiddleware",
{
"times": 3,
"retry": 0.02
}
],
[
"cookie_jar"
]
],
"log": null
},
"response": {
"body": "{"error":{"code":"InvalidTemplate","message":"Deployment template validation failed: 'The template parameters 'zone' in the parameters file are not valid; they are not present in the original template and can therefore not be provided at deployment time. The only supported parameters for this template are 'location, vmSize, newStorageAccountName, adminUsername, dnsNameForPublicIP, secretUrl, vaultName, vaultResourceGroup, existingStorageAccountBlobContainer, imagePublisher, imageOffer, imageSku, imageVersion, osDiskNameSuffix, vmName, nicName, publicIPSKU, publicIPAddressType, storageAccountType, systemAssignedIdentity, userAssignedIdentities, bootDiagnosticsEnabled'. Please see https://aka.ms/arm-deploy/#parameter-file for usage details.'.","additionalInfo":[{"type":"TemplateViolation","info":{"lineNumber":0,"linePosition":0,"path":""}}]}}",
"headers": {
"cache-control": "no-cache",
"pragma": "no-cache",
"content-type": "application/json; charset=utf-8",
"expires": "-1",
"x-ms-failure-cause": "gateway",
"x-ms-ratelimit-remaining-subscription-writes": "1199",
"x-ms-request-id": "ac918adb-194c-42e9-bfba-9990528bd14e",
"x-ms-correlation-request-id": "ac918adb-194c-42e9-bfba-9990528bd14e",
"x-ms-routing-request-id": "GERMANYWESTCENTRAL:20220516T170657Z:ac918adb-194c-42e9-bfba-9990528bd14e",
"strict-transport-security": "max-age=31536000; includeSubDomains",
"x-content-type-options": "nosniff",
"date": "Mon, 16 May 2022 17:06:57 GMT",
"content-length": "852"
},
"status": 400
}
}] on default-ubuntu-1404
E, [2022-05-16T20:06:57.526655 #18367] ERROR -- Kitchen: ----------------------
E, [2022-05-16T20:06:57.526667 #18367] ERROR -- Kitchen: ------Backtrace-------
E, [2022-05-16T20:06:57.526678 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.2.2/lib/kitchen/command.rb:181:in report_errors' E, [2022-05-16T20:06:57.526690 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.2.2/lib/kitchen/command.rb:172:in run_action'
E, [2022-05-16T20:06:57.526701 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.2.2/lib/kitchen/command/action.rb:35:in block in call' E, [2022-05-16T20:06:57.526714 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in measure'
E, [2022-05-16T20:06:57.526727 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.2.2/lib/kitchen/command/action.rb:33:in call' E, [2022-05-16T20:06:57.526738 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.2.2/lib/kitchen/cli.rb:52:in perform'
E, [2022-05-16T20:06:57.526749 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.2.2/lib/kitchen/cli.rb:198:in block (2 levels) in <class:CLI>' E, [2022-05-16T20:06:57.526760 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/thor-1.2.1/lib/thor/command.rb:27:in run'
E, [2022-05-16T20:06:57.526771 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/thor-1.2.1/lib/thor/invocation.rb:127:in invoke_command' E, [2022-05-16T20:06:57.526783 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/thor-1.2.1/lib/thor.rb:392:in dispatch'
E, [2022-05-16T20:06:57.526794 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/thor-1.2.1/lib/thor/base.rb:485:in start' E, [2022-05-16T20:06:57.526807 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.2.2/bin/kitchen:11:in block in <top (required)>'
E, [2022-05-16T20:06:57.526818 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.2.2/lib/kitchen/errors.rb:183:in with_friendly_errors' E, [2022-05-16T20:06:57.526830 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.2.2/bin/kitchen:11:in <top (required)>'
E, [2022-05-16T20:06:57.526842 #18367] ERROR -- Kitchen: /usr/bin/kitchen:383:in load' E, [2022-05-16T20:06:57.526853 #18367] ERROR -- Kitchen: /usr/bin/kitchen:383:in
'
E, [2022-05-16T20:06:57.526864 #18367] ERROR -- Kitchen: ----End Backtrace-----
E, [2022-05-16T20:06:57.526876 #18367] ERROR -- Kitchen: -Composite Exception--
E, [2022-05-16T20:06:57.526888 #18367] ERROR -- Kitchen: Class: Kitchen::ActionFailed
E, [2022-05-16T20:06:57.526901 #18367] ERROR -- Kitchen: Message: Failed to complete #create action: [{
"message": "MsRestAzure::AzureOperationError: InvalidTemplate: Deployment template validation failed: 'The template parameters 'zone' in the parameters file are not valid; they are not present in the original template and can therefore not be provided at deployment time. The only supported parameters for this template are 'location, vmSize, newStorageAccountName, adminUsername, dnsNameForPublicIP, secretUrl, vaultName, vaultResourceGroup, existingStorageAccountBlobContainer, imagePublisher, imageOffer, imageSku, imageVersion, osDiskNameSuffix, vmName, nicName, publicIPSKU, publicIPAddressType, storageAccountType, systemAssignedIdentity, userAssignedIdentities, bootDiagnosticsEnabled'. Please see https://aka.ms/arm-deploy/#parameter-file for usage details.'.",
"request": {
"base_uri": "https://management.azure.com/",
"path_template": "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}",
"method": "put",
"path_params": {
"resourceGroupName": "kitchen-default-ubuntu-1404-20220516T165926",
"deploymentName": "deploy-8f0f177095b9201c",
"subscriptionId": "672e0b88-ec09-4d3e-be98-1875e4bca34e"
},
"skip_encoding_path_params": null,
"query_params": {
"api-version": "2020-06-01"
},
"skip_encoding_query_params": null,
"headers": {
"Content-Type": "application/json; charset=utf-8",
"Accept": "application/json",
"accept-language": "en-US",
"x-ms-client-request-id": "1af48a20-e731-4f48-a996-046f7d8c99d1"
},
"body": "{"properties":{"template":{"$schema":"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#","contentVersion":"1.0.0.0","parameters":{"location":{"type":"string","metadata":{"description":"The location where the resources will be created."}},"vmSize":{"type":"string","metadata":{"description":"The size of the VM to be created"}},"newStorageAccountName":{"type":"string","metadata":{"description":"Unique DNS Name for the Storage Account where the Virtual Machine's disks will be placed."}},"adminUsername":{"type":"string","metadata":{"description":"User name for the Virtual Machine."}},"dnsNameForPublicIP":{"type":"string","metadata":{"description":"Unique DNS Name for the Public IP used to access the Virtual Machine."}},"secretUrl":{"type":"string","metadata":{"description":"Secret vault certificate URL"}},"vaultName":{"type":"string","metadata":{"description":"Name of key vault where certificate is located."}},"vaultResourceGroup":{"type":"string","metadata":{"description":"Resource group name where key vault is located."}},"existingStorageAccountBlobContainer":{"type":"string","metadata":{"description":"The Container Name for OS Images (blob)"}},"imagePublisher":{"type":"string","defaultValue":"Canonical","metadata":{"description":"Publisher for the VM, e.g. Canonical, MicrosoftWindowsServer"}},"imageOffer":{"type":"string","defaultValue":"UbuntuServer","metadata":{"description":"Offer for the VM, e.g. UbuntuServer, WindowsServer."}},"imageSku":{"type":"string","defaultValue":"14.04.3-LTS","metadata":{"description":"Sku for the VM, e.g. 14.04.3-LTS"}},"imageVersion":{"type":"string","defaultValue":"latest","metadata":{"description":"Either a date or latest."}},"osDiskNameSuffix":{"type":"string","defaultValue":"","metadata":{"description":"A disk Name Suffix to make the disk name unique in existing storage accounts."}},"vmName":{"type":"string","defaultValue":"vm","metadata":{"description":"The vm name created inside of the resource group."}},"nicName":{"type":"string","defaultValue":"nic","metadata":{"description":"The nic name created inside of the resource group."}},"publicIPSKU":{"type":"string","defaultValue":"Basic","metadata":{"description":"SKU name for the Public IP used to access the Virtual Machine."}},"publicIPAddressType":{"type":"string","defaultValue":"Dynamic","metadata":{"description":"SKU name for the Public IP used to access the Virtual Machine."}},"storageAccountType":{"type":"string","defaultValue":"Standard_LRS","metadata":{"description":"The type of storage to use (e.g. Standard_LRS or Premium_LRS)."}},"systemAssignedIdentity":{"type":"bool","defaultValue":false,"metadata":{"description":"Whether to enable system assigned identity for the vm."}},"userAssignedIdentities":{"type":"object","defaultValue":{},"metadata":{"description":"An object whose keys are resource IDs for user identities to associate with the Virtual Machine and whose values are empty objects, or empty to disable user assigned identities."}},"bootDiagnosticsEnabled":{"type":"string","defaultValue":"true","metadata":{"description":"Whether to enable (true) or disable (false) boot diagnostics. Default: false."}}},"variables":{"location":"[parameters('location')]","OSDiskName":"osdisk","nicName":"[parameters('nicName')]","addressPrefix":"10.0.0.0/16","subnetName":"Subnet","subnetPrefix":"10.0.0.0/24","storageAccountType":"[parameters('storageAccountType')]","publicIPAddressName":"publicip","vmStorageAccountContainerName":"vhds","vmName":"[parameters('vmName')]","vmSize":"[parameters('vmSize')]","vmIdentityType":"[if(parameters('systemAssignedIdentity'), if(empty(parameters('userAssignedIdentities')), 'SystemAssigned', 'SystemAssigned, UserAssigned'), if(empty(parameters('userAssignedIdentities')), 'None', 'UserAssigned'))]","virtualNetworkName":"vnet","vnetID":"[resourceId('Microsoft.Network/virtualNetworks',variables('virtualNetworkName'))]","subnetRef":"[concat(variables('vnetID'),'/subnets/',variables('subnetName'))]"},"resources":[{"apiVersion":"2017-05-10","name":"pid-18d63047-6cdf-4f34-beed-62f01fc73fc2","type":"Microsoft.Resources/deployments","properties":{"mode":"Incremental","template":{"$schema":"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#","contentVersion":"1.0.0.0","resources":[]}}},{"apiVersion":"2017-08-01","type":"Microsoft.Network/publicIPAddresses","name":"[variables('publicIPAddressName')]","location":"[variables('location')]","properties":{"publicIPAllocationMethod":"[parameters('publicIPAddressType')]","dnsSettings":{"domainNameLabel":"[parameters('dnsNameForPublicIP')]"}},"sku":{"name":"[parameters('publicIPSKU')]"},"tags":{}},{"apiVersion":"2015-05-01-preview","type":"Microsoft.Network/virtualNetworks","name":"[variables('virtualNetworkName')]","location":"[variables('location')]","properties":{"addressSpace":{"addressPrefixes":["[variables('addressPrefix')]"]},"subnets":[{"name":"[variables('subnetName')]","properties":{"addressPrefix":"[variables('subnetPrefix')]"}}]},"tags":{}},{"apiVersion":"2015-05-01-preview","type":"Microsoft.Network/networkInterfaces","name":"[variables('nicName')]","location":"[variables('location')]","dependsOn":["[concat('Microsoft.Network/publicIPAddresses/', variables('publicIPAddressName'))]","[concat('Microsoft.Network/virtualNetworks/', variables('virtualNetworkName'))]"],"properties":{"ipConfigurations":[{"name":"ipconfig1","properties":{"privateIPAllocationMethod":"Dynamic","publicIPAddress":{"id":"[resourceId('Microsoft.Network/publicIPAddresses',variables('publicIPAddressName'))]"},"subnet":{"id":"[variables('subnetRef')]"}}}]},"tags":{}},{"apiVersion":"2018-06-01","type":"Microsoft.Compute/virtualMachines","name":"[variables('vmName')]","location":"[variables('location')]","dependsOn":["[concat('Microsoft.Network/networkInterfaces/', variables('nicName'))]"],"properties":{"hardwareProfile":{"vmSize":"[variables('vmSize')]"},"osProfile":{"computername":"[variables('vmName')]","adminUsername":"[parameters('adminUsername')]","linuxConfiguration":{"disablePasswordAuthentication":"true","ssh":{"publicKeys":[{"path":"[concat('/home/',parameters('adminUsername'),'/.ssh/authorized_keys')]","keyData":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC0EPst20QHCAGm6hDTsx5O20OOO668QuarWjd8HLHHGMM/Bg12PJmgqK33mh7UZrUyaMYpDkYMmfNdPEA5/aHCo2f7etCtx08Rb1drg8MJZRY6ZSrIuXlRqvC+2UCuMExLJ4UusDGbIqkIvM+bWJL3tcQ3Qwk0fAL0iIxxftlDPllKoWcDYG2JHP4XiSPV2mzrJcdRcZX3DfXS021ibNeMWjlDp3jW6PBLQuA9MD1A8mwRcTxPWv7jEFYskuzI5kEln6ITa5F3AZtLQlX//d9A0XSxw/dNrJWCFamrLQ8ZwXjigbvkRaxZQpu1sT2wcMQh3CYOL8oJgwE2clzuTXVV"}]}}},"storageProfile":{"imageReference":{"publisher":"[parameters('imagePublisher')]","offer":"[parameters('imageOffer')]","sku":"[parameters('imageSku')]","version":"[parameters('imageVersion')]"},"osDisk":{"name":"osdisk","managedDisk":{"storageAccountType":"[parameters('storageAccountType')]"},"createOption":"FromImage"}},"networkProfile":{"networkInterfaces":[{"id":"[resourceId('Microsoft.Network/networkInterfaces',variables('nicName'))]"}]},"diagnosticsProfile":{}},"identity":{"type":"[variables('vmIdentityType')]","userAssignedIdentities":"[if(empty(parameters('userAssignedIdentities')), json('null'), parameters('userAssignedIdentities'))]"},"tags":{}}]},"parameters":{"location":{"value":"West Europe"},"zone":{"value":"1"},"vmSize":{"value":"Standard_D1"},"storageAccountType":{"value":"Standard_LRS"},"bootDiagnosticsEnabled":{"value":"true"},"newStorageAccountName":{"value":"storage8f0f177095b9201c"},"adminUsername":{"value":"azure"},"dnsNameForPublicIP":{"value":"kitchen-8f0f177095b9201c"},"vmName":{"value":"trusty-vm"},"systemAssignedIdentity":{"value":false},"userAssignedIdentities":{"value":{}},"secretUrl":{"value":""},"vaultName":{"value":""},"vaultResourceGroup":{"value":""},"publicIPSKU":{"value":"Basic"},"nicName":{"value":"nic-trusty-vm"},"existingStorageAccountBlobContainer":{"value":"vhds"},"imagePublisher":{"value":"Canonical"},"imageOffer":{"value":"UbuntuServer"},"imageSku":{"value":"14.04.4-LTS"},"imageVersion":{"value":"latest"}},"mode":"Incremental"}}",
"middlewares": [
[
"MsRest::RetryPolicyMiddleware",
{
"times": 3,
"retry": 0.02
}
],
[
"cookie_jar"
]
],
"log": null
},
"response": {
"body": "{"error":{"code":"InvalidTemplate","message":"Deployment template validation failed: 'The template parameters 'zone' in the parameters file are not valid; they are not present in the original template and can therefore not be provided at deployment time. The only supported parameters for this template are 'location, vmSize, newStorageAccountName, adminUsername, dnsNameForPublicIP, secretUrl, vaultName, vaultResourceGroup, existingStorageAccountBlobContainer, imagePublisher, imageOffer, imageSku, imageVersion, osDiskNameSuffix, vmName, nicName, publicIPSKU, publicIPAddressType, storageAccountType, systemAssignedIdentity, userAssignedIdentities, bootDiagnosticsEnabled'. Please see https://aka.ms/arm-deploy/#parameter-file for usage details.'.","additionalInfo":[{"type":"TemplateViolation","info":{"lineNumber":0,"linePosition":0,"path":""}}]}}",
"headers": {
"cache-control": "no-cache",
"pragma": "no-cache",
"content-type": "application/json; charset=utf-8",
"expires": "-1",
"x-ms-failure-cause": "gateway",
"x-ms-ratelimit-remaining-subscription-writes": "1199",
"x-ms-request-id": "ac918adb-194c-42e9-bfba-9990528bd14e",
"x-ms-correlation-request-id": "ac918adb-194c-42e9-bfba-9990528bd14e",
"x-ms-routing-request-id": "GERMANYWESTCENTRAL:20220516T170657Z:ac918adb-194c-42e9-bfba-9990528bd14e",
"strict-transport-security": "max-age=31536000; includeSubDomains",
"x-content-type-options": "nosniff",
"date": "Mon, 16 May 2022 17:06:57 GMT",
"content-length": "852"
},
"status": 400
}
}] on default-ubuntu-1404
E, [2022-05-16T20:06:57.526928 #18367] ERROR -- Kitchen: ----------------------
E, [2022-05-16T20:06:57.526937 #18367] ERROR -- Kitchen: ------Backtrace-------
E, [2022-05-16T20:06:57.526944 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/azure_mgmt_resources-0.18.2/lib/2020-06-01/generated/azure_mgmt_resources/deployments.rb:5424:in block in begin_create_or_update_async' E, [2022-05-16T20:06:57.526953 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/promise.rb:534:in block in on_fulfill'
E, [2022-05-16T20:06:57.526960 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:24:in block in execute' E, [2022-05-16T20:06:57.526967 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:47:in block in synchronize'
E, [2022-05-16T20:06:57.526975 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:47:in synchronize' E, [2022-05-16T20:06:57.526983 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:47:in synchronize'
E, [2022-05-16T20:06:57.526990 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:19:in execute' E, [2022-05-16T20:06:57.526997 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/promise.rb:564:in block in realize'
E, [2022-05-16T20:06:57.527004 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:363:in run_task' E, [2022-05-16T20:06:57.527011 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:352:in block (3 levels) in create_worker'
E, [2022-05-16T20:06:57.527019 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:335:in loop' E, [2022-05-16T20:06:57.527026 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:335:in block (2 levels) in create_worker'
E, [2022-05-16T20:06:57.527033 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:334:in catch' E, [2022-05-16T20:06:57.527041 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:334:in block in create_worker'
E, [2022-05-16T20:06:57.527048 #18367] ERROR -- Kitchen: ----End Backtrace-----
E, [2022-05-16T20:06:57.527055 #18367] ERROR -- Kitchen: ---Nested Exception---
E, [2022-05-16T20:06:57.527062 #18367] ERROR -- Kitchen: Class: Kitchen::ActionFailed
E, [2022-05-16T20:06:57.527069 #18367] ERROR -- Kitchen: Message: Failed to complete #create action: [{
"message": "MsRestAzure::AzureOperationError: InvalidTemplate: Deployment template validation failed: 'The template parameters 'zone' in the parameters file are not valid; they are not present in the original template and can therefore not be provided at deployment time. The only supported parameters for this template are 'location, vmSize, newStorageAccountName, adminUsername, dnsNameForPublicIP, secretUrl, vaultName, vaultResourceGroup, existingStorageAccountBlobContainer, imagePublisher, imageOffer, imageSku, imageVersion, osDiskNameSuffix, vmName, nicName, publicIPSKU, publicIPAddressType, storageAccountType, systemAssignedIdentity, userAssignedIdentities, bootDiagnosticsEnabled'. Please see https://aka.ms/arm-deploy/#parameter-file for usage details.'.",
"request": {
"base_uri": "https://management.azure.com/",
"path_template": "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}",
"method": "put",
"path_params": {
"resourceGroupName": "kitchen-default-ubuntu-1404-20220516T165926",
"deploymentName": "deploy-8f0f177095b9201c",
"subscriptionId": "672e0b88-ec09-4d3e-be98-1875e4bca34e"
},
"skip_encoding_path_params": null,
"query_params": {
"api-version": "2020-06-01"
},
"skip_encoding_query_params": null,
"headers": {
"Content-Type": "application/json; charset=utf-8",
"Accept": "application/json",
"accept-language": "en-US",
"x-ms-client-request-id": "1af48a20-e731-4f48-a996-046f7d8c99d1"
},
"body": "{"properties":{"template":{"$schema":"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#","contentVersion":"1.0.0.0","parameters":{"location":{"type":"string","metadata":{"description":"The location where the resources will be created."}},"vmSize":{"type":"string","metadata":{"description":"The size of the VM to be created"}},"newStorageAccountName":{"type":"string","metadata":{"description":"Unique DNS Name for the Storage Account where the Virtual Machine's disks will be placed."}},"adminUsername":{"type":"string","metadata":{"description":"User name for the Virtual Machine."}},"dnsNameForPublicIP":{"type":"string","metadata":{"description":"Unique DNS Name for the Public IP used to access the Virtual Machine."}},"secretUrl":{"type":"string","metadata":{"description":"Secret vault certificate URL"}},"vaultName":{"type":"string","metadata":{"description":"Name of key vault where certificate is located."}},"vaultResourceGroup":{"type":"string","metadata":{"description":"Resource group name where key vault is located."}},"existingStorageAccountBlobContainer":{"type":"string","metadata":{"description":"The Container Name for OS Images (blob)"}},"imagePublisher":{"type":"string","defaultValue":"Canonical","metadata":{"description":"Publisher for the VM, e.g. Canonical, MicrosoftWindowsServer"}},"imageOffer":{"type":"string","defaultValue":"UbuntuServer","metadata":{"description":"Offer for the VM, e.g. UbuntuServer, WindowsServer."}},"imageSku":{"type":"string","defaultValue":"14.04.3-LTS","metadata":{"description":"Sku for the VM, e.g. 14.04.3-LTS"}},"imageVersion":{"type":"string","defaultValue":"latest","metadata":{"description":"Either a date or latest."}},"osDiskNameSuffix":{"type":"string","defaultValue":"","metadata":{"description":"A disk Name Suffix to make the disk name unique in existing storage accounts."}},"vmName":{"type":"string","defaultValue":"vm","metadata":{"description":"The vm name created inside of the resource group."}},"nicName":{"type":"string","defaultValue":"nic","metadata":{"description":"The nic name created inside of the resource group."}},"publicIPSKU":{"type":"string","defaultValue":"Basic","metadata":{"description":"SKU name for the Public IP used to access the Virtual Machine."}},"publicIPAddressType":{"type":"string","defaultValue":"Dynamic","metadata":{"description":"SKU name for the Public IP used to access the Virtual Machine."}},"storageAccountType":{"type":"string","defaultValue":"Standard_LRS","metadata":{"description":"The type of storage to use (e.g. Standard_LRS or Premium_LRS)."}},"systemAssignedIdentity":{"type":"bool","defaultValue":false,"metadata":{"description":"Whether to enable system assigned identity for the vm."}},"userAssignedIdentities":{"type":"object","defaultValue":{},"metadata":{"description":"An object whose keys are resource IDs for user identities to associate with the Virtual Machine and whose values are empty objects, or empty to disable user assigned identities."}},"bootDiagnosticsEnabled":{"type":"string","defaultValue":"true","metadata":{"description":"Whether to enable (true) or disable (false) boot diagnostics. Default: false."}}},"variables":{"location":"[parameters('location')]","OSDiskName":"osdisk","nicName":"[parameters('nicName')]","addressPrefix":"10.0.0.0/16","subnetName":"Subnet","subnetPrefix":"10.0.0.0/24","storageAccountType":"[parameters('storageAccountType')]","publicIPAddressName":"publicip","vmStorageAccountContainerName":"vhds","vmName":"[parameters('vmName')]","vmSize":"[parameters('vmSize')]","vmIdentityType":"[if(parameters('systemAssignedIdentity'), if(empty(parameters('userAssignedIdentities')), 'SystemAssigned', 'SystemAssigned, UserAssigned'), if(empty(parameters('userAssignedIdentities')), 'None', 'UserAssigned'))]","virtualNetworkName":"vnet","vnetID":"[resourceId('Microsoft.Network/virtualNetworks',variables('virtualNetworkName'))]","subnetRef":"[concat(variables('vnetID'),'/subnets/',variables('subnetName'))]"},"resources":[{"apiVersion":"2017-05-10","name":"pid-18d63047-6cdf-4f34-beed-62f01fc73fc2","type":"Microsoft.Resources/deployments","properties":{"mode":"Incremental","template":{"$schema":"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#","contentVersion":"1.0.0.0","resources":[]}}},{"apiVersion":"2017-08-01","type":"Microsoft.Network/publicIPAddresses","name":"[variables('publicIPAddressName')]","location":"[variables('location')]","properties":{"publicIPAllocationMethod":"[parameters('publicIPAddressType')]","dnsSettings":{"domainNameLabel":"[parameters('dnsNameForPublicIP')]"}},"sku":{"name":"[parameters('publicIPSKU')]"},"tags":{}},{"apiVersion":"2015-05-01-preview","type":"Microsoft.Network/virtualNetworks","name":"[variables('virtualNetworkName')]","location":"[variables('location')]","properties":{"addressSpace":{"addressPrefixes":["[variables('addressPrefix')]"]},"subnets":[{"name":"[variables('subnetName')]","properties":{"addressPrefix":"[variables('subnetPrefix')]"}}]},"tags":{}},{"apiVersion":"2015-05-01-preview","type":"Microsoft.Network/networkInterfaces","name":"[variables('nicName')]","location":"[variables('location')]","dependsOn":["[concat('Microsoft.Network/publicIPAddresses/', variables('publicIPAddressName'))]","[concat('Microsoft.Network/virtualNetworks/', variables('virtualNetworkName'))]"],"properties":{"ipConfigurations":[{"name":"ipconfig1","properties":{"privateIPAllocationMethod":"Dynamic","publicIPAddress":{"id":"[resourceId('Microsoft.Network/publicIPAddresses',variables('publicIPAddressName'))]"},"subnet":{"id":"[variables('subnetRef')]"}}}]},"tags":{}},{"apiVersion":"2018-06-01","type":"Microsoft.Compute/virtualMachines","name":"[variables('vmName')]","location":"[variables('location')]","dependsOn":["[concat('Microsoft.Network/networkInterfaces/', variables('nicName'))]"],"properties":{"hardwareProfile":{"vmSize":"[variables('vmSize')]"},"osProfile":{"computername":"[variables('vmName')]","adminUsername":"[parameters('adminUsername')]","linuxConfiguration":{"disablePasswordAuthentication":"true","ssh":{"publicKeys":[{"path":"[concat('/home/',parameters('adminUsername'),'/.ssh/authorized_keys')]","keyData":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC0EPst20QHCAGm6hDTsx5O20OOO668QuarWjd8HLHHGMM/Bg12PJmgqK33mh7UZrUyaMYpDkYMmfNdPEA5/aHCo2f7etCtx08Rb1drg8MJZRY6ZSrIuXlRqvC+2UCuMExLJ4UusDGbIqkIvM+bWJL3tcQ3Qwk0fAL0iIxxftlDPllKoWcDYG2JHP4XiSPV2mzrJcdRcZX3DfXS021ibNeMWjlDp3jW6PBLQuA9MD1A8mwRcTxPWv7jEFYskuzI5kEln6ITa5F3AZtLQlX//d9A0XSxw/dNrJWCFamrLQ8ZwXjigbvkRaxZQpu1sT2wcMQh3CYOL8oJgwE2clzuTXVV"}]}}},"storageProfile":{"imageReference":{"publisher":"[parameters('imagePublisher')]","offer":"[parameters('imageOffer')]","sku":"[parameters('imageSku')]","version":"[parameters('imageVersion')]"},"osDisk":{"name":"osdisk","managedDisk":{"storageAccountType":"[parameters('storageAccountType')]"},"createOption":"FromImage"}},"networkProfile":{"networkInterfaces":[{"id":"[resourceId('Microsoft.Network/networkInterfaces',variables('nicName'))]"}]},"diagnosticsProfile":{}},"identity":{"type":"[variables('vmIdentityType')]","userAssignedIdentities":"[if(empty(parameters('userAssignedIdentities')), json('null'), parameters('userAssignedIdentities'))]"},"tags":{}}]},"parameters":{"location":{"value":"West Europe"},"zone":{"value":"1"},"vmSize":{"value":"Standard_D1"},"storageAccountType":{"value":"Standard_LRS"},"bootDiagnosticsEnabled":{"value":"true"},"newStorageAccountName":{"value":"storage8f0f177095b9201c"},"adminUsername":{"value":"azure"},"dnsNameForPublicIP":{"value":"kitchen-8f0f177095b9201c"},"vmName":{"value":"trusty-vm"},"systemAssignedIdentity":{"value":false},"userAssignedIdentities":{"value":{}},"secretUrl":{"value":""},"vaultName":{"value":""},"vaultResourceGroup":{"value":""},"publicIPSKU":{"value":"Basic"},"nicName":{"value":"nic-trusty-vm"},"existingStorageAccountBlobContainer":{"value":"vhds"},"imagePublisher":{"value":"Canonical"},"imageOffer":{"value":"UbuntuServer"},"imageSku":{"value":"14.04.4-LTS"},"imageVersion":{"value":"latest"}},"mode":"Incremental"}}",
"middlewares": [
[
"MsRest::RetryPolicyMiddleware",
{
"times": 3,
"retry": 0.02
}
],
[
"cookie_jar"
]
],
"log": null
},
"response": {
"body": "{"error":{"code":"InvalidTemplate","message":"Deployment template validation failed: 'The template parameters 'zone' in the parameters file are not valid; they are not present in the original template and can therefore not be provided at deployment time. The only supported parameters for this template are 'location, vmSize, newStorageAccountName, adminUsername, dnsNameForPublicIP, secretUrl, vaultName, vaultResourceGroup, existingStorageAccountBlobContainer, imagePublisher, imageOffer, imageSku, imageVersion, osDiskNameSuffix, vmName, nicName, publicIPSKU, publicIPAddressType, storageAccountType, systemAssignedIdentity, userAssignedIdentities, bootDiagnosticsEnabled'. Please see https://aka.ms/arm-deploy/#parameter-file for usage details.'.","additionalInfo":[{"type":"TemplateViolation","info":{"lineNumber":0,"linePosition":0,"path":""}}]}}",
"headers": {
"cache-control": "no-cache",
"pragma": "no-cache",
"content-type": "application/json; charset=utf-8",
"expires": "-1",
"x-ms-failure-cause": "gateway",
"x-ms-ratelimit-remaining-subscription-writes": "1199",
"x-ms-request-id": "ac918adb-194c-42e9-bfba-9990528bd14e",
"x-ms-correlation-request-id": "ac918adb-194c-42e9-bfba-9990528bd14e",
"x-ms-routing-request-id": "GERMANYWESTCENTRAL:20220516T170657Z:ac918adb-194c-42e9-bfba-9990528bd14e",
"strict-transport-security": "max-age=31536000; includeSubDomains",
"x-content-type-options": "nosniff",
"date": "Mon, 16 May 2022 17:06:57 GMT",
"content-length": "852"
},
"status": 400
}
}]
E, [2022-05-16T20:06:57.527084 #18367] ERROR -- Kitchen: ----------------------
E, [2022-05-16T20:06:57.527091 #18367] ERROR -- Kitchen: ------Backtrace-------
E, [2022-05-16T20:06:57.527098 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/azure_mgmt_resources-0.18.2/lib/2020-06-01/generated/azure_mgmt_resources/deployments.rb:5424:in block in begin_create_or_update_async' E, [2022-05-16T20:06:57.527108 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/promise.rb:534:in block in on_fulfill'
E, [2022-05-16T20:06:57.527116 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:24:in block in execute' E, [2022-05-16T20:06:57.527123 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:47:in block in synchronize'
E, [2022-05-16T20:06:57.527131 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:47:in synchronize' E, [2022-05-16T20:06:57.527139 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:47:in synchronize'
E, [2022-05-16T20:06:57.527146 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:19:in execute' E, [2022-05-16T20:06:57.527153 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/promise.rb:564:in block in realize'
E, [2022-05-16T20:06:57.527160 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:363:in run_task' E, [2022-05-16T20:06:57.527169 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:352:in block (3 levels) in create_worker'
E, [2022-05-16T20:06:57.527176 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:335:in loop' E, [2022-05-16T20:06:57.527183 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:335:in block (2 levels) in create_worker'
E, [2022-05-16T20:06:57.527191 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:334:in catch' E, [2022-05-16T20:06:57.527198 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:334:in block in create_worker'
E, [2022-05-16T20:06:57.527206 #18367] ERROR -- Kitchen: ----End Backtrace-----
The text was updated successfully, but these errors were encountered:
Error:
I, [2022-05-16T20:06:16.429635 #18367] INFO -- Kitchen: -----> Starting Test Kitchen (v3.2.2)
I, [2022-05-16T20:06:16.548270 #18367] INFO -- Kitchen: -----> Creating ...
W, [2022-05-16T20:06:16.548711 #18367] WARN -- Kitchen: /home/zero/.azure/credentials was not found or not accessible.
W, [2022-05-16T20:06:16.548753 #18367] WARN -- Kitchen: (/home/zero/.azure/credentials) does not contain tenant_id neither is the AZURE_TENANT_ID environment variable set.
W, [2022-05-16T20:06:16.648859 #18367] WARN -- Kitchen: Using tenant id set through
az login
.E, [2022-05-16T20:06:57.526576 #18367] ERROR -- Kitchen: ------Exception-------
E, [2022-05-16T20:06:57.526613 #18367] ERROR -- Kitchen: Class: Kitchen::ActionFailed
E, [2022-05-16T20:06:57.526627 #18367] ERROR -- Kitchen: Message: 1 actions failed.
"message": "MsRestAzure::AzureOperationError: InvalidTemplate: Deployment template validation failed: 'The template parameters 'zone' in the parameters file are not valid; they are not present in the original template and can therefore not be provided at deployment time. The only supported parameters for this template are 'location, vmSize, newStorageAccountName, adminUsername, dnsNameForPublicIP, secretUrl, vaultName, vaultResourceGroup, existingStorageAccountBlobContainer, imagePublisher, imageOffer, imageSku, imageVersion, osDiskNameSuffix, vmName, nicName, publicIPSKU, publicIPAddressType, storageAccountType, systemAssignedIdentity, userAssignedIdentities, bootDiagnosticsEnabled'. Please see https://aka.ms/arm-deploy/#parameter-file for usage details.'.",
'"request": {
"base_uri": "https://management.azure.com/",
"path_template": "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}",
"method": "put",
"path_params": {
"resourceGroupName": "kitchen-default-ubuntu-1404-20220516T165926",
"deploymentName": "deploy-8f0f177095b9201c",
"subscriptionId": "672e0b88-ec09-4d3e-be98-1875e4bca34e"
},
"skip_encoding_path_params": null,
"query_params": {
"api-version": "2020-06-01"
},
"skip_encoding_query_params": null,
"headers": {
"Content-Type": "application/json; charset=utf-8",
"Accept": "application/json",
"accept-language": "en-US",
"x-ms-client-request-id": "1af48a20-e731-4f48-a996-046f7d8c99d1"
},
"body": "{"properties":{"template":{"$schema":"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\"contentVersion\":\"1.0.0.0\",\"parameters\":{\"location\":{\"type\":\"string\",\"metadata\":{\"description\":\"The location where the resources will be created."}},"vmSize":{"type":"string","metadata":{"description":"The size of the VM to be created"}},"newStorageAccountName":{"type":"string","metadata":{"description":"Unique DNS Name for the Storage Account where the Virtual Machine's disks will be placed."}},"adminUsername":{"type":"string","metadata":{"description":"User name for the Virtual Machine."}},"dnsNameForPublicIP":{"type":"string","metadata":{"description":"Unique DNS Name for the Public IP used to access the Virtual Machine."}},"secretUrl":{"type":"string","metadata":{"description":"Secret vault certificate URL"}},"vaultName":{"type":"string","metadata":{"description":"Name of key vault where certificate is located."}},"vaultResourceGroup":{"type":"string","metadata":{"description":"Resource group name where key vault is located."}},"existingStorageAccountBlobContainer":{"type":"string","metadata":{"description":"The Container Name for OS Images (blob)"}},"imagePublisher":{"type":"string","defaultValue":"Canonical","metadata":{"description":"Publisher for the VM, e.g. Canonical, MicrosoftWindowsServer"}},"imageOffer":{"type":"string","defaultValue":"UbuntuServer","metadata":{"description":"Offer for the VM, e.g. UbuntuServer, WindowsServer."}},"imageSku":{"type":"string","defaultValue":"14.04.3-LTS","metadata":{"description":"Sku for the VM, e.g. 14.04.3-LTS"}},"imageVersion":{"type":"string","defaultValue":"latest","metadata":{"description":"Either a date or latest."}},"osDiskNameSuffix":{"type":"string","defaultValue":"","metadata":{"description":"A disk Name Suffix to make the disk name unique in existing storage accounts."}},"vmName":{"type":"string","defaultValue":"vm","metadata":{"description":"The vm name created inside of the resource group."}},"nicName":{"type":"string","defaultValue":"nic","metadata":{"description":"The nic name created inside of the resource group."}},"publicIPSKU":{"type":"string","defaultValue":"Basic","metadata":{"description":"SKU name for the Public IP used to access the Virtual Machine."}},"publicIPAddressType":{"type":"string","defaultValue":"Dynamic","metadata":{"description":"SKU name for the Public IP used to access the Virtual Machine."}},"storageAccountType":{"type":"string","defaultValue":"Standard_LRS","metadata":{"description":"The type of storage to use (e.g. Standard_LRS or Premium_LRS)."}},"systemAssignedIdentity":{"type":"bool","defaultValue":false,"metadata":{"description":"Whether to enable system assigned identity for the vm."}},"userAssignedIdentities":{"type":"object","defaultValue":{},"metadata":{"description":"An object whose keys are resource IDs for user identities to associate with the Virtual Machine and whose values are empty objects, or empty to disable user assigned identities."}},"bootDiagnosticsEnabled":{"type":"string","defaultValue":"true","metadata":{"description":"Whether to enable (true) or disable (false) boot diagnostics. Default: false."}}},"variables":{"location":"[parameters('location')]","OSDiskName":"osdisk","nicName":"[parameters('nicName')]","addressPrefix":"10.0.0.0/16","subnetName":"Subnet","subnetPrefix":"10.0.0.0/24","storageAccountType":"[parameters('storageAccountType')]","publicIPAddressName":"publicip","vmStorageAccountContainerName":"vhds","vmName":"[parameters('vmName')]","vmSize":"[parameters('vmSize')]","vmIdentityType":"[if(parameters('systemAssignedIdentity'), if(empty(parameters('userAssignedIdentities')), 'SystemAssigned', 'SystemAssigned, UserAssigned'), if(empty(parameters('userAssignedIdentities')), 'None', 'UserAssigned'))]","virtualNetworkName":"vnet","vnetID":"[resourceId('Microsoft.Network/virtualNetworks',variables('virtualNetworkName'))]","subnetRef":"[concat(variables('vnetID'),'/subnets/',variables('subnetName'))]"},"resources":[{"apiVersion":"2017-05-10","name":"pid-18d63047-6cdf-4f34-beed-62f01fc73fc2","type":"Microsoft.Resources/deployments","properties":{"mode":"Incremental","template":{"$schema":"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#","contentVersion":"1.0.0.0","resources":[]}}},{"apiVersion":"2017-08-01","type":"Microsoft.Network/publicIPAddresses","name":"[variables('publicIPAddressName')]","location":"[variables('location')]","properties":{"publicIPAllocationMethod":"[parameters('publicIPAddressType')]","dnsSettings":{"domainNameLabel":"[parameters('dnsNameForPublicIP')]"}},"sku":{"name":"[parameters('publicIPSKU')]"},"tags":{}},{"apiVersion":"2015-05-01-preview","type":"Microsoft.Network/virtualNetworks","name":"[variables('virtualNetworkName')]","location":"[variables('location')]","properties":{"addressSpace":{"addressPrefixes":["[variables('addressPrefix')]"]},"subnets":[{"name":"[variables('subnetName')]","properties":{"addressPrefix":"[variables('subnetPrefix')]"}}]},"tags":{}},{"apiVersion":"2015-05-01-preview","type":"Microsoft.Network/networkInterfaces","name":"[variables('nicName')]","location":"[variables('location')]","dependsOn":["[concat('Microsoft.Network/publicIPAddresses/', variables('publicIPAddressName'))]","[concat('Microsoft.Network/virtualNetworks/', variables('virtualNetworkName'))]"],"properties":{"ipConfigurations":[{"name":"ipconfig1","properties":{"privateIPAllocationMethod":"Dynamic","publicIPAddress":{"id":"[resourceId('Microsoft.Network/publicIPAddresses',variables('publicIPAddressName'))]"},"subnet":{"id":"[variables('subnetRef')]"}}}]},"tags":{}},{"apiVersion":"2018-06-01","type":"Microsoft.Compute/virtualMachines","name":"[variables('vmName')]","location":"[variables('location')]","dependsOn":["[concat('Microsoft.Network/networkInterfaces/', variables('nicName'))]"],"properties":{"hardwareProfile":{"vmSize":"[variables('vmSize')]"},"osProfile":{"computername":"[variables('vmName')]","adminUsername":"[parameters('adminUsername')]","linuxConfiguration":{"disablePasswordAuthentication":"true","ssh":{"publicKeys":[{"path":"[concat('/home/',parameters('adminUsername'),'/.ssh/authorized_keys')]","keyData":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC0EPst20QHCAGm6hDTsx5O20OOO668QuarWjd8HLHHGMM/Bg12PJmgqK33mh7UZrUyaMYpDkYMmfNdPEA5/aHCo2f7etCtx08Rb1drg8MJZRY6ZSrIuXlRqvC+2UCuMExLJ4UusDGbIqkIvM+bWJL3tcQ3Qwk0fAL0iIxxftlDPllKoWcDYG2JHP4XiSPV2mzrJcdRcZX3DfXS021ibNeMWjlDp3jW6PBLQuA9MD1A8mwRcTxPWv7jEFYskuzI5kEln6ITa5F3AZtLQlX//d9A0XSxw/dNrJWCFamrLQ8ZwXjigbvkRaxZQpu1sT2wcMQh3CYOL8oJgwE2clzuTXVV"}]}}},"storageProfile":{"imageReference":{"publisher":"[parameters('imagePublisher')]","offer":"[parameters('imageOffer')]","sku":"[parameters('imageSku')]","version":"[parameters('imageVersion')]"},"osDisk":{"name":"osdisk","managedDisk":{"storageAccountType":"[parameters('storageAccountType')]"},"createOption":"FromImage"}},"networkProfile":{"networkInterfaces":[{"id":"[resourceId('Microsoft.Network/networkInterfaces',variables('nicName'))]"}]},"diagnosticsProfile":{}},"identity":{"type":"[variables('vmIdentityType')]","userAssignedIdentities":"[if(empty(parameters('userAssignedIdentities')), json('null'), parameters('userAssignedIdentities'))]"},"tags":{}}]},"parameters":{"location":{"value":"West Europe"},"zone":{"value":"1"},"vmSize":{"value":"Standard_D1"},"storageAccountType":{"value":"Standard_LRS"},"bootDiagnosticsEnabled":{"value":"true"},"newStorageAccountName":{"value":"storage8f0f177095b9201c"},"adminUsername":{"value":"azure"},"dnsNameForPublicIP":{"value":"kitchen-8f0f177095b9201c"},"vmName":{"value":"trusty-vm"},"systemAssignedIdentity":{"value":false},"userAssignedIdentities":{"value":{}},"secretUrl":{"value":""},"vaultName":{"value":""},"vaultResourceGroup":{"value":""},"publicIPSKU":{"value":"Basic"},"nicName":{"value":"nic-trusty-vm"},"existingStorageAccountBlobContainer":{"value":"vhds"},"imagePublisher":{"value":"Canonical"},"imageOffer":{"value":"UbuntuServer"},"imageSku":{"value":"14.04.4-LTS"},"imageVersion":{"value":"latest"}},"mode":"Incremental"}}",
"middlewares": [
[
"MsRest::RetryPolicyMiddleware",
{
"times": 3,
"retry": 0.02
}
],
[
"cookie_jar"
]
],
"log": null
},
"response": {
"body": "{"error":{"code":"InvalidTemplate","message":"Deployment template validation failed: 'The template parameters 'zone' in the parameters file are not valid; they are not present in the original template and can therefore not be provided at deployment time. The only supported parameters for this template are 'location, vmSize, newStorageAccountName, adminUsername, dnsNameForPublicIP, secretUrl, vaultName, vaultResourceGroup, existingStorageAccountBlobContainer, imagePublisher, imageOffer, imageSku, imageVersion, osDiskNameSuffix, vmName, nicName, publicIPSKU, publicIPAddressType, storageAccountType, systemAssignedIdentity, userAssignedIdentities, bootDiagnosticsEnabled'. Please see https://aka.ms/arm-deploy/#parameter-file for usage details.'.","additionalInfo":[{"type":"TemplateViolation","info":{"lineNumber":0,"linePosition":0,"path":""}}]}}",
"headers": {
"cache-control": "no-cache",
"pragma": "no-cache",
"content-type": "application/json; charset=utf-8",
"expires": "-1",
"x-ms-failure-cause": "gateway",
"x-ms-ratelimit-remaining-subscription-writes": "1199",
"x-ms-request-id": "ac918adb-194c-42e9-bfba-9990528bd14e",
"x-ms-correlation-request-id": "ac918adb-194c-42e9-bfba-9990528bd14e",
"x-ms-routing-request-id": "GERMANYWESTCENTRAL:20220516T170657Z:ac918adb-194c-42e9-bfba-9990528bd14e",
"strict-transport-security": "max-age=31536000; includeSubDomains",
"x-content-type-options": "nosniff",
"date": "Mon, 16 May 2022 17:06:57 GMT",
"content-length": "852"
},
"status": 400
}
}] on default-ubuntu-1404
E, [2022-05-16T20:06:57.526655 #18367] ERROR -- Kitchen: ----------------------
E, [2022-05-16T20:06:57.526667 #18367] ERROR -- Kitchen: ------Backtrace-------
E, [2022-05-16T20:06:57.526678 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.2.2/lib/kitchen/command.rb:181:in
report_errors' E, [2022-05-16T20:06:57.526690 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.2.2/lib/kitchen/command.rb:172:in
run_action'E, [2022-05-16T20:06:57.526701 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.2.2/lib/kitchen/command/action.rb:35:in
block in call' E, [2022-05-16T20:06:57.526714 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in
measure'E, [2022-05-16T20:06:57.526727 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.2.2/lib/kitchen/command/action.rb:33:in
call' E, [2022-05-16T20:06:57.526738 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.2.2/lib/kitchen/cli.rb:52:in
perform'E, [2022-05-16T20:06:57.526749 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.2.2/lib/kitchen/cli.rb:198:in
block (2 levels) in <class:CLI>' E, [2022-05-16T20:06:57.526760 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/thor-1.2.1/lib/thor/command.rb:27:in
run'E, [2022-05-16T20:06:57.526771 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/thor-1.2.1/lib/thor/invocation.rb:127:in
invoke_command' E, [2022-05-16T20:06:57.526783 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/thor-1.2.1/lib/thor.rb:392:in
dispatch'E, [2022-05-16T20:06:57.526794 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/thor-1.2.1/lib/thor/base.rb:485:in
start' E, [2022-05-16T20:06:57.526807 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.2.2/bin/kitchen:11:in
block in <top (required)>'E, [2022-05-16T20:06:57.526818 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.2.2/lib/kitchen/errors.rb:183:in
with_friendly_errors' E, [2022-05-16T20:06:57.526830 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.2.2/bin/kitchen:11:in
<top (required)>'E, [2022-05-16T20:06:57.526842 #18367] ERROR -- Kitchen: /usr/bin/kitchen:383:in
load' E, [2022-05-16T20:06:57.526853 #18367] ERROR -- Kitchen: /usr/bin/kitchen:383:in
E, [2022-05-16T20:06:57.526864 #18367] ERROR -- Kitchen: ----End Backtrace-----
E, [2022-05-16T20:06:57.526876 #18367] ERROR -- Kitchen: -Composite Exception--
E, [2022-05-16T20:06:57.526888 #18367] ERROR -- Kitchen: Class: Kitchen::ActionFailed
E, [2022-05-16T20:06:57.526901 #18367] ERROR -- Kitchen: Message: Failed to complete #create action: [{
"message": "MsRestAzure::AzureOperationError: InvalidTemplate: Deployment template validation failed: 'The template parameters 'zone' in the parameters file are not valid; they are not present in the original template and can therefore not be provided at deployment time. The only supported parameters for this template are 'location, vmSize, newStorageAccountName, adminUsername, dnsNameForPublicIP, secretUrl, vaultName, vaultResourceGroup, existingStorageAccountBlobContainer, imagePublisher, imageOffer, imageSku, imageVersion, osDiskNameSuffix, vmName, nicName, publicIPSKU, publicIPAddressType, storageAccountType, systemAssignedIdentity, userAssignedIdentities, bootDiagnosticsEnabled'. Please see https://aka.ms/arm-deploy/#parameter-file for usage details.'.",
"request": {
"base_uri": "https://management.azure.com/",
"path_template": "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}",
"method": "put",
"path_params": {
"resourceGroupName": "kitchen-default-ubuntu-1404-20220516T165926",
"deploymentName": "deploy-8f0f177095b9201c",
"subscriptionId": "672e0b88-ec09-4d3e-be98-1875e4bca34e"
},
"skip_encoding_path_params": null,
"query_params": {
"api-version": "2020-06-01"
},
"skip_encoding_query_params": null,
"headers": {
"Content-Type": "application/json; charset=utf-8",
"Accept": "application/json",
"accept-language": "en-US",
"x-ms-client-request-id": "1af48a20-e731-4f48-a996-046f7d8c99d1"
},
"body": "{"properties":{"template":{"$schema":"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#","contentVersion":"1.0.0.0","parameters":{"location":{"type":"string","metadata":{"description":"The location where the resources will be created."}},"vmSize":{"type":"string","metadata":{"description":"The size of the VM to be created"}},"newStorageAccountName":{"type":"string","metadata":{"description":"Unique DNS Name for the Storage Account where the Virtual Machine's disks will be placed."}},"adminUsername":{"type":"string","metadata":{"description":"User name for the Virtual Machine."}},"dnsNameForPublicIP":{"type":"string","metadata":{"description":"Unique DNS Name for the Public IP used to access the Virtual Machine."}},"secretUrl":{"type":"string","metadata":{"description":"Secret vault certificate URL"}},"vaultName":{"type":"string","metadata":{"description":"Name of key vault where certificate is located."}},"vaultResourceGroup":{"type":"string","metadata":{"description":"Resource group name where key vault is located."}},"existingStorageAccountBlobContainer":{"type":"string","metadata":{"description":"The Container Name for OS Images (blob)"}},"imagePublisher":{"type":"string","defaultValue":"Canonical","metadata":{"description":"Publisher for the VM, e.g. Canonical, MicrosoftWindowsServer"}},"imageOffer":{"type":"string","defaultValue":"UbuntuServer","metadata":{"description":"Offer for the VM, e.g. UbuntuServer, WindowsServer."}},"imageSku":{"type":"string","defaultValue":"14.04.3-LTS","metadata":{"description":"Sku for the VM, e.g. 14.04.3-LTS"}},"imageVersion":{"type":"string","defaultValue":"latest","metadata":{"description":"Either a date or latest."}},"osDiskNameSuffix":{"type":"string","defaultValue":"","metadata":{"description":"A disk Name Suffix to make the disk name unique in existing storage accounts."}},"vmName":{"type":"string","defaultValue":"vm","metadata":{"description":"The vm name created inside of the resource group."}},"nicName":{"type":"string","defaultValue":"nic","metadata":{"description":"The nic name created inside of the resource group."}},"publicIPSKU":{"type":"string","defaultValue":"Basic","metadata":{"description":"SKU name for the Public IP used to access the Virtual Machine."}},"publicIPAddressType":{"type":"string","defaultValue":"Dynamic","metadata":{"description":"SKU name for the Public IP used to access the Virtual Machine."}},"storageAccountType":{"type":"string","defaultValue":"Standard_LRS","metadata":{"description":"The type of storage to use (e.g. Standard_LRS or Premium_LRS)."}},"systemAssignedIdentity":{"type":"bool","defaultValue":false,"metadata":{"description":"Whether to enable system assigned identity for the vm."}},"userAssignedIdentities":{"type":"object","defaultValue":{},"metadata":{"description":"An object whose keys are resource IDs for user identities to associate with the Virtual Machine and whose values are empty objects, or empty to disable user assigned identities."}},"bootDiagnosticsEnabled":{"type":"string","defaultValue":"true","metadata":{"description":"Whether to enable (true) or disable (false) boot diagnostics. Default: false."}}},"variables":{"location":"[parameters('location')]","OSDiskName":"osdisk","nicName":"[parameters('nicName')]","addressPrefix":"10.0.0.0/16","subnetName":"Subnet","subnetPrefix":"10.0.0.0/24","storageAccountType":"[parameters('storageAccountType')]","publicIPAddressName":"publicip","vmStorageAccountContainerName":"vhds","vmName":"[parameters('vmName')]","vmSize":"[parameters('vmSize')]","vmIdentityType":"[if(parameters('systemAssignedIdentity'), if(empty(parameters('userAssignedIdentities')), 'SystemAssigned', 'SystemAssigned, UserAssigned'), if(empty(parameters('userAssignedIdentities')), 'None', 'UserAssigned'))]","virtualNetworkName":"vnet","vnetID":"[resourceId('Microsoft.Network/virtualNetworks',variables('virtualNetworkName'))]","subnetRef":"[concat(variables('vnetID'),'/subnets/',variables('subnetName'))]"},"resources":[{"apiVersion":"2017-05-10","name":"pid-18d63047-6cdf-4f34-beed-62f01fc73fc2","type":"Microsoft.Resources/deployments","properties":{"mode":"Incremental","template":{"$schema":"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#","contentVersion":"1.0.0.0","resources":[]}}},{"apiVersion":"2017-08-01","type":"Microsoft.Network/publicIPAddresses","name":"[variables('publicIPAddressName')]","location":"[variables('location')]","properties":{"publicIPAllocationMethod":"[parameters('publicIPAddressType')]","dnsSettings":{"domainNameLabel":"[parameters('dnsNameForPublicIP')]"}},"sku":{"name":"[parameters('publicIPSKU')]"},"tags":{}},{"apiVersion":"2015-05-01-preview","type":"Microsoft.Network/virtualNetworks","name":"[variables('virtualNetworkName')]","location":"[variables('location')]","properties":{"addressSpace":{"addressPrefixes":["[variables('addressPrefix')]"]},"subnets":[{"name":"[variables('subnetName')]","properties":{"addressPrefix":"[variables('subnetPrefix')]"}}]},"tags":{}},{"apiVersion":"2015-05-01-preview","type":"Microsoft.Network/networkInterfaces","name":"[variables('nicName')]","location":"[variables('location')]","dependsOn":["[concat('Microsoft.Network/publicIPAddresses/', variables('publicIPAddressName'))]","[concat('Microsoft.Network/virtualNetworks/', variables('virtualNetworkName'))]"],"properties":{"ipConfigurations":[{"name":"ipconfig1","properties":{"privateIPAllocationMethod":"Dynamic","publicIPAddress":{"id":"[resourceId('Microsoft.Network/publicIPAddresses',variables('publicIPAddressName'))]"},"subnet":{"id":"[variables('subnetRef')]"}}}]},"tags":{}},{"apiVersion":"2018-06-01","type":"Microsoft.Compute/virtualMachines","name":"[variables('vmName')]","location":"[variables('location')]","dependsOn":["[concat('Microsoft.Network/networkInterfaces/', variables('nicName'))]"],"properties":{"hardwareProfile":{"vmSize":"[variables('vmSize')]"},"osProfile":{"computername":"[variables('vmName')]","adminUsername":"[parameters('adminUsername')]","linuxConfiguration":{"disablePasswordAuthentication":"true","ssh":{"publicKeys":[{"path":"[concat('/home/',parameters('adminUsername'),'/.ssh/authorized_keys')]","keyData":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC0EPst20QHCAGm6hDTsx5O20OOO668QuarWjd8HLHHGMM/Bg12PJmgqK33mh7UZrUyaMYpDkYMmfNdPEA5/aHCo2f7etCtx08Rb1drg8MJZRY6ZSrIuXlRqvC+2UCuMExLJ4UusDGbIqkIvM+bWJL3tcQ3Qwk0fAL0iIxxftlDPllKoWcDYG2JHP4XiSPV2mzrJcdRcZX3DfXS021ibNeMWjlDp3jW6PBLQuA9MD1A8mwRcTxPWv7jEFYskuzI5kEln6ITa5F3AZtLQlX//d9A0XSxw/dNrJWCFamrLQ8ZwXjigbvkRaxZQpu1sT2wcMQh3CYOL8oJgwE2clzuTXVV"}]}}},"storageProfile":{"imageReference":{"publisher":"[parameters('imagePublisher')]","offer":"[parameters('imageOffer')]","sku":"[parameters('imageSku')]","version":"[parameters('imageVersion')]"},"osDisk":{"name":"osdisk","managedDisk":{"storageAccountType":"[parameters('storageAccountType')]"},"createOption":"FromImage"}},"networkProfile":{"networkInterfaces":[{"id":"[resourceId('Microsoft.Network/networkInterfaces',variables('nicName'))]"}]},"diagnosticsProfile":{}},"identity":{"type":"[variables('vmIdentityType')]","userAssignedIdentities":"[if(empty(parameters('userAssignedIdentities')), json('null'), parameters('userAssignedIdentities'))]"},"tags":{}}]},"parameters":{"location":{"value":"West Europe"},"zone":{"value":"1"},"vmSize":{"value":"Standard_D1"},"storageAccountType":{"value":"Standard_LRS"},"bootDiagnosticsEnabled":{"value":"true"},"newStorageAccountName":{"value":"storage8f0f177095b9201c"},"adminUsername":{"value":"azure"},"dnsNameForPublicIP":{"value":"kitchen-8f0f177095b9201c"},"vmName":{"value":"trusty-vm"},"systemAssignedIdentity":{"value":false},"userAssignedIdentities":{"value":{}},"secretUrl":{"value":""},"vaultName":{"value":""},"vaultResourceGroup":{"value":""},"publicIPSKU":{"value":"Basic"},"nicName":{"value":"nic-trusty-vm"},"existingStorageAccountBlobContainer":{"value":"vhds"},"imagePublisher":{"value":"Canonical"},"imageOffer":{"value":"UbuntuServer"},"imageSku":{"value":"14.04.4-LTS"},"imageVersion":{"value":"latest"}},"mode":"Incremental"}}",
"middlewares": [
[
"MsRest::RetryPolicyMiddleware",
{
"times": 3,
"retry": 0.02
}
],
[
"cookie_jar"
]
],
"log": null
},
"response": {
"body": "{"error":{"code":"InvalidTemplate","message":"Deployment template validation failed: 'The template parameters 'zone' in the parameters file are not valid; they are not present in the original template and can therefore not be provided at deployment time. The only supported parameters for this template are 'location, vmSize, newStorageAccountName, adminUsername, dnsNameForPublicIP, secretUrl, vaultName, vaultResourceGroup, existingStorageAccountBlobContainer, imagePublisher, imageOffer, imageSku, imageVersion, osDiskNameSuffix, vmName, nicName, publicIPSKU, publicIPAddressType, storageAccountType, systemAssignedIdentity, userAssignedIdentities, bootDiagnosticsEnabled'. Please see https://aka.ms/arm-deploy/#parameter-file for usage details.'.","additionalInfo":[{"type":"TemplateViolation","info":{"lineNumber":0,"linePosition":0,"path":""}}]}}",
"headers": {
"cache-control": "no-cache",
"pragma": "no-cache",
"content-type": "application/json; charset=utf-8",
"expires": "-1",
"x-ms-failure-cause": "gateway",
"x-ms-ratelimit-remaining-subscription-writes": "1199",
"x-ms-request-id": "ac918adb-194c-42e9-bfba-9990528bd14e",
"x-ms-correlation-request-id": "ac918adb-194c-42e9-bfba-9990528bd14e",
"x-ms-routing-request-id": "GERMANYWESTCENTRAL:20220516T170657Z:ac918adb-194c-42e9-bfba-9990528bd14e",
"strict-transport-security": "max-age=31536000; includeSubDomains",
"x-content-type-options": "nosniff",
"date": "Mon, 16 May 2022 17:06:57 GMT",
"content-length": "852"
},
"status": 400
}
}] on default-ubuntu-1404
E, [2022-05-16T20:06:57.526928 #18367] ERROR -- Kitchen: ----------------------
E, [2022-05-16T20:06:57.526937 #18367] ERROR -- Kitchen: ------Backtrace-------
E, [2022-05-16T20:06:57.526944 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/azure_mgmt_resources-0.18.2/lib/2020-06-01/generated/azure_mgmt_resources/deployments.rb:5424:in
block in begin_create_or_update_async' E, [2022-05-16T20:06:57.526953 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/promise.rb:534:in
block in on_fulfill'E, [2022-05-16T20:06:57.526960 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:24:in
block in execute' E, [2022-05-16T20:06:57.526967 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:47:in
block in synchronize'E, [2022-05-16T20:06:57.526975 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:47:in
synchronize' E, [2022-05-16T20:06:57.526983 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:47:in
synchronize'E, [2022-05-16T20:06:57.526990 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:19:in
execute' E, [2022-05-16T20:06:57.526997 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/promise.rb:564:in
block in realize'E, [2022-05-16T20:06:57.527004 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:363:in
run_task' E, [2022-05-16T20:06:57.527011 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:352:in
block (3 levels) in create_worker'E, [2022-05-16T20:06:57.527019 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:335:in
loop' E, [2022-05-16T20:06:57.527026 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:335:in
block (2 levels) in create_worker'E, [2022-05-16T20:06:57.527033 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:334:in
catch' E, [2022-05-16T20:06:57.527041 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:334:in
block in create_worker'E, [2022-05-16T20:06:57.527048 #18367] ERROR -- Kitchen: ----End Backtrace-----
E, [2022-05-16T20:06:57.527055 #18367] ERROR -- Kitchen: ---Nested Exception---
E, [2022-05-16T20:06:57.527062 #18367] ERROR -- Kitchen: Class: Kitchen::ActionFailed
E, [2022-05-16T20:06:57.527069 #18367] ERROR -- Kitchen: Message: Failed to complete #create action: [{
"message": "MsRestAzure::AzureOperationError: InvalidTemplate: Deployment template validation failed: 'The template parameters 'zone' in the parameters file are not valid; they are not present in the original template and can therefore not be provided at deployment time. The only supported parameters for this template are 'location, vmSize, newStorageAccountName, adminUsername, dnsNameForPublicIP, secretUrl, vaultName, vaultResourceGroup, existingStorageAccountBlobContainer, imagePublisher, imageOffer, imageSku, imageVersion, osDiskNameSuffix, vmName, nicName, publicIPSKU, publicIPAddressType, storageAccountType, systemAssignedIdentity, userAssignedIdentities, bootDiagnosticsEnabled'. Please see https://aka.ms/arm-deploy/#parameter-file for usage details.'.",
"request": {
"base_uri": "https://management.azure.com/",
"path_template": "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}",
"method": "put",
"path_params": {
"resourceGroupName": "kitchen-default-ubuntu-1404-20220516T165926",
"deploymentName": "deploy-8f0f177095b9201c",
"subscriptionId": "672e0b88-ec09-4d3e-be98-1875e4bca34e"
},
"skip_encoding_path_params": null,
"query_params": {
"api-version": "2020-06-01"
},
"skip_encoding_query_params": null,
"headers": {
"Content-Type": "application/json; charset=utf-8",
"Accept": "application/json",
"accept-language": "en-US",
"x-ms-client-request-id": "1af48a20-e731-4f48-a996-046f7d8c99d1"
},
"body": "{"properties":{"template":{"$schema":"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#","contentVersion":"1.0.0.0","parameters":{"location":{"type":"string","metadata":{"description":"The location where the resources will be created."}},"vmSize":{"type":"string","metadata":{"description":"The size of the VM to be created"}},"newStorageAccountName":{"type":"string","metadata":{"description":"Unique DNS Name for the Storage Account where the Virtual Machine's disks will be placed."}},"adminUsername":{"type":"string","metadata":{"description":"User name for the Virtual Machine."}},"dnsNameForPublicIP":{"type":"string","metadata":{"description":"Unique DNS Name for the Public IP used to access the Virtual Machine."}},"secretUrl":{"type":"string","metadata":{"description":"Secret vault certificate URL"}},"vaultName":{"type":"string","metadata":{"description":"Name of key vault where certificate is located."}},"vaultResourceGroup":{"type":"string","metadata":{"description":"Resource group name where key vault is located."}},"existingStorageAccountBlobContainer":{"type":"string","metadata":{"description":"The Container Name for OS Images (blob)"}},"imagePublisher":{"type":"string","defaultValue":"Canonical","metadata":{"description":"Publisher for the VM, e.g. Canonical, MicrosoftWindowsServer"}},"imageOffer":{"type":"string","defaultValue":"UbuntuServer","metadata":{"description":"Offer for the VM, e.g. UbuntuServer, WindowsServer."}},"imageSku":{"type":"string","defaultValue":"14.04.3-LTS","metadata":{"description":"Sku for the VM, e.g. 14.04.3-LTS"}},"imageVersion":{"type":"string","defaultValue":"latest","metadata":{"description":"Either a date or latest."}},"osDiskNameSuffix":{"type":"string","defaultValue":"","metadata":{"description":"A disk Name Suffix to make the disk name unique in existing storage accounts."}},"vmName":{"type":"string","defaultValue":"vm","metadata":{"description":"The vm name created inside of the resource group."}},"nicName":{"type":"string","defaultValue":"nic","metadata":{"description":"The nic name created inside of the resource group."}},"publicIPSKU":{"type":"string","defaultValue":"Basic","metadata":{"description":"SKU name for the Public IP used to access the Virtual Machine."}},"publicIPAddressType":{"type":"string","defaultValue":"Dynamic","metadata":{"description":"SKU name for the Public IP used to access the Virtual Machine."}},"storageAccountType":{"type":"string","defaultValue":"Standard_LRS","metadata":{"description":"The type of storage to use (e.g. Standard_LRS or Premium_LRS)."}},"systemAssignedIdentity":{"type":"bool","defaultValue":false,"metadata":{"description":"Whether to enable system assigned identity for the vm."}},"userAssignedIdentities":{"type":"object","defaultValue":{},"metadata":{"description":"An object whose keys are resource IDs for user identities to associate with the Virtual Machine and whose values are empty objects, or empty to disable user assigned identities."}},"bootDiagnosticsEnabled":{"type":"string","defaultValue":"true","metadata":{"description":"Whether to enable (true) or disable (false) boot diagnostics. Default: false."}}},"variables":{"location":"[parameters('location')]","OSDiskName":"osdisk","nicName":"[parameters('nicName')]","addressPrefix":"10.0.0.0/16","subnetName":"Subnet","subnetPrefix":"10.0.0.0/24","storageAccountType":"[parameters('storageAccountType')]","publicIPAddressName":"publicip","vmStorageAccountContainerName":"vhds","vmName":"[parameters('vmName')]","vmSize":"[parameters('vmSize')]","vmIdentityType":"[if(parameters('systemAssignedIdentity'), if(empty(parameters('userAssignedIdentities')), 'SystemAssigned', 'SystemAssigned, UserAssigned'), if(empty(parameters('userAssignedIdentities')), 'None', 'UserAssigned'))]","virtualNetworkName":"vnet","vnetID":"[resourceId('Microsoft.Network/virtualNetworks',variables('virtualNetworkName'))]","subnetRef":"[concat(variables('vnetID'),'/subnets/',variables('subnetName'))]"},"resources":[{"apiVersion":"2017-05-10","name":"pid-18d63047-6cdf-4f34-beed-62f01fc73fc2","type":"Microsoft.Resources/deployments","properties":{"mode":"Incremental","template":{"$schema":"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#","contentVersion":"1.0.0.0","resources":[]}}},{"apiVersion":"2017-08-01","type":"Microsoft.Network/publicIPAddresses","name":"[variables('publicIPAddressName')]","location":"[variables('location')]","properties":{"publicIPAllocationMethod":"[parameters('publicIPAddressType')]","dnsSettings":{"domainNameLabel":"[parameters('dnsNameForPublicIP')]"}},"sku":{"name":"[parameters('publicIPSKU')]"},"tags":{}},{"apiVersion":"2015-05-01-preview","type":"Microsoft.Network/virtualNetworks","name":"[variables('virtualNetworkName')]","location":"[variables('location')]","properties":{"addressSpace":{"addressPrefixes":["[variables('addressPrefix')]"]},"subnets":[{"name":"[variables('subnetName')]","properties":{"addressPrefix":"[variables('subnetPrefix')]"}}]},"tags":{}},{"apiVersion":"2015-05-01-preview","type":"Microsoft.Network/networkInterfaces","name":"[variables('nicName')]","location":"[variables('location')]","dependsOn":["[concat('Microsoft.Network/publicIPAddresses/', variables('publicIPAddressName'))]","[concat('Microsoft.Network/virtualNetworks/', variables('virtualNetworkName'))]"],"properties":{"ipConfigurations":[{"name":"ipconfig1","properties":{"privateIPAllocationMethod":"Dynamic","publicIPAddress":{"id":"[resourceId('Microsoft.Network/publicIPAddresses',variables('publicIPAddressName'))]"},"subnet":{"id":"[variables('subnetRef')]"}}}]},"tags":{}},{"apiVersion":"2018-06-01","type":"Microsoft.Compute/virtualMachines","name":"[variables('vmName')]","location":"[variables('location')]","dependsOn":["[concat('Microsoft.Network/networkInterfaces/', variables('nicName'))]"],"properties":{"hardwareProfile":{"vmSize":"[variables('vmSize')]"},"osProfile":{"computername":"[variables('vmName')]","adminUsername":"[parameters('adminUsername')]","linuxConfiguration":{"disablePasswordAuthentication":"true","ssh":{"publicKeys":[{"path":"[concat('/home/',parameters('adminUsername'),'/.ssh/authorized_keys')]","keyData":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC0EPst20QHCAGm6hDTsx5O20OOO668QuarWjd8HLHHGMM/Bg12PJmgqK33mh7UZrUyaMYpDkYMmfNdPEA5/aHCo2f7etCtx08Rb1drg8MJZRY6ZSrIuXlRqvC+2UCuMExLJ4UusDGbIqkIvM+bWJL3tcQ3Qwk0fAL0iIxxftlDPllKoWcDYG2JHP4XiSPV2mzrJcdRcZX3DfXS021ibNeMWjlDp3jW6PBLQuA9MD1A8mwRcTxPWv7jEFYskuzI5kEln6ITa5F3AZtLQlX//d9A0XSxw/dNrJWCFamrLQ8ZwXjigbvkRaxZQpu1sT2wcMQh3CYOL8oJgwE2clzuTXVV"}]}}},"storageProfile":{"imageReference":{"publisher":"[parameters('imagePublisher')]","offer":"[parameters('imageOffer')]","sku":"[parameters('imageSku')]","version":"[parameters('imageVersion')]"},"osDisk":{"name":"osdisk","managedDisk":{"storageAccountType":"[parameters('storageAccountType')]"},"createOption":"FromImage"}},"networkProfile":{"networkInterfaces":[{"id":"[resourceId('Microsoft.Network/networkInterfaces',variables('nicName'))]"}]},"diagnosticsProfile":{}},"identity":{"type":"[variables('vmIdentityType')]","userAssignedIdentities":"[if(empty(parameters('userAssignedIdentities')), json('null'), parameters('userAssignedIdentities'))]"},"tags":{}}]},"parameters":{"location":{"value":"West Europe"},"zone":{"value":"1"},"vmSize":{"value":"Standard_D1"},"storageAccountType":{"value":"Standard_LRS"},"bootDiagnosticsEnabled":{"value":"true"},"newStorageAccountName":{"value":"storage8f0f177095b9201c"},"adminUsername":{"value":"azure"},"dnsNameForPublicIP":{"value":"kitchen-8f0f177095b9201c"},"vmName":{"value":"trusty-vm"},"systemAssignedIdentity":{"value":false},"userAssignedIdentities":{"value":{}},"secretUrl":{"value":""},"vaultName":{"value":""},"vaultResourceGroup":{"value":""},"publicIPSKU":{"value":"Basic"},"nicName":{"value":"nic-trusty-vm"},"existingStorageAccountBlobContainer":{"value":"vhds"},"imagePublisher":{"value":"Canonical"},"imageOffer":{"value":"UbuntuServer"},"imageSku":{"value":"14.04.4-LTS"},"imageVersion":{"value":"latest"}},"mode":"Incremental"}}",
"middlewares": [
[
"MsRest::RetryPolicyMiddleware",
{
"times": 3,
"retry": 0.02
}
],
[
"cookie_jar"
]
],
"log": null
},
"response": {
"body": "{"error":{"code":"InvalidTemplate","message":"Deployment template validation failed: 'The template parameters 'zone' in the parameters file are not valid; they are not present in the original template and can therefore not be provided at deployment time. The only supported parameters for this template are 'location, vmSize, newStorageAccountName, adminUsername, dnsNameForPublicIP, secretUrl, vaultName, vaultResourceGroup, existingStorageAccountBlobContainer, imagePublisher, imageOffer, imageSku, imageVersion, osDiskNameSuffix, vmName, nicName, publicIPSKU, publicIPAddressType, storageAccountType, systemAssignedIdentity, userAssignedIdentities, bootDiagnosticsEnabled'. Please see https://aka.ms/arm-deploy/#parameter-file for usage details.'.","additionalInfo":[{"type":"TemplateViolation","info":{"lineNumber":0,"linePosition":0,"path":""}}]}}",
"headers": {
"cache-control": "no-cache",
"pragma": "no-cache",
"content-type": "application/json; charset=utf-8",
"expires": "-1",
"x-ms-failure-cause": "gateway",
"x-ms-ratelimit-remaining-subscription-writes": "1199",
"x-ms-request-id": "ac918adb-194c-42e9-bfba-9990528bd14e",
"x-ms-correlation-request-id": "ac918adb-194c-42e9-bfba-9990528bd14e",
"x-ms-routing-request-id": "GERMANYWESTCENTRAL:20220516T170657Z:ac918adb-194c-42e9-bfba-9990528bd14e",
"strict-transport-security": "max-age=31536000; includeSubDomains",
"x-content-type-options": "nosniff",
"date": "Mon, 16 May 2022 17:06:57 GMT",
"content-length": "852"
},
"status": 400
}
}]
E, [2022-05-16T20:06:57.527084 #18367] ERROR -- Kitchen: ----------------------
E, [2022-05-16T20:06:57.527091 #18367] ERROR -- Kitchen: ------Backtrace-------
E, [2022-05-16T20:06:57.527098 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/azure_mgmt_resources-0.18.2/lib/2020-06-01/generated/azure_mgmt_resources/deployments.rb:5424:in
block in begin_create_or_update_async' E, [2022-05-16T20:06:57.527108 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/promise.rb:534:in
block in on_fulfill'E, [2022-05-16T20:06:57.527116 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:24:in
block in execute' E, [2022-05-16T20:06:57.527123 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:47:in
block in synchronize'E, [2022-05-16T20:06:57.527131 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:47:in
synchronize' E, [2022-05-16T20:06:57.527139 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:47:in
synchronize'E, [2022-05-16T20:06:57.527146 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:19:in
execute' E, [2022-05-16T20:06:57.527153 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/promise.rb:564:in
block in realize'E, [2022-05-16T20:06:57.527160 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:363:in
run_task' E, [2022-05-16T20:06:57.527169 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:352:in
block (3 levels) in create_worker'E, [2022-05-16T20:06:57.527176 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:335:in
loop' E, [2022-05-16T20:06:57.527183 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:335:in
block (2 levels) in create_worker'E, [2022-05-16T20:06:57.527191 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:334:in
catch' E, [2022-05-16T20:06:57.527198 #18367] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:334:in
block in create_worker'E, [2022-05-16T20:06:57.527206 #18367] ERROR -- Kitchen: ----End Backtrace-----
The text was updated successfully, but these errors were encountered: