[
https://issues.apache.org/jira/browse/AIRFLOW-4772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ash Berlin-Taylor closed AIRFLOW-4772.
--------------------------------------
Resolution: Not A Bug
This is by design - when using run_as_user Airflow creates a temporary config
file that is readable by that user.
If you _don't_ want that then a config option to disable this behaviour when
using run_as_user would be acceptable.
> 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
> Priority: Major
>
> 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)