Could not open JPA EntityManager for transaction; nested exception is org.hibernate.exception.JDBCConnectionException: Unable to acquire JDBC Connection "journalctl -x shows postgres service failures due to lack of available device space./storage partition on the Aria Suite Lifecycle appliance is full at 100% utilization.This happens because the /storage on the Aria Suite Lifecycle appliance is full and does not have enough space to load the Aria Suite Lifecycle services.
'/storage' is at 100% utilization, as the postgres service may be unhealthy to access db and clear table entries.root credentials to the Aria Suite Lifecycle Appliance using SSH. df -h. Validate that '/storage' partition is at high utilization. lsblkNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTsda 8:0 0 10.6G 0 disk├─sda1 8:1 0 4M 0 part├─sda2 8:2 0 10M 0 part /boot/efi├─sda3 8:3 0 512M 0 part /boot└─sda4 8:4 0 10G 0 part └─system-system_0 254:5 0 10G 0 lvm /sdb 8:16 0 50.1G 0 disk└─data-data_0 254:4 0 50G 0 lvm /datasdc 8:32 0 10.1G 0 disk└─storage-storage_0 254:3 0 10G 0 lvm /storagesdd 8:48 0 8.1G 0 disk└─swap-swap_0 254:2 0 8G 0 lvm [SWAP]sde 8:64 0 10.1G 0 disk└─vg_alt_root-lv_alt_root 254:1 0 10G 0 lvm /storage/alt_rootsdf 8:80 0 8.1G 0 disk└─vg_lvm_snapshot-lv_lvm_snapshot 254:0 0 8G 0 lvm /storage/lvm_snapshotsr0 11:0 1 1024M 0 rom
vdisplay --- Physical volume --- PV Name /dev/sdc VG Name storage PV Size 10.06 GiB / not usable 4.00 MiB Allocatable yes PE Size 4.00 MiB Total PE 2575 Free PE 15 Allocated PE 2560 LV UUID [UUID]
pvdisplay
--- Logical volume ---
LV Path /dev/storage/storage_0
LV Name storage_0
VG Name storage
LV UUID [UUID]
LV Write Access read/write
LV Creation host, time photon, 2024-05-10 09:13:55 +0000
LV Status available
# open 1
LV Size 10.00 GiB
Current LE 2560
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:3
The '/storage' partition is usually mounted on the /dev/sdc.lsscsi -v , this will show controller ID./storage is /dev/sdc - Hence, to increase the '/storage' partition space, the /dev/sdc needs to be extended, in this case, Hard disk 3. /etc/bootstrap/everyboot.d/20-autogrow-disk.df -hroot@vrlcm [ - ] #vrlcm-cli -- health-statusbootstrap ------------------------ SUCCESSpostgres ------------------------- Runningvrlcm-server -------------------- Runningblackstone ---------------------- Runningsu - postgrescd /opt/vmware/vpostgres/11/bin./psql -d vrlcm; to clean up DB. \q to quit the database
Note: All screenshots are from lab environment
NOTE: If the new space is still not showing after running the script manually in Step 9, you may need to ensure that it is not in use before running the /etc/bootstrap/everyboot.d/20-autogrow-disk script manually, as per https://knowledge.broadcom.com/external/article/398442