Skip to content

Airflow DAGs On/Off toggle button not working properly with RBAC=True mode #8599

@ytiam

Description

@ytiam

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

The button I am talking about is on the left side of the DAG name.

Please help anyone

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind:bugThis is a clearly a bug

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions