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/04/28 06:29:37 UTC

[GitHub] [airflow] ytiam opened a new issue #8599: Airflow DAGs On/Off toggle button not working properly with RBAC=True mode

ytiam opened a new issue #8599:
URL: https://github.com/apache/airflow/issues/8599


   I am using an AWS ec2 instance and installed apache-airflow there. Following steps, I am doing in that instance,
    1) After initiating airflow with 'airflow initdb', I created a user with **Admin** role using 'airflow create_user' option and  in airflow.cfg changed rbac = True. 
   2) Again ran 'airflow initdb' and 'airflow webserver'. It initiated the webserver.
   3) In another tab,  run 'airflow scheduler'
   4) Then using port-forwarding to port forward the 8080 port from the ec2 instance to my local machine
   5) In my local browser, I am just opening localhost:8080/
   6) On Airflow login page, putting credentials of the Admin user, I logged in into Airflow
   7) After toggling ON a dag from UI, when I am refreshing the page or clicking on some other option, the DAG toggling button is automatically turning OFF. and hence I am not able to run any DAG
   
   
   ![image](https://user-images.githubusercontent.com/13828878/80454358-8bd69280-8947-11ea-9fbf-e63b20e09d9b.png)
   
   The button I am talking about is on the left side of the DAG name.
   
   Please help anyone 


----------------------------------------------------------------
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] ryw edited a comment on issue #8599: Airflow DAGs On/Off toggle button not working properly with RBAC=True mode

Posted by GitBox <gi...@apache.org>.
ryw edited a comment on issue #8599:
URL: https://github.com/apache/airflow/issues/8599#issuecomment-620715329


   @ryanahamilton want to look at this? (fixing the jquery 3.5 issue)


----------------------------------------------------------------
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] ytiam commented on issue #8599: Airflow DAGs On/Off toggle button not working properly with RBAC=True mode

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


   No Clue I am getting, whats the issue exactly happening behind
   
   


----------------------------------------------------------------
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] Adam-Leyshon edited a comment on issue #8599: Airflow DAGs On/Off toggle button not working properly with RBAC=True mode

Posted by GitBox <gi...@apache.org>.
Adam-Leyshon edited a comment on issue #8599:
URL: https://github.com/apache/airflow/issues/8599#issuecomment-620496697


   This is caused by the latest release of Flask-AppBuilder 2.3.3 which updated jQuery to 3.5
   Downgrading to FAB 2.3.2 solved it for us.
   
   If you look in the developer console, Many errors are raised when visiting the DAG list or a DAG itself.


----------------------------------------------------------------
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] ryw edited a comment on issue #8599: Airflow DAGs On/Off toggle button not working properly with RBAC=True mode

Posted by GitBox <gi...@apache.org>.
ryw edited a comment on issue #8599:
URL: https://github.com/apache/airflow/issues/8599#issuecomment-620715329






----------------------------------------------------------------
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] pradige commented on issue #8599: Airflow DAGs On/Off toggle button not working properly with RBAC=True mode

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


   @Adam-Leyshon 
   thank you . it also work for me ^^


----------------------------------------------------------------
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] ytiam commented on issue #8599: Airflow DAGs On/Off toggle button not working properly with RBAC=True mode

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


   Voila...:D Downgrading to FAB 2.3.2, worked. Thanks a lot @Adam-Leyshon 


----------------------------------------------------------------
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] ryw commented on issue #8599: Airflow DAGs On/Off toggle button not working properly with RBAC=True mode

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


   @ryanahamilton want to look at this?


----------------------------------------------------------------
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] pradige commented on issue #8599: Airflow DAGs On/Off toggle button not working properly with RBAC=True mode

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


   I'm on the same with u 
   maybe y can see response
   <title>400 Bad Request</title>
   <h1>Bad Request</h1>
   <p>The CSRF token is missing.</p>
   
   i'm trying to figure it out but nothing to do right now 


----------------------------------------------------------------
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] ytiam edited a comment on issue #8599: Airflow DAGs On/Off toggle button not working properly with RBAC=True mode

Posted by GitBox <gi...@apache.org>.
ytiam edited a comment on issue #8599:
URL: https://github.com/apache/airflow/issues/8599#issuecomment-620506514


   Voila...!!  Downgrading to FAB 2.3.2, worked. Thanks a lot @Adam-Leyshon 


----------------------------------------------------------------
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] ytiam commented on issue #8599: Airflow DAGs On/Off toggle button not working properly with RBAC=True mode

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


   The following issue looks similar to ours:
   https://issues.apache.org/jira/browse/AIRFLOW-2866


----------------------------------------------------------------
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] Adam-Leyshon commented on issue #8599: Airflow DAGs On/Off toggle button not working properly with RBAC=True mode

Posted by GitBox <gi...@apache.org>.
Adam-Leyshon commented on issue #8599:
URL: https://github.com/apache/airflow/issues/8599#issuecomment-620496697


   This is caused by the latest release of Flask-AppBuilder 2.3.3 which updated jQuery to 3.5
   Downgrading to FAB 2.3.2 solved it for us.


----------------------------------------------------------------
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] ryw edited a comment on issue #8599: Airflow DAGs On/Off toggle button not working properly with RBAC=True mode

Posted by GitBox <gi...@apache.org>.
ryw edited a comment on issue #8599:
URL: https://github.com/apache/airflow/issues/8599#issuecomment-620715329


   @ryanahamilton want to look at this? (fixing the jquery 3.5 issue). we do want jquery 3.5 in Airflow to clear CVE.


----------------------------------------------------------------
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] boring-cyborg[bot] commented on issue #8599: Airflow DAGs On/Off toggle button not working properly with RBAC=True mode

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #8599:
URL: https://github.com/apache/airflow/issues/8599#issuecomment-620407902


   Thanks for opening your first issue here! Be sure to follow the issue template!
   


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