Unable to Log into Lifecycle Manager Due to Drive Space Issue
search cancel

Unable to Log into Lifecycle Manager Due to Drive Space Issue

book

Article ID: 415752

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite) VMware vSphere ESXi

Issue/Introduction

Customers may experience an inability to log into Lifecycle Manager, which is caused by a drive space issue on the ASL appliance. This prevents services from starting correctly.

Environment

Aria Suite Lifecycle 8.18.x

Cause

The root cause of the problem is insufficient drive space on the /dev/mapper/system-system_0 partition, which becomes 100% utilized. Investigation revealed that PostgreSQL is consuming the majority of this space. When the drive space fills up, essential services fail to start, thereby preventing login to Lifecycle Manager.

Resolution

To resolve this issue, perform the following steps to clean up database bloat in PostgreSQL:

Note on Engine Service State: Typically, when the root/system partition (/dev/mapper/system-system_0) reaches 100% capacity, the [vrlcm-server] engine service has already crashed or stopped due to storage exhaustion, so explicitly stopping it is usually not required. However, to err on the side of caution, it is always best practice to execute a service stop command prior to database maintenance to guarantee that no active process or background thread holds open file locks on the database files in the event the daemon is still partially running.
  1. Connect to the VMware Aria Suite Lifecycle appliance via SSH as the root user.
  2. Stop the VMware Aria Suite Lifecycle engine service to ensure all database connections and locks are released:
    systemctl stop vrlcm-server
  3. Connect to the PostgreSQL database:
    /opt/vmware/vpostgres/current/bin/psql -U postgres -d vrlcm
    Note: If connecting returns a socket error due to absolute 100% disk utilization, refer to KB 435340 at https://knowledge.broadcom.com/external/article/435340 to clear temporary logs/caches first.
  4. Run VACUUM FULL to reclaim disk space from bloated tables:
    VACUUM FULL verbose analyze;
  5. Exit the PostgreSQL shell:
    \q
  6. Start the engine service:
    systemctl start vrlcm-server

Additional Information

Additional Information:
• This solution is based on information provided in the Broadcom Knowledge Base article: https://knowledge.broadcom.com/external/article?articleNumber=322697
• When attempting to apply the resolution, verify that the postgres service is running first via command:
   systemctl status vpostgres
• If the postgres service isn't running then please refer to KB 435340