Invalid commands and unrecognized options on start
sourcehawk opened this issue · comments
Trying to set up mwaa local runner as described in the project README on ubuntu 22.04 is resulting in various errors which I am unable to explain given the fact that these options do not seem to be set anywhere in the source code.
- error: invalid command 'scheduler'
- error: invalid command 'users'
- error: option --workers not recognized
Any clues as to what the problem is?
aegir@work:~/airflow$ ./mwaa-local-env start
Starting aws-mwaa-local-runner-2_7_postgres_1 ... done
Starting aws-mwaa-local-runner-2_7_local-runner_1 ... done
Attaching to aws-mwaa-local-runner-2_7_postgres_1, aws-mwaa-local-runner-2_7_local-runner_1
postgres_1 |
postgres_1 | PostgreSQL Database directory appears to contain a database; Skipping initialization
postgres_1 |
postgres_1 | 2023-12-18 10:20:59.155 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
postgres_1 | 2023-12-18 10:20:59.155 UTC [1] LOG: listening on IPv6 address "::", port 5432
postgres_1 | 2023-12-18 10:20:59.157 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1 | 2023-12-18 10:20:59.168 UTC [22] LOG: database system was shut down at 2023-12-18 10:20:57 UTC
postgres_1 | 2023-12-18 10:20:59.175 UTC [1] LOG: database system is ready to accept connections
postgres_1 | 2023-12-18 10:20:59.388 UTC [29] LOG: incomplete startup packet
local-runner_1 | Running sample startup script.
local-runner_1 | grep: warning: stray \ before -
local-runner_1 | Finished running startup script. Execution time: 0.004s.
local-runner_1 | Running verification
local-runner_1 | Verification completed
local-runner_1 | stored_env: line 9: BASH_ARGC: variable may not be assigned value
local-runner_1 | stored_env: line 9: declare: BASH_ARGC: variable may not be assigned value
local-runner_1 | stored_env: line 10: BASH_ARGV: variable may not be assigned value
local-runner_1 | stored_env: line 10: declare: BASH_ARGV: variable may not be assigned value
local-runner_1 | stored_env: line 14: BASH_LINENO: variable may not be assigned value
local-runner_1 | stored_env: line 14: declare: BASH_LINENO: variable may not be assigned value
local-runner_1 | stored_env: line 16: BASH_SOURCE: variable may not be assigned value
local-runner_1 | stored_env: line 16: declare: BASH_SOURCE: variable may not be assigned value
local-runner_1 | stored_env: line 25: declare: FUNCNAME: variable may not be assigned value
local-runner_1 | stored_env: line 26: GROUPS: variable may not be assigned value
local-runner_1 | stored_env: line 26: declare: GROUPS: variable may not be assigned value
local-runner_1 | --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.7.2/constraints-3.11.txt"
local-runner_1 | Installing requirements.txt
...
local-runner_1 | Installing collected packages: pymssql, slack-sdk, bcrypt, pynacl, paramiko, sshtunnel, apache-airflow-providers-ssh, apache-airflow-providers-slack, apache-airflow-providers-sftp, apache-airflow-providers-microsoft-mssql
local-runner_1 | Successfully installed apache-airflow-providers-microsoft-mssql-3.4.2 apache-airflow-providers-sftp-4.6.1 apache-airflow-providers-slack-8.1.0 apache-airflow-providers-ssh-3.7.3 bcrypt-4.0.1 paramiko-3.3.1 pymssql-2.2.8 pynacl-1.5.0 slack-sdk-3.23.0 sshtunnel-0.4.0
local-runner_1 |
local-runner_1 | [notice] A new release of pip available: 22.3.1 -> 23.3.2
local-runner_1 | [notice] To update, run: pip install --upgrade pip
local-runner_1 | /usr/local/airflow/.local/lib/python3.11/site-packages/airflow/configuration.py:755 UserWarning: Config scheduler.max_tis_per_query (value: 512) should NOT be greater than core.parallelism (value: 32). Will now use core.parallelism as the max task instances per query instead of specified value.
local-runner_1 | /usr/local/airflow/.local/lib/python3.11/site-packages/airflow/configuration.py:861 FutureWarning: The 'log_filename_template' setting in [logging] has the old default value of '{{ ti.dag_id }}/{{ ti.task_id }}/{{ ts }}/{{ try_number }}.log'. This value has been changed to 'dag_id={{ ti.dag_id }}/run_id={{ ti.run_id }}/task_id={{ ti.task_id }}/{% if ti.map_index >= 0 %}map_index={{ ti.map_index }}/{% endif %}attempt={{ try_number }}.log' in the running config, but please update your config before Apache Airflow 3.0.
local-runner_1 | /usr/local/airflow/.local/lib/python3.11/site-packages/airflow/cli/commands/db_command.py:43 DeprecationWarning: `db init` is deprecated. Use `db migrate` instead to migrate the db and/or airflow connections create-default-connections to create the default connections
local-runner_1 | DB: postgresql+psycopg2://airflow:***@postgres:5432/airflow
local-runner_1 | [2023-12-18T10:21:19.179+0000] {{migration.py:213}} INFO - Context impl PostgresqlImpl.
local-runner_1 | [2023-12-18T10:21:19.180+0000] {{migration.py:216}} INFO - Will assume transactional DDL.
local-runner_1 | [2023-12-18T10:21:19.800+0000] {{migration.py:213}} INFO - Context impl PostgresqlImpl.
local-runner_1 | [2023-12-18T10:21:19.800+0000] {{migration.py:216}} INFO - Will assume transactional DDL.
local-runner_1 | [2023-12-18T10:21:19.812+0000] {{db.py:1620}} INFO - Creating tables
local-runner_1 | INFO [alembic.runtime.migration] Context impl PostgresqlImpl.
local-runner_1 | INFO [alembic.runtime.migration] Will assume transactional DDL.
local-runner_1 | WARNI [airflow.models.crypto] empty cryptography key - values will not be stored encrypted.
local-runner_1 | Initialization done
local-runner_1 | /usr/local/airflow/.local/lib/python3.11/site-packages/airflow/configuration.py:755 UserWarning: Config scheduler.max_tis_per_query (value: 512) should NOT be greater than core.parallelism (value: 32). Will now use core.parallelism as the max task instances per query instead of specified value.
local-runner_1 | /usr/local/airflow/.local/lib/python3.11/site-packages/airflow/configuration.py:755 UserWarning: Config scheduler.max_tis_per_query (value: 512) should NOT be greater than core.parallelism (value: 32). Will now use core.parallelism as the max task instances per query instead of specified value.
local-runner_1 | /usr/local/airflow/.local/lib/python3.11/site-packages/airflow/configuration.py:861 FutureWarning: The 'log_filename_template' setting in [logging] has the old default value of '{{ ti.dag_id }}/{{ ti.task_id }}/{{ ts }}/{{ try_number }}.log'. This value has been changed to 'dag_id={{ ti.dag_id }}/run_id={{ ti.run_id }}/task_id={{ ti.task_id }}/{% if ti.map_index >= 0 %}map_index={{ ti.map_index }}/{% endif %}attempt={{ try_number }}.log' in the running config, but please update your config before Apache Airflow 3.0.
local-runner_1 | /usr/local/airflow/.local/lib/python3.11/site-packages/airflow/configuration.py:861 FutureWarning: The 'log_filename_template' setting in [logging] has the old default value of '{{ ti.dag_id }}/{{ ti.task_id }}/{{ ts }}/{{ try_number }}.log'. This value has been changed to 'dag_id={{ ti.dag_id }}/run_id={{ ti.run_id }}/task_id={{ ti.task_id }}/{% if ti.map_index >= 0 %}map_index={{ ti.map_index }}/{% endif %}attempt={{ try_number }}.log' in the running config, but please update your config before Apache Airflow 3.0.
local-runner_1 | ____________ _____________
local-runner_1 | ____ |__( )_________ __/__ /________ __
local-runner_1 | ____ /| |_ /__ ___/_ /_ __ /_ __ \_ | /| / /
local-runner_1 | ___ ___ | / _ / _ __/ _ / / /_/ /_ |/ |/ /
local-runner_1 | _/_/ |_/_/ /_/ /_/ /_/ \____/____/|__/
local-runner_1 | usage: airflow [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
local-runner_1 | or: airflow --help [cmd1 cmd2 ...]
local-runner_1 | or: airflow --help-commands
local-runner_1 | or: airflow cmd --help
local-runner_1 |
local-runner_1 | error: invalid command 'scheduler'
local-runner_1 | ____________ _____________
local-runner_1 | ____ |__( )_________ __/__ /________ __
local-runner_1 | ____ /| |_ /__ ___/_ /_ __ /_ __ \_ | /| / /
local-runner_1 | ___ ___ | / _ / _ __/ _ / / /_/ /_ |/ |/ /
local-runner_1 | _/_/ |_/_/ /_/ /_/ /_/ \____/____/|__/
local-runner_1 | usage: airflow [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
local-runner_1 | or: airflow --help [cmd1 cmd2 ...]
local-runner_1 | or: airflow --help-commands
local-runner_1 | or: airflow cmd --help
local-runner_1 |
local-runner_1 | error: invalid command 'triggerer'
local-runner_1 | /usr/local/airflow/.local/lib/python3.11/site-packages/airflow/configuration.py:755 UserWarning: Config scheduler.max_tis_per_query (value: 512) should NOT be greater than core.parallelism (value: 32). Will now use core.parallelism as the max task instances per query instead of specified value.
local-runner_1 | /usr/local/airflow/.local/lib/python3.11/site-packages/airflow/configuration.py:861 FutureWarning: The 'log_filename_template' setting in [logging] has the old default value of '{{ ti.dag_id }}/{{ ti.task_id }}/{{ ts }}/{{ try_number }}.log'. This value has been changed to 'dag_id={{ ti.dag_id }}/run_id={{ ti.run_id }}/task_id={{ ti.task_id }}/{% if ti.map_index >= 0 %}map_index={{ ti.map_index }}/{% endif %}attempt={{ try_number }}.log' in the running config, but please update your config before Apache Airflow 3.0.
local-runner_1 | /usr/local/airflow/.local/lib/python3.11/site-packages/flask_limiter/extension.py:336 UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
local-runner_1 | [2023-12-18T10:21:23.960+0000] {{manager.py:670}} WARNING - No user yet created, use flask fab command to do it.
local-runner_1 | usage: airflow [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
local-runner_1 | or: airflow --help [cmd1 cmd2 ...]
local-runner_1 | or: airflow --help-commands
local-runner_1 | or: airflow cmd --help
local-runner_1 |
local-runner_1 | error: invalid command 'users'
local-runner_1 | /usr/local/airflow/.local/lib/python3.11/site-packages/airflow/configuration.py:755 UserWarning: Config scheduler.max_tis_per_query (value: 512) should NOT be greater than core.parallelism (value: 32). Will now use core.parallelism as the max task instances per query instead of specified value.
local-runner_1 | /usr/local/airflow/.local/lib/python3.11/site-packages/airflow/configuration.py:861 FutureWarning: The 'log_filename_template' setting in [logging] has the old default value of '{{ ti.dag_id }}/{{ ti.task_id }}/{{ ts }}/{{ try_number }}.log'. This value has been changed to 'dag_id={{ ti.dag_id }}/run_id={{ ti.run_id }}/task_id={{ ti.task_id }}/{% if ti.map_index >= 0 %}map_index={{ ti.map_index }}/{% endif %}attempt={{ try_number }}.log' in the running config, but please update your config before Apache Airflow 3.0.
local-runner_1 | /usr/local/airflow/.local/lib/python3.11/site-packages/airflow/configuration.py:755 UserWarning: Config scheduler.max_tis_per_query (value: 512) should NOT be greater than core.parallelism (value: 32). Will now use core.parallelism as the max task instances per query instead of specified value.
local-runner_1 | /usr/local/airflow/.local/lib/python3.11/site-packages/flask_limiter/extension.py:336 UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
local-runner_1 | [2023-12-18T10:21:26.791+0000] {{manager.py:670}} WARNING - No user yet created, use flask fab command to do it.
local-runner_1 | usage: __main__.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
local-runner_1 | or: __main__.py --help [cmd1 cmd2 ...]
local-runner_1 | or: __main__.py --help-commands
local-runner_1 | or: __main__.py cmd --help
local-runner_1 |
local-runner_1 | error: option --workers not recognized
local-runner_1 | ____________ _____________
local-runner_1 | ____ |__( )_________ __/__ /________ __
local-runner_1 | ____ /| |_ /__ ___/_ /_ __ /_ __ \_ | /| / /
local-runner_1 | ___ ___ | / _ / _ __/ _ / / /_/ /_ |/ |/ /
local-runner_1 | _/_/ |_/_/ /_/ /_/ /_/ \____/____/|__/
local-runner_1 | Running the Gunicorn Server with:
local-runner_1 | Workers: 4 sync
local-runner_1 | Host: 0.0.0.0:8080
local-runner_1 | Timeout: 120
local-runner_1 | Logfiles: - -
local-runner_1 | Access Logformat:
local-runner_1 | =================================================================
local-runner_1 | [2023-12-18T10:26:25.682+0000] {{webserver_command.py:225}} ERROR - No response from gunicorn master within 300 seconds
local-runner_1 | [2023-12-18T10:26:25.684+0000] {{webserver_command.py:226}} ERROR - Shutting down webserver
postgres_1 | 2023-12-18 10:26:26.475 UTC [95] LOG: incomplete startup packet
local-runner_1 | Running sample startup script.
local-runner_1 | grep: warning: stray \ before -
local-runner_1 | Finished running startup script. Execution time: 0.004s.
local-runner_1 | Running verification
local-runner_1 | Verification completed
local-runner_1 | stored_env: line 9: BASH_ARGC: variable may not be assigned value
local-runner_1 | stored_env: line 9: declare: BASH_ARGC: variable may not be assigned value
local-runner_1 | stored_env: line 10: BASH_ARGV: variable may not be assigned value
local-runner_1 | stored_env: line 10: declare: BASH_ARGV: variable may not be assigned value
local-runner_1 | stored_env: line 14: BASH_LINENO: variable may not be assigned value
local-runner_1 | stored_env: line 14: declare: BASH_LINENO: variable may not be assigned value
local-runner_1 | stored_env: line 16: BASH_SOURCE: variable may not be assigned value
local-runner_1 | stored_env: line 16: declare: BASH_SOURCE: variable may not be assigned value
local-runner_1 | stored_env: line 25: declare: FUNCNAME: variable may not be assigned value
local-runner_1 | stored_env: line 26: GROUPS: variable may not be assigned value
local-runner_1 | stored_env: line 26: declare: GROUPS: variable may not be assigned value
local-runner_1 | --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.7.2/constraints-3.11.txt"
local-runner_1 | Installing requirements.txt
...
local-runner_1 |
local-runner_1 | [notice] A new release of pip available: 22.3.1 -> 23.3.2
local-runner_1 | [notice] To update, run: pip install --upgrade pip
local-runner_1 | /usr/local/airflow/.local/lib/python3.11/site-packages/airflow/configuration.py:755 UserWarning: Config scheduler.max_tis_per_query (value: 512) should NOT be greater than core.parallelism (value: 32). Will now use core.parallelism as the max task instances per query instead of specified value.
local-runner_1 | /usr/local/airflow/.local/lib/python3.11/site-packages/airflow/configuration.py:861 FutureWarning: The 'log_filename_template' setting in [logging] has the old default value of '{{ ti.dag_id }}/{{ ti.task_id }}/{{ ts }}/{{ try_number }}.log'. This value has been changed to 'dag_id={{ ti.dag_id }}/run_id={{ ti.run_id }}/task_id={{ ti.task_id }}/{% if ti.map_index >= 0 %}map_index={{ ti.map_index }}/{% endif %}attempt={{ try_number }}.log' in the running config, but please update your config before Apache Airflow 3.0.
local-runner_1 | /usr/local/airflow/.local/lib/python3.11/site-packages/airflow/cli/commands/db_command.py:43 DeprecationWarning: `db init` is deprecated. Use `db migrate` instead to migrate the db and/or airflow connections create-default-connections to create the default connections
local-runner_1 | DB: postgresql+psycopg2://airflow:***@postgres:5432/airflow
local-runner_1 | [2023-12-18T10:26:44.123+0000] {{migration.py:213}} INFO - Context impl PostgresqlImpl.
local-runner_1 | [2023-12-18T10:26:44.124+0000] {{migration.py:216}} INFO - Will assume transactional DDL.
local-runner_1 | [2023-12-18T10:26:44.689+0000] {{migration.py:213}} INFO - Context impl PostgresqlImpl.
local-runner_1 | [2023-12-18T10:26:44.690+0000] {{migration.py:216}} INFO - Will assume transactional DDL.
local-runner_1 | [2023-12-18T10:26:44.695+0000] {{db.py:1620}} INFO - Creating tables
local-runner_1 | INFO [alembic.runtime.migration] Context impl PostgresqlImpl.
local-runner_1 | INFO [alembic.runtime.migration] Will assume transactional DDL.
local-runner_1 | WARNI [airflow.models.crypto] empty cryptography key - values will not be stored encrypted.
local-runner_1 | Initialization done
local-runner_1 | /usr/local/airflow/.local/lib/python3.11/site-packages/airflow/configuration.py:755 UserWarning: Config scheduler.max_tis_per_query (value: 512) should NOT be greater than core.parallelism (value: 32). Will now use core.parallelism as the max task instances per query instead of specified value.
local-runner_1 | /usr/local/airflow/.local/lib/python3.11/site-packages/airflow/configuration.py:861 FutureWarning: The 'log_filename_template' setting in [logging] has the old default value of '{{ ti.dag_id }}/{{ ti.task_id }}/{{ ts }}/{{ try_number }}.log'. This value has been changed to 'dag_id={{ ti.dag_id }}/run_id={{ ti.run_id }}/task_id={{ ti.task_id }}/{% if ti.map_index >= 0 %}map_index={{ ti.map_index }}/{% endif %}attempt={{ try_number }}.log' in the running config, but please update your config before Apache Airflow 3.0.
local-runner_1 | /usr/local/airflow/.local/lib/python3.11/site-packages/airflow/configuration.py:755 UserWarning: Config scheduler.max_tis_per_query (value: 512) should NOT be greater than core.parallelism (value: 32). Will now use core.parallelism as the max task instances per query instead of specified value.
local-runner_1 | /usr/local/airflow/.local/lib/python3.11/site-packages/airflow/configuration.py:861 FutureWarning: The 'log_filename_template' setting in [logging] has the old default value of '{{ ti.dag_id }}/{{ ti.task_id }}/{{ ts }}/{{ try_number }}.log'. This value has been changed to 'dag_id={{ ti.dag_id }}/run_id={{ ti.run_id }}/task_id={{ ti.task_id }}/{% if ti.map_index >= 0 %}map_index={{ ti.map_index }}/{% endif %}attempt={{ try_number }}.log' in the running config, but please update your config before Apache Airflow 3.0.
local-runner_1 | ____________ _____________
local-runner_1 | ____ |__( )_________ __/__ /________ __
local-runner_1 | ____ /| |_ /__ ___/_ /_ __ /_ __ \_ | /| / /
local-runner_1 | ___ ___ | / _ / _ __/ _ / / /_/ /_ |/ |/ /
local-runner_1 | _/_/ |_/_/ /_/ /_/ /_/ \____/____/|__/
local-runner_1 | usage: airflow [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
local-runner_1 | or: airflow --help [cmd1 cmd2 ...]
local-runner_1 | or: airflow --help-commands
local-runner_1 | or: airflow cmd --help
local-runner_1 |
local-runner_1 | error: invalid command 'scheduler'
local-runner_1 | ____________ _____________
local-runner_1 | ____ |__( )_________ __/__ /________ __
local-runner_1 | ____ /| |_ /__ ___/_ /_ __ /_ __ \_ | /| / /
local-runner_1 | ___ ___ | / _ / _ __/ _ / / /_/ /_ |/ |/ /
local-runner_1 | _/_/ |_/_/ /_/ /_/ /_/ \____/____/|__/
local-runner_1 | usage: airflow [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
local-runner_1 | or: airflow --help [cmd1 cmd2 ...]
local-runner_1 | or: airflow --help-commands
local-runner_1 | or: airflow cmd --help
local-runner_1 |
local-runner_1 | error: invalid command 'triggerer'
local-runner_1 | /usr/local/airflow/.local/lib/python3.11/site-packages/airflow/configuration.py:755 UserWarning: Config scheduler.max_tis_per_query (value: 512) should NOT be greater than core.parallelism (value: 32). Will now use core.parallelism as the max task instances per query instead of specified value.
local-runner_1 | /usr/local/airflow/.local/lib/python3.11/site-packages/airflow/configuration.py:861 FutureWarning: The 'log_filename_template' setting in [logging] has the old default value of '{{ ti.dag_id }}/{{ ti.task_id }}/{{ ts }}/{{ try_number }}.log'. This value has been changed to 'dag_id={{ ti.dag_id }}/run_id={{ ti.run_id }}/task_id={{ ti.task_id }}/{% if ti.map_index >= 0 %}map_index={{ ti.map_index }}/{% endif %}attempt={{ try_number }}.log' in the running config, but please update your config before Apache Airflow 3.0.
local-runner_1 | /usr/local/airflow/.local/lib/python3.11/site-packages/flask_limiter/extension.py:336 UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
local-runner_1 | [2023-12-18T10:26:48.735+0000] {{manager.py:670}} WARNING - No user yet created, use flask fab command to do it.
local-runner_1 | usage: airflow [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
local-runner_1 | or: airflow --help [cmd1 cmd2 ...]
local-runner_1 | or: airflow --help-commands
local-runner_1 | or: airflow cmd --help
local-runner_1 |
local-runner_1 | error: invalid command 'users'
local-runner_1 | /usr/local/airflow/.local/lib/python3.11/site-packages/airflow/configuration.py:755 UserWarning: Config scheduler.max_tis_per_query (value: 512) should NOT be greater than core.parallelism (value: 32). Will now use core.parallelism as the max task instances per query instead of specified value.
local-runner_1 | /usr/local/airflow/.local/lib/python3.11/site-packages/airflow/configuration.py:861 FutureWarning: The 'log_filename_template' setting in [logging] has the old default value of '{{ ti.dag_id }}/{{ ti.task_id }}/{{ ts }}/{{ try_number }}.log'. This value has been changed to 'dag_id={{ ti.dag_id }}/run_id={{ ti.run_id }}/task_id={{ ti.task_id }}/{% if ti.map_index >= 0 %}map_index={{ ti.map_index }}/{% endif %}attempt={{ try_number }}.log' in the running config, but please update your config before Apache Airflow 3.0.
local-runner_1 | /usr/local/airflow/.local/lib/python3.11/site-packages/airflow/configuration.py:755 UserWarning: Config scheduler.max_tis_per_query (value: 512) should NOT be greater than core.parallelism (value: 32). Will now use core.parallelism as the max task instances per query instead of specified value.
local-runner_1 | /usr/local/airflow/.local/lib/python3.11/site-packages/flask_limiter/extension.py:336 UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
local-runner_1 | [2023-12-18T10:26:51.620+0000] {{manager.py:670}} WARNING - No user yet created, use flask fab command to do it.
local-runner_1 | usage: __main__.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
local-runner_1 | or: __main__.py --help [cmd1 cmd2 ...]
local-runner_1 | or: __main__.py --help-commands
local-runner_1 | or: __main__.py cmd --help
local-runner_1 |
local-runner_1 | error: option --workers not recognized
These are the airflow commands that start up the scheduler, worker, etc. Likely a configuration you changed or package you installed is causing this. I recommend looking through this discussion in the airflow open source github and try to follow these steps for investigation: apache/airflow#22343