Open sodtom opened 2 years ago
The above error was fixed with the April 2022 Log4j patch fix, BUT now seems to occasionally fail with error:
_New-AzResourceGroupDeployment : 17.14.55 - The deployment 'azuredeploy-0426-xxxx' failed with error(s). Showing 1 out of 1 error(s).
Status Message: The resource operation completed with terminal provisioning state 'Failed'. (Code: ResourceDeploymentFailure)
- VM has reported a failure when processing extension 'DSCConfiguration0'. Error message: "DSC Configuration 'ServerConfiguration' completed with error(s). Following ar
e the first few: PowerShell DSC resource ArcGISLicense failed to execute Set-TargetResource functionality with error message: The SendConfigurationApply function did
not succeed."
More information on troubleshooting is available at https://aka.ms/VMExtensionDSCWindowsTroubleshoot (Code:VMExtensionProvisioningError)
CorrelationId: 2ed32ff3-9a24-4c03-b15b-dd529da6d761
At C:\Users\xxxxxxxx\Deploy-AzureResourceGroup.ps1:784 char:5
+ New-AzResourceGroupDeployment -Name ((Get-ChildItem $TemplateFile ...
+ ~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [New-AzResourceGroupDeployment], Exception
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet
@sodtom we will release patched version of the 10.9.1 templates soon to fix issues caused due to installing log4j patches
Seems that the last error is due to lack of network connection on VM (NAT problem).
When trying to deploy ArcGIS Enterprise 10.9.1 with ARM templates and DSC to Azure following error occurs after about 32 min deployment execution:
_Status Message: The resource operation completed with terminal provisioning state 'Failed'. (Code: ResourceDeploymentFailure) - VM has reported a failure when processing extension 'DSCConfiguration0'. Error message: "DSC Configuration 'ServerConfiguration' completed with error(s). Following are the first few: Cannot convert argument "0", with value: "System.Object[]", for "RemoveChild" to type "System.Xml.XmlNode": "Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.Xml.XmlNode"." PowerShell DSC resource ArcGIS_Server failed to execute Set-TargetResource functionality with error message: The operation has timed out The SendConfigurationApply function did not succeed." More information on troubleshooting is available at https://aka.ms/VMExtensionDSCWindowsTroubleshoot (Code:VMExtensionProvisioningError) CorrelationId: b6804715-6690-4a24-94c1-3f368f9620e5 At C:\Users\xxxxxx\DSC\Deploy-AzureResourceGroup.ps1:743 char:5 + New-AzResourceGroupDeployment -Name ((Get-ChildItem $TemplateFile ... +
~~~~~~~~~~~~~Tried ArcGIS CloudBuilder 10.9.1 too and it gives exactly same error.
Template used is working with ArcGIS 10.9 images just fine, so the problem must be in DSC implementation.