The VMC on AWS adapter in Aria Operations is in a warning state
search cancel

The VMC on AWS adapter in Aria Operations is in a warning state

book

Article ID: 384351

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

  • The validation for the VMC on AWS account was successful, and the SDDCs are able to collect data without issues. However, the SDDC Manager is currently in a warning state.
  • The Adapter logs report the below error:
    • ERROR [data_processorthread 1, time: 2024-12-17T01:38:50.678Z] (97) com. vmware. vrops.adapter. vmc.processor.Statement com.vmware.vrops.adapter.vmc.util.VmcException: null
      at com.vmware. vrops.adapter.vmc.util.VmcAdapterRestClient.executeWithRetry(VmcAdapterRestClient.java:193) ~[VmcAdapter.jar :? ]
      at com.vmware. vrops.adapter.vmc.util.VmcAdapterRestClient.executeWithRetry(VmcAdapterRestClient.java:123) ~[VmcAdapter.jar :? ]
      at com. vmware. vrops. adapter. vmc.processor.DataProcessor.startDataCollection(DataProcessor.java:131) ~[VmcAdapter. jar :? ]
      at com. vmware. vrops.adapter.vmc.processor.DataProcessor.startDataCollection(DataProcessor.java:123) ~[VmcAdapter. jar :? ]
      at com. vmware. vrops. adapter.vmc.processor. StatementBillProcessor. collectStatementBillsForPastMonths(StatementBillProcessor.java:379) ~[VmcAdapter.jar :? ]
      at com. vmware. vrops.adapter. vmc.processor. StatementBillProcessor. lambda$startStatementDataCollection$7(StatementBillProcessor. java: 123) ~[VmcAdapter.jar :? ]
      at java.util.ArrayList.forEach(Unknown Source) ~[ ?:? ]
      at com.vmware. vrops. adapter.vmc.processor.StatementBillProcessor. startStatementDataCollection(StatementBillProcessor.java:118) ~[VmcAdapter.jar :? ]
      at com. vmware. vrops.adapter.vmc.processor.StatementBillProcessor. lambda$startDataCollection$4(StatementBillProcessor.java:104) ~[VmcAdapter.jar :? ]
      at java.util.concurrent.CompletableFuture.uniComposeStage(Unknown Source) ~[ ?:? ]
      at java.util.concurrent.CompletableFuture.thenCompose(Unknown Source) ~[ ?:? ]
      at com. vmware. vrops. adapter. vmc.processor.StatementBillProcessor.startDataCollection(StatementBillProcessor.java:59) ~[VmcAdapter.jar :? ]
      at com. vmware. vrops. adapter. vmc.processor.StatementBillProcessor.onCollect(StatementBillProcessor.java:49) ~[VmcAdapter.jar :? ]
      at com. vmware. vrops. adapter.vmc.processor. StatementBillProcessor.onCollect(StatementBillProcessor.java:29) ~[VmcAdapter.jar :? ]
      at com. vmware. vrops.adapter.vmc.bill.datacollector.DataCollectionController.lambda$triggerDataCollection$0(DataCollectionController)
      at java.util.concurrent.CompletableFuture$AsyncSupply.run(Unknown Source) ~[ ?:? ]
      at java.util.concurrent. ThreadPoolExecutor.runWorker(Unknown Source) ~[ ?:? ]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[ ?:? ]

Environment

Aria Operations 8.18.x

Cause

The VMC on AWS adapter requires specific permissions to access billing data from the CSP platform. If the token used by the adapter lacks these permissions, it will fail to retrieve the required information, leading to a warning state.

Resolution

Kindly follow the below steps:

  • Stop the VMC adapter instance.
  • Edit the adapter configuration.
  • Expand advanced settings and set "Billing Enabled" to false.

  • Start the VMC adapter instance.

The Collection status should change to 'OK' after the first collection cycle.