The vSAN cluster shutdown workflow will fail with error "'NoneType' object is not iterable" when shutting down an IPv6-disabled cluster.
By default, ESXi IPv6 support is enabled. You can check the IPv6 status of a host by clicking on it in the vSphere UI inventory, select Configure, under Network, select TCP/IP Configuration, on the top right, click IPv6 Configuration, it will give you a pop-up window similar to the following screenshot if IPv6 is disabled.
If you have no access to the vSphere UI, you can consult the IPv6 status of a host by using the following commands on ESXi Shell / SSH:
# esxcli network ip get
IPv6Enabled: false
# esxcfg-info -a | grep "ipv6=[0,1]"
|----Options............................................ipv6=0
If you see ipv6=0, it means it is disabled, if you see ipv6=1, it is enabled.
You can re-enable IPv6. Please consult our documentation.
You can also use the other method to shutdown and restart your vSAN cluster, please consult Manually Shut Down and Restart the vSAN Cluster.