Recently I upgraded my lab and can now run VSAN but as I went to enable it the edit button on the cluster settings wasnt there. I was also receiving the below error code when accessing the VSAN health section.
Unexpected status code: 400
I came across a KB that fixed the problem, the issue was the VSAN health plug-in did not have read access to the relevant certificate files. Im using the virtual appliance for vCenter, I have changed my PSC to run as a subordinate CA and im running v6 Update 2. VMare KB can be found here.
First connect to the vCenter appliance, im using an external PSC but I still do this on the vCenter. Then run the following
>/bin/install-parameter rhttpproxy.cert
For me this returned nothing so I then run
>/bin/install-parameter rhttpproxy.cert -s /etc/vmware-rhttpproxy/ssl/rui.crt
I then need to check the properties in the folder /etc/vmware-vpx/ssl and make sure they are set to the following as per the KB.
drwxr-x— 2 root cis 4.0K Sep 18 15:35 ./
drwxr-xr-x 14 root root 4.0K Sep 18 16:28 ../
-rw-r—- 1 root cis 3.0K Jun 15 16:53 rui.crt
-rw-r—- 1 root cis 1.7K Jun 15 16:53 rui.key
-rw——- 1 root root 65 May 30 19:55 symkey.dat
-rw-r—- 1 root cis 2.9K Jun 15 16:53 vcsoluser.crt
-rw-r—- 1 root cis 1.7K Jun 15 16:53 vcsoluser.key
Once changed and they are set to what the KB states I then run the following
>/usr/lib/vmware-vpx/vsan-health/health-rpm-post-install.sh
Once that has run I then need to reboot the vCenter appliance. Once rebooted I can now enable and configure VSAN.