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 2021/06/09 16:49:45 UTC

[GitHub] [airflow] HashSalmon opened a new issue #16354: Airflow 2.0.2 export and import variables from CLI has an issue

HashSalmon opened a new issue #16354:
URL: https://github.com/apache/airflow/issues/16354


   **Apache Airflow version**: Airflow 2.0.2
   
   
   **Environment**:
   
   - **Cloud provider or hardware configuration**: AWS
   - **OS** (e.g. from /etc/os-release): Linux
   - **Kernel** (e.g. `uname -a`): 3.10.0-1062.12.1.el7.x86_64
   - **Install tools**: rh-python36
   - **Others**:
   
   **What happened**:
   
   After exporting the variables into a json file by running `airflow variables export /some_path/var.json`, when I import the variables from CLI by running `airflow variables import  /some_path/var.json`. All of the variables will be messed up when you check them on the UI page. However, if you import the variables from airflow webUI, it works fine.
   
   **What you expected to happen**:
   
   The airflow variables export CLI should work properly.
   
   **How to reproduce it**:
   - Create some variables in your airflow env.
   - Run `airflow variables export /some_path/var.json` to export the vars.
   - Delete all of the variables or run `airflow db reset`
   - Run `airflow variables import  /some_path/var.json`
   - Check the new imported variables, the values of the variables are wrong.
   - Go do the web UI -> click Admin -> click Variables -> choose files -> choose the var.json -> click import variables.
   - All of the vars shows correctly with correct values.
   
   **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] github-actions[bot] commented on issue #16354: Airflow 2.0.2 export and import variables from CLI has an issue

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #16354:
URL: https://github.com/apache/airflow/issues/16354#issuecomment-894878188


   This issue has been closed because it has not received response from the issue author.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] github-actions[bot] commented on issue #16354: Airflow 2.0.2 export and import variables from CLI has an issue

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #16354:
URL: https://github.com/apache/airflow/issues/16354#issuecomment-890419433


   This issue has been automatically marked as stale because it has been open for 30 days with no response from the author. It will be closed in next 7 days if no further activity occurs from the issue author.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] potiuk commented on issue #16354: Airflow 2.0.2 export and import variables from CLI has an issue

Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #16354:
URL: https://github.com/apache/airflow/issues/16354#issuecomment-860242516


   Could you please provide examples of "wrong" ? just few examples of variables that you got messed up and how.


-- 
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] github-actions[bot] closed issue #16354: Airflow 2.0.2 export and import variables from CLI has an issue

Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #16354:
URL: https://github.com/apache/airflow/issues/16354


   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org