DSM Service Accounts are used to interact and manipulate vCenter Objects for DSM.
If the required privileges are missing, the user will not be able to execute various operations which need those privileges.
VMware Data Services Manager
If the below privileges are not present the user will not be able to create support bundles successfully.
The following error will be shown:
Additionally, `vcenterbinding` CR in Gateway will also contain the status showing "InsufficientPrivileges":
For versions prior to 9.1.1 (not including version 9.1.1):
Manually add back the privileges via vSphere UI:
Click "Edit" and add the missing privileges:
For 9.1.1 version and higher (including 9.1.1):
DSM has implemented automatic fix if required privileges are missing. In this case, the user doesn't need to go to the vSphere UI to add the privileges manually.
Step 1
SSH to the Provider VM and execute the below command:
kg create secret generic vc-admin-secret --from-literal=username='[email protected]' --from-literal=password='<your-admin-password>'
(use your own administrator's password above)
Step 2
Edit the vcenterbinding CR to associate this newly created admin secret. Normally visible is:
spec: vcenterAdminSecret: {}
now change it to:
spec:
vcenterAdminSecret: name: vc-admin-secret
Step 3
Delete the created vc-admin-secret in Gateway. After another reconciliation, the missing privileges should be added back and the associated vCenter administrator secret in vcenterbinding CR should become empty again (for security reasons).