Actions
Error 1
If actions are encountering failures because the cluster key is not found in the directory, then perform the following steps to resolve the issue:<Accelo_Home>/work/<cluster_name>/director/keys/
- 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 - Restart
using the following code:ad-director
accelo restart ad-director
Error 2
Actions using Python are failing with the "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:
- Execute the command:
[root@cdp5004:canary-health-check (ad-default)]$ accelo admin makeconfig ad-director
- Verify and edit the configuration file generated at
./data01/acceldata/config/docker/addons/ad-director.yml - If the add-on is already running, use
to remove and recreate the addon service../accelo deploy addons - Add the environment variable:
- ANSIBLE_PYTHON_INTERPRETER=/usr/bin/python3
- Restart
using the following command:ad-director
accelo restart ad-director

Have a suggestion?