Brent Johnson created AIRFLOW-2528:
--------------------------------------
Summary: Airflow cli does not allow disabled stdin
Key: AIRFLOW-2528
URL: https://issues.apache.org/jira/browse/AIRFLOW-2528
Project: Apache Airflow
Issue Type: Bug
Components: cli
Affects Versions: 1.9.0
Reporter: Brent Johnson
So basically, I am trying to automated regression testing by executing an
airflow dag. I
Using the cli I can successfully run the following command:
{code:java}
./airflow run regression-testing regression-ingestion 2018-05-25{code}
Unfortunately, I want to be triggering this against our staging instance in
production on AWS.
I figured an easy way to do this would be to use [AWS System
Manager|https://docs.aws.amazon.com/systems-manager/latest/userguide/run-command.html]
unfortunately any airflow command I call returns:
{code:java}
the input device is not a TTY
{code}
I was able to recreate this running the following command locally by piping
stdin to anywhere:
{code:java}
./airflow run regression-testing regression-ingestion 2018-05-25
0>/dev/null{code}
This is of course an extreme example but it feels like a bug for a cli to
require stdin to be open.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)