clustervision / trinityX

TrinityX is the new generation of ClusterVision's open-source HPC, A/I and cloudbursting platform. It is designed from the ground up to provide all services required in a modern HPC and A/I system, and to allow full customization of the installation.
GNU General Public License v3.0
67 stars 37 forks source link

AttributeError: module 'luna' has no attribute 'on_starting' #412

Closed psantana5 closed 6 months ago

psantana5 commented 6 months ago

Good afternoon,

When setting up TrinityX in Rocky Linux 8.5, we encounter this error.

AttributeError: module 'luna' has no attribute 'on_starting'

When we launch the Ansible playbook, we get stuck on the task that sets up the DNS forwarders for TrinityX. It looks for https://example:7050/version but the daemon does not start due to this error and therefore nothing is listening on port 7050.

This error is located in the gunicorn.py file in the daemon configuration folder. Note that there is an import in the gunicorn.py file where it does try to import a module named "luna".

Has anybody else encountered this issue and if so, what solutions do you offer?

Thank you.

psantana5 commented 6 months ago

Fixed by switching Python version to 3.10 inside the virtual environment.

aphmschonewille commented 6 months ago

What is also helpful is looking inside the systemd service, as there you can find how we start the daemon. -A