Actions

Error 1

If actions are encountering failures because the cluster key is not found in the <Accelo_Home>/work/<cluster_name>/director/keys/ directory, then perform the following steps to resolve the issue:

  1. Copy the ssh key with the same ownership and permissions as 1000:1000 and 0600 respectively to the following location: $AcceloHome/work/<cluster_name>/director/keys

  2. Restart ad-director using the following code:

accelo restart ad-director

Error 2

Actions using Python are failing with the error "Aborting, target uses SELinux but Python bindings (libselinux-python) aren't installed!"

Workaround: For Ansible 2.9.27, the default Ansible Python interpreter is using Python 2.x, whereas the remote machine is set up with Python 3.x. To resolve this, you need to dynamically pass the Python interpreter when executing playbooks. Additionally, if any Python modules are missing, install the required modules on the remote hosts.

Steps to Enable Python 3 Interpreter:

  1. Execute the command:

[root@cdp5004:canary-health-check (ad-default)]$ accelo admin makeconfig ad-director
  1. Verify and edit the configuration file generated at /data01/acceldata/config/docker/addons/ad-director.yml.

  2. If the add-on is already running, use ./accelo deploy addons to remove and recreate the addon service.

  3. Add the environment variable:

- ANSIBLE_PYTHON_INTERPRETER=/usr/bin/python3
  1. Restart ad-director using the following command:

accelo restart ad-director


On This Page
ActionsError 1Error 2