lmas
April 22, 2021, 10:33am
1
Hello,
I’m currently deploying tutor on an AWS EC2 instance. I’m installing it and launching it using cloud-init.
When the script I have provided to cloud-init launch the command tutor local quickstart
, it stay stuck on this line indefinitely
When i do tutor local logs
on my instance I have no return about the my_sql_job service and log doesn’t help me.
What should I do to troubleshoot my issue ?
Thanks a lot
lmas
April 26, 2021, 10:28am
2
This thread amazon ec2 - docker-compose exec python the input device is not a TTY in AWS EC2 UserData - Stack Overflow helped me to solve my issue.
Docker-compose was running the job with -T option but it seems that it is bugged and a TTY is still allocated.
regis
April 27, 2021, 9:52am
3
Hi @lmas ! There is something I don’t quite understand here. Tutor is supposed to work even in the absence of TTY. Jobs are run with the -T
option when no TTY is available. Are you saying that we should not be using this option? Or that the TTY detection mechanism is not working?
For reference, here is the relevant part of the code: tutor/compose.py at dfd3d179e94237c9670c5d085b917b925f2676c5 · overhangio/tutor · GitHub
system
Closed
July 26, 2021, 9:53am
4
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.