"The entries under the networks array must reference either clustered or non-clustered resources only." warning label for blueprint network properties after upgrading Aria Automation
search cancel

"The entries under the networks array must reference either clustered or non-clustered resources only." warning label for blueprint network properties after upgrading Aria Automation

book

Article ID: 371106

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

  • After upgrading to Aria 8.16 and above Cloud Templates now flag a warning label for the Network properties of Cloud Machine resources which include a count property. The error message reads:
The entries under the networks array must reference either clustered or non-clustered resources only. You can either use the map_to_object expression or add count:1 to convert a non-clustered to a clustered resource, or you can remove the count to convert a clustered resource to non-clustered.
  • The network properties may also be duplicated to be present more than once when the blueprint is viewed in the blueprint yaml editor in the UI.
  • Deployments may fail with errors similar to:

Cannot deserialize value of type ArrayList<string> from Array value (token JsonToken.START_ARRAY) at [source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: com.vmware.admiral.compute.content.TemplateComputeDescription["networks"]->ArrayList[0])

Environment

  • VMware Aria Automation 8.16
  • VMware Aria Automation 8.17

Cause

The Blueprint yaml editor is stricter in the later releases when it comes to referencing the count property.

Resolution

To resolve the issue ensure each network object added to the blueprint has the count property added:

Network0:
type: Cloud.NSX.Network
properties:
deviceIndex: 0
networkType: existing
count: 1
name: Network0
constraints:


Once the count property is added the duplicated network lines can be removed from the BP in the yaml editor.