Uploaded image for project: 'Apache Airflow'
  1. Apache Airflow
  2. AIRFLOW-4015

GET dag_runs endpoint of experimental API only in RBAC UI

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.10.2
    • Fix Version/s: 1.10.3
    • Component/s: api, documentation
    • Labels:
      None

      Description

      when i try to get dag_runs over experimental api ( dags/<DAG_ID>/dag_runs ) it throws 405 response:

      http://airflow01.cluster.prod:8080/api/experimental/dags/analytics_prod/dag_runs

      curl http://airflow01.betlab.prod:8080/api/experimental/dags/analytics_prod/dag_runs -vvvvv
      *   Trying 192.168.48.163...
      * TCP_NODELAY set
      * Connected to airflow01.betlab.prod (192.168.48.163) port 8080 (#0)
      > GET /api/experimental/dags/analytics_prod/dag_runs HTTP/1.1
      > Host: airflow01.betlab.prod:8080
      > User-Agent: curl/7.55.1
      > Accept: */*
      >
      < HTTP/1.1 405 METHOD NOT ALLOWED
      < Server: gunicorn/19.9.0
      < Date: Tue, 05 Mar 2019 12:33:15 GMT
      < Connection: close
      < Content-Type: text/html
      < Allow: POST, OPTIONS
      < Content-Length: 178
      <
      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
      <title>405 Method Not Allowed</title>
      <h1>Method Not Allowed</h1>
      <p>The method is not allowed for the requested URL.</p>
      * Closing connection 0
      

      Howewer, other ones works perfectly

      • GET: pools
      • GET: dags/<DAG_ID>/tasks/<TASK_ID>
      • POST: dags/<DAG_ID>/dag_runs
      • GET: test
      • GET: latest_runs

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ash Ash Berlin-Taylor
                Reporter:
                kotyara Dmytro Kulyk
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: