VRTSvxvm package fails to uninstall on RedHat 8 with error "Please remove node from cluster before uninstall"

book

Article ID: 100056353

calendar_today

Updated On:

Description

Error Message

{C}%3C!%2D%2Dstartindex%2D%2D%3E

The sequence of messages when using the Veritas installer program to uninstall:

Uninstalling InfoScale Foundation: 100%
Estimated time remaining: (mm:ss) 0:00 8 of 8
Performing InfoScale Foundation preremove tasks ................................................................................................. Done

Uninstalling VRTSvxvm ......................................................................................................................... Failed

Uninstalling VRTSveki ........................................................................................................................... Done

Uninstalling VRTSvlic ........................................................................................................................... Done

Uninstalling VRTSpython ......................................................................................................................... Done

Uninstalling VRTSperl ........................................................................................................................... Done

Removing install scripts ........................................................................................................................ Done

Performing InfoScale Foundation postremove tasks ................................................................................................ Done

 

An attempt at a manual removal of the package also fails:

# rpm -e VRTSvxvm-8.0.0.2200-RHEL8.x86_64
/var/tmp/rpm-tmp.nIPcMt: /usr/lib/vxvm/bin/vxupdatelvm: /opt/VRTSperl/bin/perl: bad interpreter: No such file or directory
Nodestate-
Please remove node from cluster before uninstall
error: %preun(VRTSvxvm-8.0.0.2200-RHEL8.x86_64) scriptlet failed, exit status 1
error: VRTSvxvm-8.0.0.2200-RHEL8.x86_64: erase failed

 

 

{C}%3C!%2D%2Dstopindex%2D%2D%3E

Cause

{C}%3C!%2D%2Dstartindex%2D%2D%3E

The VRTSvxvm package has some embedded checks, which can cause the uninstall to fail

 

{C}%3C!%2D%2Dstopindex%2D%2D%3E

Resolution

If the intention is to uninstall all packages, the --noscripts option can be used to disable the embedded checks and allow the uninstall to proceed:

# rpm -e --nodeps VRTSvxvm

{C}%3C!%2D%2Dstartindex%2D%2D%3E

There are no plans to address this issue by way of a patch or hotfix in earlier versions of the software at the present time.  However, the issue has been addressed in the revision of the product specified at the end of this article. 
 
Please contact your Veritas Sales representative or the Veritas Sales group for upgrade information including upgrade eligibility to the release containing the resolution for this issue.

Issue/Introduction

VRTSvxvm package fails to uninstall on RedHat 8 with error "Please remove node from cluster before uninstall"