When attempting to edit or update a Service Engine Group (SEG) in VMware Avi Load Balancer, the following error is observed:
ServerFaultCode: Request missing value for required parameter 'profileIds' to method 'PbmRetrieveContent'
The operation fails and the SEG configuration cannot be saved.
Starting with Avi Load Balancer version 31.2.1, a new VM Storage Policy feature was introduced. This feature requires the vCenter service account used by Avi (assigned the Avi Global Role) to have explicit permissions to interact with vSphere Storage Policy Based Management (SPBM) — specifically the PbmRetrieveContent API method.
If the following Storage Policy privileges are missing from the Avi Global Role assigned to the vCenter service account, the SEG edit operation invokes the SPBM API without the required authorization, resulting in the ServerFaultCode error:
Add the required Storage Policy privileges to the vCenter roles assigned to the Avi service account by following these steps:
This issue is specific to environments that upgraded to or freshly installed Avi Load Balancer 31.2.1+ without updating the vCenter role permissions accordingly. Environments on versions prior to 31.2.1 are not affected