ROHIT K RAMWAL created AIRFLOW-4772:
---------------------------------------

             Summary: airflow run_as_user creates new config file when trying 
to execute a task
                 Key: AIRFLOW-4772
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4772
             Project: Apache Airflow
          Issue Type: Bug
          Components: DAG
    Affects Versions: 1.10.3
         Environment: Linux centos-7.2.1511 
            Reporter: ROHIT K RAMWAL


I am using celery executor to scale airflow with redis as backed. Workers are 
executed with airflow user and have priviliges to sudo to other users in the 
system. 

In my config i have set the default_impersonation = 'svc*123' which is a 
default load id for all my jobs. When ever i trigger a job the airflow creates 
a new folder under 'svc*123'  and generates a default config which fails to 
identify the original configuration.

Tried the same with run_as_user which also creates new config first time. If we 
use multiple users to administrate our system better airflow keeps on 
generating new config and default database everytime.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to