Data upload is failing in VCF Usage Meter
search cancel

Data upload is failing in VCF Usage Meter

book

Article ID: 446247

calendar_today

Updated On:

Products

VMware Usage Meter

Issue/Introduction

Usage data upload is failing for the VCF Usage Meter appliance.
 
Noted the below error confirming data upload failure in dss_error.log
ERROR --- [TaskScheduler-3] c.v.um.dss.uploader.UploaderService : Failed to prepare files for uploading java.nio.file.FileSystemException: /opt/vmware/umdata/Notification: Operation not permitted

Environment

VCF Usage Meter 9.0.x

Cause

This issue is caused by incorrect filesystem permissions associated with the /opt/vmware/umdata directory. If the underlying data storage services and the usagemeter user do not have the proper ownership and access rights to this directory, the appliance cannot read or write the necessary usage data files, resulting in an upload failure.

Resolution

To resolve this issue, you must correct the directory ownership permissions via the appliance command line and then reboot the system.
  1. Log in to the Appliance: Connect to VCF Usage Meter appliance via SSH using the root account credentials.
  2. Correct Permissions: Execute the following two commands to assign the correct ownership to the umdata directory and its contents: 
    find "/opt/vmware/umdata" -print0 | xargs -0 -r chown data-storage-service:umdata
    chown usagemeter:umdata /opt/vmware/umdata
  3. Reboot: Restart the Usage Meter appliance to ensure all services restart cleanly with the new permissions applied: 
    reboot
     
  4. Verify: After the appliance comes back online, wait for approximately one hour to allow the system to collect, process, and successfully upload the next batch of usage data. Verify the upload status in the Usage Meter web interface.