Recovering Auto-deploy functionality after a restore of the vCenter Server from backup.
Symptoms:
-
After restoring vCenter Server from a backup, you are unable to create deploy rules for Auto Deploy
-
The operation returns an error such as:
Invalid Fault Cause: Cannot complete login due to an incorrect user name or password
- vSphere Web Client logs show a message similar to:
[YYYY-MM-DDTHH:MM:SS] [ERROR] data-service-pool-795 70001335 100007 200002 com.vmware.vise.util.XMLUtil Error when loading xml string java.lang.NullPointerException: null
at java.io.StringReader.<init>(StringReader.java:50)
at com.vmware.vise.util.XMLUtil.parseXml(XMLUtil.java:236)
at com.vmware.vsphere.client.vcaddons.impl.AutoDeployPropertyProviderImpl.parseAutoDeployConfiguration(AutoDeployPropertyProviderImpl.java:200)
at com.vmware.vsphere.client.vcaddons.impl.AutoDeployPropertyProviderImpl.getAutoDeployConfiguration(AutoDeployPropertyProviderImpl.java:147)
at com.vmware.vsphere.client.vcaddons.impl.AutoDeployPropertyProviderImpl.getAutoDeployConfiguration(AutoDeployPropertyProviderImpl.java:65)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)