You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/12/21 10:21:26 UTC
[GitHub] [airflow] turbaszek opened a new issue #13214: Make migration logging consistent
turbaszek opened a new issue #13214:
URL: https://github.com/apache/airflow/issues/13214
**Apache Airflow version**:
2.0.0.dev
**Kubernetes version (if you are using kubernetes)** (use `kubectl version`):
**Environment**:
- **Cloud provider or hardware configuration**:
- **OS** (e.g. from /etc/os-release):
- **Kernel** (e.g. `uname -a`):
- **Install tools**:
- **Others**:
**What happened**:
When I run `airflow db reset -y` I got
```
INFO [alembic.runtime.migration] Running upgrade bef4f3d11e8b -> 98271e7606e2, Add scheduling_decision to DagRun and DAG
INFO [alembic.runtime.migration] Running upgrade 98271e7606e2 -> 52d53670a240, fix_mssql_exec_date_rendered_task_instance_fields_for_MSSQL
INFO [alembic.runtime.migration] Running upgrade 52d53670a240 -> 364159666cbd, Add creating_job_id to DagRun table
INFO [alembic.runtime.migration] Running upgrade 364159666cbd -> 45ba3f1493b9, add-k8s-yaml-to-rendered-templates
INFO [alembic.runtime.migration] Running upgrade 45ba3f1493b9 -> 849da589634d, Prefix DAG permissions.
INFO [alembic.runtime.migration] Running upgrade 849da589634d -> 2c6edca13270, Resource based permissions.
[2020-12-21 10:15:40,510] {manager.py:727} WARNING - No user yet created, use flask fab command to do it.
[2020-12-21 10:15:41,964] {providers_manager.py:291} WARNING - Exception when importing 'airflow.providers.google.cloud.hooks.compute_ssh.ComputeEngineSSHHook' from 'apache-airflow-providers-google' package: No module named 'google.cloud.oslogin_v1'
[2020-12-21 10:15:42,791] {providers_manager.py:291} WARNING - Exception when importing 'airflow.providers.google.cloud.hooks.compute_ssh.ComputeEngineSSHHook' from 'apache-airflow-providers-google' package: No module named 'google.cloud.oslogin_v1'
[2020-12-21 10:15:47,157] {migration.py:515} INFO - Running upgrade 2c6edca13270 -> 61ec73d9401f, Add description field to connection
[2020-12-21 10:15:47,160] {migration.py:515} INFO - Running upgrade 61ec73d9401f -> 64a7d6477aae, fix description field in connection to be text
[2020-12-21 10:15:47,164] {migration.py:515} INFO - Running upgrade 64a7d6477aae -> e959f08ac86c, Change field in DagCode to MEDIUMTEXT for MySql
[2020-12-21 10:15:47,381] {dagbag.py:440} INFO - Filling up the DagBag from /root/airflow/dags
[2020-12-21 10:15:47,857] {dag.py:1813} INFO - Sync 29 DAGs
[2020-12-21 10:15:47,870] {dag.py:1832} INFO - Creating ORM DAG for example_bash_operator
[2020-12-21 10:15:47,871] {dag.py:1832} INFO - Creating ORM DAG for example_kubernetes_executor
[2020-12-21 10:15:47,872] {dag.py:1832} INFO - Creating ORM DAG for example_xcom_args
[2020-12-21 10:15:47,873] {dag.py:1832} INFO - Creating ORM DAG for tutorial
[2020-12-21 10:15:47,873] {dag.py:1832} INFO - Creating ORM DAG for example_python_operator
[2020-12-21 10:15:47,874] {dag.py:1832} INFO - Creating ORM DAG for example_xcom
```
**What you expected to happen**:
I expect to see all migration logging to be formatted in the same style. I would also love to see no unrelated logs - this will make `db reset` easier to digest.
**How to reproduce it**:
Run `airflow db reset -y`
**Anything else we need to know**:
N/A
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] turbaszek closed issue #13214: Make migration logging consistent
Posted by GitBox <gi...@apache.org>.
turbaszek closed issue #13214:
URL: https://github.com/apache/airflow/issues/13214
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org