Uploaded image for project: 'Apache Airflow'
  1. Apache Airflow
  2. AIRFLOW-2979

Deprecated Celery Option not in Options list

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.10.0
    • Fix Version/s: 1.10.1, 2.0.0
    • Component/s: celery
    • Labels:
      None

      Description

      References AIRFLOW-1840

      In airflow/configuration.py

      # 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',
          }
      }
      

      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 is obviously remedied by the reading the UPDATING and setting the new name, but this change has broken back compat as far as I can tell.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kaxilnaik Kaxil Naik
                Reporter:
                mascah Micheal Ascah
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: