vxdclid coredumping on rhel7 systems running VxVM 7.4.1.3300 and VRTSsfmh 8.0.0.411/8.0.0.500

book

Article ID: 100060902

calendar_today

Updated On:

Description

Error Message

Oct 16 07:25:05 server102 kernel: traps: vxdclid[26815] general protection ip:7f9cff051bfc sp:7f9cf6f50b98 error:0 in libc-2.17.so[7f9cfef12000+1c4000]
Oct 16 07:25:05 server102 systemd: vxdcli.service: main process exited, code=killed, status=11/SEGV
Oct 16 07:25:05 server102 systemd: Unit vxdcli.service entered failed state.
Oct 16 07:25:05 server102 systemd: vxdcli.service failed.

 

Cause

The vxdclid plugin didn't interact properly with these versions of VxVM and VRTSsfmh.

 

Resolution

A new vxdclid plugin has been created to fix this issue and can be installed using the following steps:

1. Stop the vxdclid process:
# /opt/VRTSsfmh/etc/vxdcli.sh stop

2. Confirm that the vxdclid process is not running in the ps -ef output

3. Take the backup of the old " libvxlistsf_s.so " file
# cp /opt/VRTSsfmh/plugins/vxlist/server/741/libvxlistsf_s.so /opt/VRTSsfmh/plugins/vxlist/server/741/libvxlistsf_s.so_orig

4. Copy the new "libvxlistsf_s.so" file to the MH and replace the original plugin.

For example, if the plugin had been copied to /var/tmp:

# cp /var/tmp/libvxlistsf_s.so /opt/VRTSsfmh/plugins/vxlist/server/741/

5. Start the vxdclid process:

# /opt/VRTSsfmh/etc/vxdcli.sh start

6. Confirm that the vxdclid process is seen in the 'ps -ef' output.

7. Run the '/opt/VRTSsfmh/bin/vxlist' command and confirm that vxdclid doesn't coredump.

8. Monitor the system for 1-2 hrs and if no further vxdclid coredumps are encountered during this time, then the plugin has resolved the issue.

 

Issue/Introduction

vxdclid coredumping on rhel7 systems running VxVM 7.4.1.3300 and VRTSsfmh 8.0.0.411/8.0.0.500 The following stack is seen: (gdb) bt
#0 0x00007ff534562bfc in __strncmp_sse42 () from /lib64/libc.so.6
#1 0x00007ff52cb7b9fc in buildTreeForTca60 (dmpvect=0x7ff51c014118, dmpcfg=0x7ff51c012f20) at vxbridge/common/vxlist_sf_dmp.c:2268
#2 0x00007ff52cb7a40e in buildDmpCfg60 (dmpvect=0x7ff51c014118, dmpcfg=0x7ff52ced25d8 <_curDB+56>, dacfgmap=0x7ff51c000d80) at vxbridge/common/vxlist_sf_dmp.c:1328
#3 0x00007ff52cb79974 in buildDmpCfg (dmpvect=0x7ff51c014118, dmpcfg=0x7ff52ced25d8 <_curDB+56>, dacfgmap=0x7ff51c000d80) at vxbridge/common/vxlist_sf_dmp.c:1082
#4 0x00007ff52cb1a0c6 in initDB () at server/common/vxlist_sf_dbmgr.c:148
#5 0x00007ff52cb82777 in init_db () at vxbridge/common/vxlist_sf_notify.c:92
#6 0x00007ff52cb83aa4 in doVmNotify (a=0x0) at vxbridge/common/vxlist_sf_notify.c:769
#7 0x00007ff5347f8ea5 in start_thread () from /lib64/libpthread.so.0
#8 0x00007ff53452196d in clone () from /lib64/libc.so.6

Additional Information

JIRA: STESC-8301