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:
- 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
ad-director
using the following code:
accelo restart ad-director
Error 2
Actions using Python are failing with the
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
./accelo deploy addons
to remove and recreate the addon service. - Add the environment variable:
- ANSIBLE_PYTHON_INTERPRETER=/usr/bin/python3
- Restart
ad-director
using the following command:
accelo restart ad-director
Was this page helpful?