Error while upgrading CWPS with HA upgrade script
search cancel

Error while upgrading CWPS with HA upgrade script

book

Article ID: 255782

calendar_today

Updated On:

Products

Cloud Workload Protection for Storage

Issue/Introduction

CWPS was getting an error running the (HA) High Availability upgrade script.   In the error below, replace <imageDefinitionName with the name of the image being deployed.

Error:

The deployment <imageDefinitionName> failed with error(s). Showing 1 out of 1 error(s).

Status Message: The entity name 'vmScaleSetName' is invalid according to its validation rule:

^[^_\W][\w-._]{0,79}(?<![-.])$.

Cause

The upgrade script  found attached to article https://knowledge.broadcom.com/external/article/175470/how-to-upgrade-to-a-new-release-of-syman.html#HighAvailability  prompts for the name of the new CU and PU.  When entering the names of the CU and Pu they can't end with a period or underscore.

 

 

 Error message:

The entity name <imageDefinitionName> is invalid according to its validation rule: ^[^_\W][\w-._]{0,79}(?<![-.])$"*

Cause:

The <imageDefinitionName> name ends with a period or underscore.

Solution:

Choose a name for the image definition that meets the following conditions:Has an 80-character limit
Contains only English letters, numbers, underscores, hyphens, and periods
Starts and ends with English letters or numbers

Resolution

 

 Error message:

The entity name <imageDefinitionName> is invalid according to its validation rule: ^[^_\W][\w-._]{0,79}(?<![-.])$"*

Cause:

The <imageDefinitionName> name ends with a period or underscore.

Solution:

Choose a name for the image definition that meets the following conditions:

Has an 80-character limit
Contains only English letters, numbers, underscores, hyphens, and periods
Starts and ends with English letters or numbers