Expanding existing stretched cluster failing with error
Message: Error occurred while generating input for add hosts in NSX environment
Cause: Cannot invoke "java.util.Collection.iterator()" because "c" is null
Checking transport zone in NSX yuo can see that is shows correctly.
VCF 5.2
The worfklow value zoneNames is missing or not populated.
Make sure to have snapshot of SDDC before taking any action and also backup the intermediate file workflow.json before making any changes.
Extract workflow spec file following these steps Re-try an existing workflow by modifying the workflow spec file
Find similar entries in exported file
"hostIds" : [
"java.util.ArrayList",
[
[
"java.util.UUID",
"#######-######-######-#######"
],
[
"java.util.UUID",
"#######-######-######-#######"
],
[
"java.util.UUID",
"#######-######-######-#######"
],
[
"java.util.UUID",
"#######-######-######-#######"
],
[
"java.util.UUID",
"#######-######-######-######"
]
]
],
"hostToUplinkProfileMap" : null,
"listOfIpAddressPoolSpec" : null,
add following in spec file
"hostIds" : "zoneNames" : [
[
"java.util.ArrayList",
[
[
"java.util.UUID",
"#######-######-######-#######"
],
[
"java.util.UUID",
"#######-######-######-#######"
],
[
"java.util.UUID",
"#######-######-######-#######"
],
[
"java.util.UUID",
"#######-######-######-#######"
],
[
"java.util.UUID",
"#######-######-######-######"
]
]
],
"hostToUplinkProfileMap" : null,
"listOfIpAddressPoolSpec" : null,After that import spec file and re-run task.