Error during new install of the Data Repository "Failed to prepare a host for database participation." in CA Performance Management
search cancel

Error during new install of the Data Repository "Failed to prepare a host for database participation." in CA Performance Management

book

Article ID: 192471

calendar_today

Updated On: 09-27-2023

Products

CA Infrastructure Management CA Performance Management Network Observability

Issue/Introduction

Error during new install of the Data Repository 

"Error: The following nodes(s) could not be prepared: 
Failed to prepare a host for database participation.
See /opt/vertica/log/adminTools.log for details. Host hints follow.
xx.xx.xx.xx Permission Denied" 

Looking at the adminTools.log we see errors such as:

"Stack Trace from Executor follows
Traceback (most recent call last):
  File "/opt/vertica/share/eggs/vertica/engine/api/at_runner.py", line 60, in exec_module
    result = instance.execute(command)
  File "/opt/vertica/oss/python/lib/python2.7/site-packages/vertica/engine/api/prepare_database.py", line 190, in execute
    return self._execute_impl(cmd, result)
  File "/opt/vertica/oss/python/lib/python2.7/site-packages/vertica/engine/api/prepare_database.py", line 219, in _execute_impl
    self._make_all_db_dirs(node, result, depot_path, purpose)
  File "/opt/vertica/oss/python/lib/python2.7/site-packages/vertica/engine/api/prepare_database.py", line 289, in _make_all_db_dirs
    "Access Denied. Message {0}".format(e))
ATDBPrepareError: Access Denied. Message [Errno 13] Permission denied: '/catalog/drdata'"

Where in this example, /catalog is the location specified in the drinstall.properties for the catalog location.

 

Environment

Release : 3.7, 20.2 and 21.2

Component : IM Reporting / Admin / Configuration

Cause

The permissions on the directory location do not allow writing by the DR admin user.

Resolution

Make sure the location specified for the data and catalog directories can be written by the DR admin user.