0

I was trying zuul installation from scratch. I meant building a stand-alone zuul server following the link below

https://zuul-ci.org/docs/zuul/4.11.0//howtos/zuul-from-scratch.html

I am facing issues with starting zuul services.

I tried if the python path is correct or not, and all related measures. Has anyone faced the same problem? Please share your comments.

Jun 26 09:43:31 zuul-server systemd[1]: Started Zuul Scheduler Service.
Jun 26 09:43:31 zuul-server zuul-scheduler[7333]: Traceback (most recent call last):
Jun 26 09:43:31 zuul-server zuul-scheduler[7333]:   File "/usr/local/bin/zuul-scheduler", line 6, in <module>
Jun 26 09:43:31 zuul-server zuul-scheduler[7333]:     from zuul.cmd.scheduler import main
Jun 26 09:43:31 zuul-server zuul-scheduler[7333]: ModuleNotFoundError: No module named 'zuul'
Jun 26 09:43:31 zuul-server systemd[1]: zuul-scheduler.service: Main process exited, code=exited, status=1/FAILURE
Jun 26 09:43:31 zuul-server systemd[1]: zuul-scheduler.service: Failed with result 'exit-code'

He is my scheduler file - bin/zuul-scheduler


#!/usr/bin/python3.10
# -*- coding: utf-8 -*-
import re
import sys
from zuul.cmd.scheduler import main
if __name__ == '__main__':
    sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
    sys.exit(main())

0 Answers0