Vertica Data Repository Install fails - setHost called with empty host list
search cancel

Vertica Data Repository Install fails - setHost called with empty host list

book

Article ID: 400220

calendar_today

Updated On:

Products

Network Observability CA Performance Management

Issue/Introduction

I am trying to install DR 24.3.1 on a new SLES15 server.

Validate script passes but during installation script I get the following error:

 

Error: setHost called with empty host list
Traceback (most recent call last):
  File "/opt/vertica/oss/python3/lib/python3.11/site-packages/vertica/install/__init__.py", line 1636, in run_install
    _installMain(options)
  File "/opt/vertica/oss/python3/lib/python3.11/site-packages/vertica/install/__init__.py", line 1214, in _installMain
    install_RPMs(hostsToUpgradeRPM, options, installerSSH, running_as, get_os_shortname())
  File "/opt/vertica/oss/python3/lib/python3.11/site-packages/vertica/install/__init__.py", line 827, in install_RPMs
    install_error = SSH.installNode(installerSSH,
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/vertica/oss/python3/lib/python3.11/site-packages/vertica/network/SSH.py", line 493, in installNode
    status, result = adapterpool.copyLocalFileToHosts(pool, rpm,
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/vertica/oss/python3/lib/python3.11/site-packages/vertica/network/adapterpool.py", line 771, in copyLocalFileToHosts
    with apool.setHosts(dest_hosts):
         ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/vertica/oss/python3/lib/python3.11/site-packages/vertica/network/adapterpool.py", line 269, in setHosts
    raise ValueError('setHost called with empty host list')
ValueError: setHost called with empty host list
Installation FAILED with errors.

Environment

any supported Performance Management release 

Cause

various environment issues

Resolution

To understand what is causing the issue, check in the Vertica install.log located under /opt/vertica/log

One of the root cause:
I found that the problem was a closed connection when trying to scp the rpm files to the other servers because of disabled or misconfigured sftp between the servers. After fixing that the installation went through.