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/23 04:09:45 UTC

[GitHub] [airflow] SamiRehmanNostra commented on issue #16202: Missing Show/Edit/Delete under Security -> Users in 2.1.0

SamiRehmanNostra commented on issue #16202:
URL: https://github.com/apache/airflow/issues/16202#issuecomment-866506425


   I just raised the exact same issue, I'll delete my issue but I'll leave the details here:
   
   **Apache Airflow version**: 2.1.
   
   **Environment**: Ubuntu 20.04
   
   - **Cloud provider or hardware configuration**: AWS
   - **OS** (e.g. from /etc/os-release): UBUNTU 20.04 LTS
   - **Kernel** (e.g. `uname -a`): Linux 20.04.1-Ubuntu SMP Tue Jun 1 09:54:15 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
   - **Install tools**: python and pip
   
   
   **What happened**: After performing the upgrade from 2.0.2 to 2.10 using the guide available in the documentation, Airflow upgraded successfully, a few things that aren't working as expected are Dag Dependency page and Admin List users function.
   The DAG dependency page doesn't show the dependency at all and the List Users function has the Create/Edit users option removed even though I have Admin role assigned to my user.  I am use LDAP as the method of authenticating.
   
   <!-- (please include exact error messages if you can) -->
   
   **What you expected to happen**: I expected the dag dependency page to show the dags and their dependency in a Graph view and didn't expect to lose control on editing users in the List Users page.
   
   <!-- What do you think went wrong? -->
   
   **How to reproduce it**: Its reproduced by opening these pages every time. After the upgrade I lost the UI button for creating and editing users.
   
   ![List Users page](https://user-images.githubusercontent.com/43160555/123028023-16b6fe00-d422-11eb-8d56-2ab3373ca784.png)
   
   ![Dag Dependency Page](https://user-images.githubusercontent.com/43160555/123028222-6eee0000-d422-11eb-9664-a8c0ee2a6723.png)
   
   
   How often does this problem occur? Once? Every time etc?
   Every time
   
   Any relevant logs to include? Put them here in side a detail tag:
   <details><summary>Upgrade Check  Log</summary> 
   
   /home/ubuntu/env_airflow/lib/python3.8/site-packages/airflow/configuration.py:34                                            
   6 DeprecationWarning: The hide_sensitive_variable_fields option in [admin] has been moved to the hide_sensitive_var_conn_fields option in [core] - the old setting has been used, but please update your config.
   /home/ubuntu/env_airflow/lib/python3.8/site-packages/airflow/configuration.py:34                                            
   6 DeprecationWarning: The default_queue option in [celery] has been moved to the default_queue option in [operators] - the old setting has been used, but please update your config.
   /home/ubuntu/env_airflow/lib/python3.8/site-packages/airflow/plugins_manager.py:                                            
   239 DeprecationWarning: This decorator is deprecated.In previous versions, all subclasses of BaseOperator must use apply_default decorator for the`default_args` feature to work properly.
   In current version, it is optional. The decorator is applied automatically using the metaclass.
   /home/ubuntu/env_airflow/lib/python3.8/site-packages/airflow/configuration.py:34                                           
   6 DeprecationWarning: The default_queue option in [celery] has been moved to the default_queue option in [operators] - the old setting has been used, but please update your config.
   
    </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:
users@infra.apache.org