Symptoms:
- You may see errors such as the following when attempting to perform operations involving storage profiles:
"Retrieving data from the server failed"
"A general runtime error occurred"
- Selecting Policies and Profiles -> VM Storage Policies in the vSphere Client may show an empty list
- Checking the /var/log/vmware/vmware-sps/sps.log on the vCenter Server shows the following error:
2023-09-23T19:11:41.619+02:00 [pool-4-thread-19] ERROR opId= com.vmware.pbm.vapi.authorization.ProfilePermissionAPIValidatorImpl - [checkProfileValidity] Exception occurred during getEffectivePrivilege
java.lang.NullPointerException: nullNote: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment
- Checking the list of identity sources configured from the vSphere Client shows the default localos identity source has been removed. This can be checked from Administration > Single Sign On > Configuration > Identity Provider > Identity Sources it would be one with Type 'Local OS' and Domain 'localos'.