CloudBuilder Upgrade 10.9.1 failure when processing extension 'DSCConfiguration'

826
1
02-11-2022 05:25 AM
Labels (1)
AngieCausey
New Contributor III

Getting this error when trying to upgrade from 10.8.1 to 10.9.1 using cloudbuilder:

<b>VMExtensionProvisioningError</b> - VM has reported a failure when processing extension 'DSCConfiguration'. Error message: "DSC Configuration 'ServerUpgrade' completed with error(s). Following are the first few: Exception calling "DownloadString" with "1" argument(s): "Unable to connect to the remote server" The PowerShell DSC resource '[ArcGIS_ServerUpgrade]ServerConfigureUpgrade' with SourceInfo 'C:\Packages\Plugins\Microsoft.Powershell.DSC\2.83.2.0\DSCWork\DSC.0\ServerUpgrade.ps1::283::13::ArcGIS_ServerUpgrade' threw one or more non-terminating errors while running the Test-TargetResource functionality. These errors are logged to the ETW channel called Microsoft-Windows-DSC/Operational. Refer to this channel for more details. The SendConfigurationApply function did not succeed."

Any ideas?

0 Kudos
1 Reply
ShanonLoughton
Esri Contributor

That error is from one of the VMs in your existing stack, presumably ArcGIS Server VM.

I have not tried an upgrade in CloudBuilder but the error is caused by this line deep in DSC scripts for CloudBuilder 10.9.1:
..\DSC\ArcGIS\DSCResources\ArcGIS_ServerUpgrade.ps1
from line 62:
if($Ensure -ieq 'Present') {
$Referer = "http://localhost"
$ServerSiteURL = "https://$($ServerHostName):6443"
[string]$ServerUpgradeUrl = $ServerSiteURL.TrimEnd('/') + "/arcgis/admin/upgrade"

...which is calling your existing deployment to upgrade via the API.

If you try that manually from inside the VM:
https://<serverhostname>:6443/arcgis/admin/upgrade
or from outside
https://<deploymentFQDN>/server/admin/upgrade

or even check the logs of ArcGIS Server after your original error, you could probably diagnose further.

Possibly either your:
- ArcGIS Server VM cannot reach the Internet, or
- cannot reach the upgrade file(s) URL whatever that is in 10.8.1 (e.g.: my.esri.com, links.esri.com, *.esri.com or *.arcgis.com),
- or can reach it but is not authorized.

You may need Esri Support, or some workarounds to try are:
 - Ensure deployment is patched, then try upgrade (I think there is no option in CB to patch, so you must patch manually by remoting into each VM). Also at 10.8.1 if you have ArcGIS Enterprise stack and not just a standalone ArcGIS Server, there were some patches that could not be applied with patch program prior to upgrading Portal and Datastore so check those out too (https://support.esri.com/en/Products/Enterprise/arcgis-data-store/arcgis-data-store/10-8-1#downloads...
https://support.esri.com/en/Products/Enterprise/portal-for-arcgis/portal-for-arcgis/10-8-1#downloads...)

- Or, upgrade VMs manually. I dont think deployment can be managed in CloudBuilder after that though.
Shanon

ArcGIS Enterprise Admin Professional, AWS Solutions Architect Professional
0 Kudos