VCSA 6.5 Update 1g 8024368 Stage Failed

vCenter

VCSA 6.5 Update 1g 8024368 Stage Failed

vCenter

VMware-vCenter-Server-Appliance-6.5.0.15000-8024368-patch-FP.iso

check updates CDROM on VAMI returns – Update Status –  Stage Failed

Clues

  1. VCSA VAMI homepage – The /storage/log filesystem is out of disk space or inodes
  2. vROps – Shows the alert and trend.

df -h /storage/log

du -ach –time /storage/log/vmware/perfcharts/java_pid*.hprof

Note- I ran the following command every few days (changing the #) to replicate this issue found in production.

for x in {18001..18005}; do dd if=/dev/zero of=/storage/log/vmware/perfcharts/java_pid$x.hprof bs=1024 count=777000; done

Follow KBA 2151394 – Large Java dump files created in the location /storage/log/vmware/perfcharts

Remove the Java dump files
rm -rf /storage/log/vmware/perfcharts/java_pid*.hprof

cp /etc/vmware/service-layout.mfx /etc/vmware/service-layout.mfx.bak
service-control –stop vmware-perfcharts
vi service-layout.mfx

 

Change CompressClassSize 96 to 64
#firstboot_name cloudvm_name ciswin_name customMB tinyMB largeMB CompressClassSize
perfcharts_firstboot.py vmware-perfcharts vmware-perfcharts 0 261 1024 96

service-control –start vmware-perfcharts
cloudvm-ram-size -C 1024 vmware-perfcharts

The update ISO will worked.  Once rebooted; the VCSA was on 6.5.0.15000

Error

VMware-vCenter-Server-Appliance-6.5.0.15000-8024368-patch-FP.iso

check updates CDROM on VAMI returns – Update Status –  Stage Failed

Clues

Clues

  1. VCSA VAMI homepage – The /storage/log filesystem is out of disk space or inodes
  2. vROps – Shows the alert and trend.
SSH

df -h /storage/log

du -ach –time /storage/log/vmware/perfcharts/java_pid*.hprof

Note- I ran the following command every few days (changing the #) to replicate this issue found in production.

for x in {18001..18005}; do dd if=/dev/zero of=/storage/log/vmware/perfcharts/java_pid$x.hprof bs=1024 count=777000; done

Fix

Follow KBA 2151394 – Large Java dump files created in the location /storage/log/vmware/perfcharts

Remove the Java dump files
rm -rf /storage/log/vmware/perfcharts/java_pid*.hprof

cp /etc/vmware/service-layout.mfx /etc/vmware/service-layout.mfx.bak
service-control –stop vmware-perfcharts
vi service-layout.mfx

 

Change CompressClassSize 96 to 64
#firstboot_name cloudvm_name ciswin_name customMB tinyMB largeMB CompressClassSize
perfcharts_firstboot.py vmware-perfcharts vmware-perfcharts 0 261 1024 96

service-control –start vmware-perfcharts
cloudvm-ram-size -C 1024 vmware-perfcharts

Success

The update ISO will worked.  Once rebooted; the VCSA was on 6.5.0.15000