laptop and a wrench

漏洞

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]$'.

上次发布: July 30, 2020 ArcGIS Enterprise Builder
漏洞 ID 编号 BUG-000132227
已提交July 14, 2020
上次修改时间September 15, 2022
适用范围ArcGIS Enterprise Builder
找到的版本10.8
操作系统Windows OS
操作系统版本10.0 64 Bit
状态In Review

解决办法

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.

重现步骤

漏洞 ID: BUG-000132227

软件:

  • ArcGIS Enterprise Builder

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项