oec-scripts
oec-scripts copied to clipboard
oec service trying to call actionExecutor.py using python2 with missing modules when python3 works. No env in actionExecutor.py.
Should actionExecutor.py have an explicit python env set at the top of the file?
In my case I cannot execute remote Opsgenie2Nagios commands because actionExecutor.py doesn't specify a hashbang at the start of the file to pick a specific interpreter
According to https://github.com/opsgenie/oec/issues/49 it seems the service is the one targeting python and relying on the system default. It is ingoring any mention of #!/usr/bin/python3 at the top of the file. Seems to be an outstanding problem.