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:

Products

CA Infrastructure Management CA Performance Management - Usage and Administration DX NetOps

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.
10.10.10.10 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.

 

Cause

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

Environment

Release : 3.7

Component : IM Reporting / Admin / Configuration

Resolution

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