EHC upgrade foundation init failure. SyntaxError: String contains control character

When upgrading DellEMC’s EHC foundation modules. The DellEMC EHC foundation module initialization workflow fails with an error:  SyntaxError: String contains control character Workflow:CreatePropertyGroupAndCustomPropertiesSiteAffinity / Create Property Group (item1)#35) (Workflow:CreatePropertyGroupAndCustomPropertiesSiteAffinity / Create Property Group (item1)#35)

This failure occurs due to special characters found in property groups property values during a JSON conversion.

A few property value examples causing the failure:

scriptpathcharacters1

scriptpathcharacters

To resolve:

  1. Backup the property groups using cloudclient, or manually steps 3-6
  2. Delete the property groups from the vRA UI
  3. Run Initialize EHC foundation workflow again
  4. Restore property groups.

 

One thought on “EHC upgrade foundation init failure. SyntaxError: String contains control character

  1. Pingback: Convert vRA property groups visibility from global to tenant. – Riveting Clouds

Leave a comment