Under hosts it shows that API request to network-pools fails with NetworkPool Internal Server Error:
Under Network Settings --> Network Pool you get:
The logging shows "Cannot invoke "java.util.List.stream()" because "ipRangeList" is null":
com.vmware.evo.sddc.networkpool.common.NetworkPoolApiException: NetworkPoool Internal Server Error at com.vmware.evo.sddc.networkpool.rest.api.controller.NetworkpoolsApiController.getNetworkPool(NetworkpoolsApiController.java:133) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)Caused by: java.lang.NullPointerException: Cannot invoke "java.util.List.stream()" because "ipRangeList" is null at com.vmware.evo.sddc.networkpool.service.ServiceNetworkAssembler.toIpPoolList(ServiceNetworkAssembler.java:72) at com.vmware.evo.sddc.networkpool.service.ServiceNetworkAssembler.toNetwork(ServiceNetworkAssembler.java:28) at com.vmware.evo.sddc.networkpool.service.ServiceNetworkPoolAssembler.lambda$toNetworkList$0(ServiceNetworkPoolAssembler.java:56) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
This can happen particularly after commissioning hosts from vCenter, and regardless of vcf_brownfield.py sync option was used afterwards.
VMware Cloud Foundation 5.2.x
This is due to the workflow of migration to a network pool: Duplicate IP addresses are removed from the other networks in the old network pool. If a single network in the network pool is either of the conditions below:
1) Is only covering used ips by the domain
2) New network's ips remain the same, then the ipRanges are left as empty list
This leads to a NullPointerException for the ipRangeList, thus causing the problem.
Contact GSS to review the database and confirm this is the applicable issue, and for resolution.
Once it is confirmed that this is the applicable issue, GSS will be modifying the related table in the Database table column with the expected type (list).
The issue is resolved in VCF 9.0 release.