vCloud Usage Meter 4.8 reports vSAN partial collection error
search cancel

vCloud Usage Meter 4.8 reports vSAN partial collection error

book

Article ID: 322740

calendar_today

Updated On:

Products

VMware Usage Meter

Issue/Introduction

When using vCloud Usage Meter 4.8 for metering of vCenter Server with enabled vSAN, the vCenter Server collection fails with the following error: "Partial collection failure: vSAN".
This error is also shown on the Notifications window in the Usage Meter web application. The Usage Meter vccol_main.log reveals the following error:
ERROR --- [vCenter collector thread] c.v.u.v.vsan.VsanServiceSession   : Failed to query cluster domain-xx for CNS volumes

 

 

Environment

VMware vCloud Usage Meter 4.8

Cause

vCloud Usage Meter 4.8 fails to query CNS volumes in vSAN due to missing the permission - Cns->Searchable.

Resolution

To resolve this issue, add a Cns->Searchable permission along with Profile-driven storage to the vCenter Server user which is used by Usage Meter to collect usage data from the vCenter Server.

To add the needed permissions for vSAN usage collection:

  1. Log in to vSphere as administrator.
  2. Navigate to Administration > Roles.
  3. Edit the vCenter Server read-only user role that you use for metering with vCloud Usage Meter.
  4. Select Profile-driven storage > Profile-driven storage view.
  5. Select Cns >Searchable.


Additional Information

 The vSAN usage is not included in the reports because of this error.