Vertica upgrade fails reading the permissions on /opt/vertica
search cancel

Vertica upgrade fails reading the permissions on /opt/vertica

book

Article ID: 281966

calendar_today

Updated On:

Products

Network Observability CA Performance Management

Issue/Introduction

/opt/vertica has been replaced with a symbolic link to /opt/application/CA/Vertica

When we run the dr_install, it tries to check the permissions on /opt/vertica and fails because it cannot read into the symbolic link.

>> Starting installation tasks.

>> Getting system information for cluster (this may take a while)...

 

Default shell on nodes:

x.x.x.1 /bin/bash

x.x.x.2 /bin/bash

x.x.x.3 /bin/bash

Detected invalid permissions on /opt/vertica directories on the following hosts: ['x.x.x.1', 'x.x.x.2', 'x.x.x.3']

Permissions must be set to 755 or higher for install_vertica to work correctly.

Installation FAILED with errors.

 

Installation stopped before any changes were made.

install_vertica script failed with exit code 1..........................[FAIL]

…………..

Cause

The install script tells python to exit at fail threshold.

Resolution

Edit  /opt/vertica/oss/python3/lib/python3.7/site-packages/vertica/install/__init__.py

 

line 553:

change:

        sys.exit(1)

to:

        #sys.exit(1)

 

rerun dr_install.sh

Additional Information

Vertica does not support replacing the /opt/vertica directory with a symbolic link.