VCF Usage Meter 9.0 reports collection error for Aria Automation
search cancel

VCF Usage Meter 9.0 reports collection error for Aria Automation

book

Article ID: 405601

calendar_today

Updated On:

Products

VMware Usage Meter

Issue/Introduction

VCF Usage Meter 9.0 reports collection error for Aria Automation 8.18.x

You will see below error snippets in collection-vrs-vra-error.log located at /opt/vmware/cloudusagemetering/platform/log
ERROR --- [collector-main-thread] c.vmware.um.collector.CollectionHelper   : Status (COLLECT_INTERNAL_ERR) for VRS-VRA server : Collection error (Failed to get VRSLCM)
ERROR --- [collector-main-thread] c.vmware.um.collector.CollectionHelper   : Collection error
com.vmware.um.collector.CollectionError: Failed to get VRSLCM
        at com.vmware.um.collector.CollectionHelper.getProduct(CollectionHelper.java)
        at com.vmware.um.vrsvracollector.VRACollector.collectLicenseAndVersion(VRACollector.java)
        at com.vmware.um.vrsvracollector.VRACollector.collectVRAProductData(VRACollector.java)
        at com.vmware.um.vrsvracollector.VRACollector.collect(VRACollector.java)
        at com.vmware.um.vrsvracollector.VRACollector.collect(VRACollector.java)
        at com.vmware.um.collector.AbstractCollector.collect(AbstractCollector.java)
        at com.vmware.um.collector.CollectionHelper.collectFromServer(CollectionHelper.java)
        at com.vmware.um.collector.CollectionHelper.collectFromServersWithReporting(CollectionHelper.java)
        at com.vmware.um.collector.SynchronousCollectionExecutor.triggerCollectionsFromServers(SynchronousCollectionExecutor.java)
        at com.vmware.um.collector.AbstractCollectorComponent.handleCollectCommand(AbstractCollectorComponent.java)
        at com.vmware.um.collector.AbstractCollectorComponent.handleCommand(AbstractCollectorComponent.java)
        at com.vmware.um.collector.CollectorComponent.handleCommand(CollectorComponent.java)
        at com.vmware.um.collector.CollectionHelper.processCommand(CollectionHelper.java)
        at com.vmware.um.collector.AbstractCollector.processCommand(AbstractCollector.java)
        at com.vmware.um.umcomponent.CommandRunner$CommandExecutionWrapper.execute(CommandRunner.java)
        at com.vmware.um.umcomponent.CommandRunner.invokeCollector(CommandRunner.java)
        at com.vmware.um.umcomponent.CommandRunner.lambda$executeCommand$1(CommandRunner.java)
        at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(Unknown Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)
ERROR --- [collector-main-thread] c.vmware.um.collector.CollectionHelper   : Status (COLLECT_INTERNAL_ERR) for VRS-VRA server : Collection error (Failed to get VRSLCM)
ERROR --- [collector-main-thread] c.vmware.um.collector.CollectionHelper   : Collection error
com.vmware.um.collector.CollectionError: Failed to get VRSLCM

Environment

VCF Usage Meter 9.0

Cause

This issue occurs since the vrsvra.json file is corrupt.

Resolution

1. Take a snapshot of the usage meter appliance
2. Delete the Aria Automation integration from the usage meter
3. Take a backup of vRA JSON file
cp /opt/vmware/cloudusagemetering/var/dss/random/vrsvra.json /opt/vmware/cloudusagemetering/var/dss/random/vrsvra.json.bk
4. Post taking the backup, delete the JSON file
rm -rf /opt/vmware/cloudusagemetering/var/dss/random/vrsvra.json
5. Reboot the usage meter appliance
6. Add the Aria Automation endpoint by discovering the endpoint from the fleet management.
7. Once endpoint is discovered, provide the correct credentials
8. Once added successfully, collection will start and status will show as Green.