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

Errors raised when some blocs are missing in airflow.cfg

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.10.0
    • Fix Version/s: 1.10.1
    • Component/s: configuration
    • Labels:
      None

      Description

      When we upgrade from a version of airflow to another one and new config bloc are available or if we delete useless blocs, lots of errors are raised if we don't have some blocs in airflow.cfg file.

      We need to avoid these errors for non-required blocs.

       

      For the record logs (not exhaustive):

       

      [2018-09-21 10:49:37,727] {cli.py:464} ERROR - Section atlas Option sasl_enabled does not exist in the config!
      [2018-09-21 10:49:37,727] {cli.py:464} ERROR - Section atlas Option host does not exist in the config!
      [2018-09-21 10:49:37,727] {cli.py:464} ERROR - Section atlas Option port does not exist in the config!
      [2018-09-21 10:49:37,727] {cli.py:464} ERROR - Section atlas Option username does not exist in the config!
      [2018-09-21 10:49:37,727] {cli.py:464} ERROR - Section atlas Option password does not exist in the config!
      [2018-09-21 10:49:37,728] {cli.py:464} ERROR - Section hive Option default_hive_mapred_queue does not exist in the config!
      [2018-09-21 10:49:37,728] {cli.py:464} ERROR - Section mesos Option master does not exist in the config!
      [2018-09-21 10:49:37,728] {cli.py:464} ERROR - Section mesos Option framework_name does not exist in the config!
      [2018-09-21 10:49:37,728] {cli.py:464} ERROR - Section mesos Option task_cpu does not exist in the config!
      [2018-09-21 10:49:37,728] {cli.py:464} ERROR - Section mesos Option task_memory does not exist in the config!
      [2018-09-21 10:49:37,728] {cli.py:464} ERROR - Section mesos Option checkpoint does not exist in the config!
      [2018-09-21 10:49:37,728] {cli.py:464} ERROR - Section mesos Option authenticate does not exist in the config!
      [2018-09-21 10:49:37,729] {cli.py:464} ERROR - Section elasticsearch Option elasticsearch_host does not exist in the config!
      [2018-09-21 10:49:37,729] {cli.py:464} ERROR - Section elasticsearch Option elasticsearch_log_id_template does not exist in the config!
      [2018-09-21 10:49:37,729] {cli.py:464} ERROR - Section elasticsearch Option elasticsearch_end_of_log_mark does not exist in the config!
      [2018-09-21 10:49:37,729] {cli.py:464} ERROR - Section kubernetes Option worker_container_repository does not exist in the config!
      [2018-09-21 10:49:37,729] {cli.py:464} ERROR - Section kubernetes Option worker_container_tag does not exist in the config!
      [2018-09-21 10:49:37,729] {cli.py:464} ERROR - Section kubernetes Option delete_worker_pods does not exist in the config!
      [2018-09-21 10:49:37,729] {cli.py:464} ERROR - Section kubernetes Option namespace does not exist in the config!
      [2018-09-21 10:49:37,729] {cli.py:464} ERROR - Section kubernetes Option airflow_configmap does not exist in the config!
      [2018-09-21 10:49:37,729] {cli.py:464} ERROR - Section kubernetes Option dags_volume_subpath does not exist in the config!
      [2018-09-21 10:49:37,730] {cli.py:464} ERROR - Section kubernetes Option dags_volume_claim does not exist in the config!
      [2018-09-21 10:49:37,730] {cli.py:464} ERROR - Section kubernetes Option logs_volume_subpath does not exist in the config!
      [2018-09-21 10:49:37,730] {cli.py:464} ERROR - Section kubernetes Option logs_volume_claim does not exist in the config!
      [2018-09-21 10:49:37,730] {cli.py:464} ERROR - Section kubernetes Option git_repo does not exist in the config!
      [2018-09-21 10:49:37,730] {cli.py:464} ERROR - Section kubernetes Option git_branch does not exist in the config!
      [2018-09-21 10:49:37,730] {cli.py:464} ERROR - Section kubernetes Option git_user does not exist in the config!
      [2018-09-21 10:49:37,730] {cli.py:464} ERROR - Section kubernetes Option git_password does not exist in the config!
      [2018-09-21 10:49:37,730] {cli.py:464} ERROR - Section kubernetes Option git_subpath does not exist in the config!
      [2018-09-21 10:49:37,730] {cli.py:464} ERROR - Section kubernetes Option git_sync_container_repository does not exist in the config!
      [2018-09-21 10:49:37,730] {cli.py:464} ERROR - Section kubernetes Option git_sync_container_tag does not exist in the config!
      [2018-09-21 10:49:37,731] {cli.py:464} ERROR - Section kubernetes Option git_sync_init_container_name does not exist in the config!
      [2018-09-21 10:49:37,731] {cli.py:464} ERROR - Section kubernetes Option worker_service_account_name does not exist in the config!
      [2018-09-21 10:49:37,731] {cli.py:464} ERROR - Section kubernetes Option image_pull_secrets does not exist in the config!
      [2018-09-21 10:49:37,731] {cli.py:464} ERROR - Section kubernetes Option gcp_service_account_keys does not exist in the config!
      [2018-09-21 10:49:37,731] {cli.py:464} ERROR - Section kubernetes Option in_cluster does not exist in the config!

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kaxilnaik Kaxil Naik
                Reporter:
                Blef Christophe
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: