laptop and a wrench

Bug

When CAPS is used for Azure Resource Manager prefix, Azure Cloud Builder upgrade returns the following error message, 'The domain name label ALupgradepublicip is invalid. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$'.

Last Published: July 30, 2020 ArcGIS Enterprise Builder
Bug ID Number BUG-000132227
SubmittedJuly 14, 2020
Last ModifiedSeptember 15, 2022
Applies toArcGIS Enterprise Builder
Version found10.8
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusIn Review

Workaround

Note: The issue is fixed in ArcGIS GIS Server 10.8.1 but for ArcGIS GIS Server 10.8.0 upgrades see the workaround below:

 

There are a couple of solutions available.

 

Option 1: Using Upgrade Automation Artifacts

a. Run through upgrade workflow and on summary page save/download the Upgrade Automation Artifacts.

azure summary file.png

 

b.     Open with Notepad++ and edit “add-upgrade-vm.json”.

c.     Replace Line 270 ( "domainNameLabel": "[parameters('dnsPrefixForPublicIpAddress')]") with "domainNameLabel": "[toLower(parameters('dnsPrefixForPublicIpAddress'))]".

d.     Run upgrades using PowerShell or Bash CLI.

 

Option 2: Using Cloud Builder by updating template files in One Click Application Install Location (A little harder to find and is not a recommended approach). Make sure CB is not running.

a.  Search the the install location for ArcGIS Cloud Builder 10.8 in a path with URI like the following - C:\Users\username\AppData\Local\Apps\2.0\obfuscatedfoldername\obfuscatedfoldername.For example, C:\Users\shai9087\AppData\Local\Apps\2.0\VTLLKAV7.2E2\RCK8186A.578\arcg...exe_0542afd83ab940eb_000a.0008_none_dbe5eb088b8ce437

 

The version number is indicated in the .config file name.

 

azure cb isntall folder.png

 

b.     Navigate to .\Resources\UpgradeAutomation\Templates

c.     Open and edit “add-upgrade-vm.json”.

d.     Replace Line 270 ( "domainNameLabel": "[parameters('dnsPrefixForPublicIpAddress')]") with "domainNameLabel": "[toLower(parameters('dnsPrefixForPublicIpAddress'))]".

e.     Start Cloud Builder 10.8 and run upgrades.

Steps to Reproduce

Bug ID: BUG-000132227

Software:

  • ArcGIS Enterprise Builder

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options