Unable to login to the vCloud Usage Meter VAMI
search cancel

Unable to login to the vCloud Usage Meter VAMI

book

Article ID: 378482

calendar_today

Updated On:

Products

VMware Usage Meter VMware vSphere ESXi

Issue/Introduction

  • Logging out of a long Usage Meter VAMI session may rarely cause the 'cap-appliance-management.service' to stop.

  • The 'cap-appliance-management.service' is stopped and login to the Usage Meter VAMI fails with the following error:

    Unable to Login
  • In the log file at cap-appliance-management.service.log included in the log bundle of Usage Meter, you see entries similar to:

    fatal error: concurrent map read and map write

    Note: If this issue occurs, the Usage Meter Web interface remains accessible and other services are unaffected.

Environment

  • VMware Usage Meter 4.8

  • VCF Usage Meter 9.x

Cause

This is due to a cache synchronization issue in the CAP Appliance Management Session Handler of the Common Appliance Platform (CAP) used by Usage Meter.

Resolution

Restart the CAP Appliance Management service.

  1. Connect through SSH to Usage Meter as usagemeter user.
  2. Switch to the root user:
    su
  3. Restart 'cap-appliance-management.service' using below command:
    systemctl restart cap-appliance-management.service

Note: Restarting the CAP Appliance Management service does not affect the operation of Usage Meter.

Additional Information