Micheal Ascah created AIRFLOW-2979:
--------------------------------------

             Summary: Deprecated Celery Option not in Options list 
                 Key: AIRFLOW-2979
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2979
             Project: Apache Airflow
          Issue Type: Bug
          Components: celery
    Affects Versions: 1.10.0
            Reporter: Micheal Ascah


References [AIRFLOW-1840]

In airflow/configuration.py
{code:java}
# A two-level mapping of (section -> new_name -> old_name). When reading
# new_name, the old_name will be checked to see if it exists. If it does a
# DeprecationWarning will be issued and the old name will be used instead
deprecated_options = {
    'celery': {
        # Remove these keys in Airflow 1.11
        'worker_concurrency': 'celeryd_concurrency',
        'broker_url': 'celery_broker_url',
        'ssl_active': 'celery_ssl_active',
        'ssl_cert': 'celery_ssl_cert',
        'ssl_key': 'celery_ssl_key',
    }
}
{code}
This block is missing the renaming of celery_result_backend to just 
result_backed.

 

When setting this through an environment variable, the deprecated config name 
is not being used and instead the default value in the file is being used. 



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

Reply via email to