You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check CONTRIBUTING guideline first and here is the list to help us investigate the problem.
Describe the bug
I am using Fluentd as superuser 'su' on my virtual machine. Whenever I try to run my python script using @type exec, it will show on the terminal as #0 plugin_helper/child_process.rb:255:child_process_execute_once: Executing command title=:exec_input spawn=[{}, "python /home/zohair/Desktop/script1.py"] mode=[:read] stderr=:discard meaning its executing the script. I also used -vv to get more information why the actions from the script were not being completed (Which were to create a folder and download some files from a webserver). The actual problem was that my python script as superuser did not have module 'requests' installed. While debugging and printing output to @type stdout there was never an error displayed like this in the whole log file. To solve it i simply added requirements.txt as a command on fluentd.
To Reproduce
Run a python script with a non-installed pip library as superuser. Fluentd never displays the error.
Expected behavior
On the terminal, Fluentd should output this missing module error.
Check CONTRIBUTING guideline first and here is the list to help us investigate the problem.
Describe the bug
I am using Fluentd as superuser 'su' on my virtual machine. Whenever I try to run my python script using @type exec, it will show on the terminal as
#0 plugin_helper/child_process.rb:255:child_process_execute_once: Executing command title=:exec_input spawn=[{}, "python /home/zohair/Desktop/script1.py"] mode=[:read] stderr=:discard
meaning its executing the script. I also used -vv to get more information why the actions from the script were not being completed (Which were to create a folder and download some files from a webserver). The actual problem was that my python script as superuser did not have module 'requests' installed. While debugging and printing output to @type stdout there was never an error displayed like this in the whole log file. To solve it i simply added requirements.txt as a command on fluentd.To Reproduce
Run a python script with a non-installed pip library as superuser. Fluentd never displays the error.
Expected behavior
On the terminal, Fluentd should output this missing module error.
Your Environment
Your Configuration
Your Error Log
Additional context
The text was updated successfully, but these errors were encountered: