The VSAN VASA provider will try to be registered every 10 seconds in case of failure in some scenarios.
The script described above, ServiceInstance.py, will create the parameter to register the provider with the SMS Service.
The URL used will be taken from the value of the advanced setting config.vpxd.hostnameUrl, if this setting is empty then the output of hostname itself will be used.
In scenarios where the content of the advanced parameter does not match with the content of the certificate, then the registration will fail.
Resolution
Make sure the config.vpxd.hostnameUrl advanced setting is populated, it must match with the hostname registered in the vCenter certificate which can be confirmed from the error message seen in /var/log/vmware/vmware-sps/sps.log.
To check/change this setting go to:
Additional Information
Impact/Risks: Changing the parameter of config.vpxd.hostnameUrl could affect the registration of the VSAN VP with the SMS service in VC, if the value does not match with the content in the certificate.