VMwareDisks agent is unable to start and run after upgrade to RHEL 8.10 and Infoscale 8.0.2.1700

book

Article ID: 100068776

calendar_today

Updated On:

Description

Error Message

# haagent -display VMwareDisks
#Agent       Attribute      Value
VMwareDisks  AgentDirectory
VMwareDisks  AgentFile
VMwareDisks  Faults         0
VMwareDisks  Running        No     <<<
VMwareDisks  Started        Yes

# ldd /opt/VRTSvcs/bin/VMwareDisks/VMwareDisksAgent
        linux-vdso.so.1 (0x00007ffd151a2000)
        libvcsagfw.so => /lib64/libvcsagfw.so (0x00007f3e29eb7000)
        libvcsapi.so => /lib64/libvcsapi.so (0x00007f3e29b1b000)
        libnsl.so.1 => /lib64/libnsl.so.1 (0x00007f3e29902000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f3e296e2000)
        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f3e294b9000)
        libnbssl.so => /lib64/libnbssl.so (0x00007f3e28fde000)
        libvmwarevcs.so => not found
        libnbuvcs.so => not found

        libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f3e28c49000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f3e288c7000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f3e286af000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f3e282ea000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f3e280e6000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f3e27ede000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f3e2a28b000)

        
The libraries as mentioned earlier are not found even in previous versions. 

VMWareDisks agent working in this environment:
8.0.2.1500 + RHEL 8.9
 
Worked, but not qualified as RHEL 8.10 requires 8.0.2.1700:
8.0.2.1500 + RHEL 8.10
 
Not working:
8.0.2.1700 + RHEL 8.10
- patched 1700 bundled with 1600 and cpi 8.0.2.600
 

Cause

After, the patch upgrade /etc/sysconfig/vcs files were not getting updated, due to the required environmental variables like the LD_LIBRARY_PATH environment not getting set. 


LD_LIBRARY_PATH not found after upgrade. 

# ps e -ww -p 4612
    PID TTY      STAT   TIME COMMAND
   4612 ?        SLsl   0:00 /opt/VRTSvcs/bin/had LANG=en_US.UTF-8 INVOCATION_ID=55e767dd68e54a529de1424777f65afc VCS_INIT_SCRIPT=1 PWD=/ JOURNAL_STREAM=9:131523 TERM=linux SHLVL=2 PATH=/usr/bin:/bin:/usr/sbin:/sbin:/sbin:/usr/sbin:/bin:/usr/bin _=/opt/VRTSvcs/bin/had


# hastart -version
Engine Version    8.0
Join Version      8.0.2.0000
Build Date        Thu 28 Mar 2024 05:03:12 AM PDT
PSTAMP            8.0.2.1500-2024-03-28-08.03.12

Resolution

A hotfix is now available for this issue in the current version(s) of the product(s) mentioned. Refer to the Hotfix link under Related Articles to obtain the hotfix needed to resolve the issue.

1) We can fix already installed systems by copying the missing libraries in the ldd (shown above in errors).    

# find / -name libvmwarevcs.so
/opt/VRTSvcs/lib/libvmwarevcs.so
# cp -p /opt/VRTSvcs/lib/libvmwarevcs.so /lib64/libvmwarevcs.so
# cp -p /opt/VRTSvcs/lib/libnbuvcs.so /lib64/libnbuvcs.so

For new systems, upgrade to 8.0.2.1700 or later using the latest CPI patch. The Fix is included in CPI 8.0.2.1100 onwards.

Issue/Introduction

VMwareDisksAgent may show as started but not running after upgrading to 8.0.2.1700. It is working fine in Infoscale 8.0.2.1500.

Additional Information

ETrack: 4166980