davidshao opened a new issue #14858:
URL: https://github.com/apache/airflow/issues/14858


   <!--
   
   Welcome to Apache Airflow!  For a smooth issue process, try to answer the 
following questions.
   Don't worry if they're not all applicable; just try to include what you can 
:-)
   
   If you need to include code snippets or logs, please put them in fenced code
   blocks.  If they're super-long, please use the details tag like
   <details><summary>super-long log</summary> lots of stuff </details>
   
   Please delete these comment blocks before submitting the issue.
   
   -->
   
   <!--
   
   IMPORTANT!!!
   
   PLEASE CHECK "SIMILAR TO X EXISTING ISSUES" OPTION IF VISIBLE
   NEXT TO "SUBMIT NEW ISSUE" BUTTON!!!
   
   PLEASE CHECK IF THIS ISSUE HAS BEEN REPORTED PREVIOUSLY USING SEARCH!!!
   
   Please complete the next sections or the issue will be closed.
   These questions are the first thing we need to know to understand the 
context.
   
   -->
   
   **Apache Airflow version**:
   1.10.14
   
   **Kubernetes version (if you are using kubernetes)** (use `kubectl version`):
   n/a
   
   **Environment**:
   
   - **Cloud provider or hardware configuration**:
   - **OS** (e.g. from /etc/os-release):
   ```
   NAME="CentOS Linux"
   VERSION="7 (Core)"
   ID="centos"
   ID_LIKE="rhel fedora"
   VERSION_ID="7"
   PRETTY_NAME="CentOS Linux 7 (Core)"
   ANSI_COLOR="0;31"
   CPE_NAME="cpe:/o:centos:centos:7"
   HOME_URL="https://www.centos.org/";
   BUG_REPORT_URL="https://bugs.centos.org/";
   
   CENTOS_MANTISBT_PROJECT="CentOS-7"
   CENTOS_MANTISBT_PROJECT_VERSION="7"
   REDHAT_SUPPORT_PRODUCT="centos"
   REDHAT_SUPPORT_PRODUCT_VERSION="7"
   ```
   - **Kernel** (e.g. `uname -a`):
   - `Linux iebdev22 3.10.0-1160.11.1.el7.x86_64 #1 SMP Fri Dec 18 16:34:56 UTC 
2020 x86_64 x86_64 x86_64 GNU/Linux`
   - **Install tools**:
   - **Others**:
   
   **What happened**:
   
   <!-- (please include exact error messages if you can) -->
   
   **What you expected to happen**:
   
   <!-- What do you think went wrong? -->
   
   **How to reproduce it**:
   <!---
   
   As minimally and precisely as possible. Keep in mind we do not have access 
to your cluster or dags.
   
   
   ## Install minikube/kind
   
   - Minikube https://minikube.sigs.k8s.io/docs/start/
   - Kind https://kind.sigs.k8s.io/docs/user/quick-start/
   
   If this is a UI bug, please provide a screenshot of the bug or a link to a 
youtube video of the bug in action
   
   You can include images using the .md style of
   ![alt text](http://url/to/img.png)
   
   To record a screencast, mac users can use QuickTime and then create an 
unlisted youtube video with the resulting .mov file.
   
   --->
   When running `upgrade_check` (v1.3.0) with `-I` (ignore) option, it exits 
with `1` on success.
   
   ```
   (ve) $ airflow upgrade_check --version
   1.3.0
   ```
   
   ```
    (ve)$ airflow upgrade_check -i VersionCheckRule -i PodTemplateFileRule
   
   =================================== STATUS 
=============================================
   
   Remove airflow.AirflowMacroPlugin 
class..........................................SUCCESS
   Ensure users are not using custom metaclasses in custom 
operators................SUCCESS
   Chain between DAG and operator not 
allowed.......................................SUCCESS
   Connection.conn_type is not 
nullable.............................................SUCCESS
   Custom Executors now require full 
path...........................................SUCCESS
   Check versions of PostgreSQL, MySQL, and SQLite to ease upgrade to Airflow 
2.0...SUCCESS
   Hooks that run DB functions must inherit from 
DBApiHook..........................SUCCESS
   Fernet is enabled by 
default.....................................................SUCCESS
   GCP service account key 
deprecation..............................................SUCCESS
   Unify hostname_callable option in core 
section...................................SUCCESS
   Changes in import paths of hooks, operators, sensors and 
others..................SUCCESS
   Legacy UI is deprecated by 
default...............................................SUCCESS
   Logging configuration has been moved to new 
section..............................SUCCESS
   Removal of Mesos 
Executor........................................................SUCCESS
   No additional argument allowed in 
BaseOperator...................................SUCCESS
   SendGrid email uses old airflow.contrib 
module...................................SUCCESS
   Check Spark JDBC Operator default connection 
name................................SUCCESS
   Changes in import path of remote task 
handlers...................................SUCCESS
   Connection.conn_id is not 
unique.................................................SUCCESS
   Use CustomSQLAInterface instead of SQLAInterface for custom data 
models..........SUCCESS
   Found 0 problems.
   
   Not found any problems. World is beautiful.
   You can safely update Airflow to the new version.
   
   (ve)$ echo $?
   1
   ```
   
   
   **Anything else we need to know**:
   
   <!--
   
   How often does this problem occur? Once? Every time etc?
   
   Any relevant logs to include? Put them here in side a detail tag:
   <details><summary>x.log</summary> lots of stuff </details>
   
   -->
   


----------------------------------------------------------------
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:
[email protected]


Reply via email to