influxdata / influxdata/ui

Tasks never running

Open
#2,081 1 comment 0 reactions 0 assignees View on GitHub
kind/bug team/edge team/ui
Dominant language
TypeScript
Stars
117
Forks
51
Avg merge
2d 15h
Merged PRs (30d)
4

Description

**Steps to reproduce:**
List the minimal actions needed to reproduce the behavior.

1. Create a task
2. Save it
3. Click on gear icon > view task runs
4. Click view logs

**Expected behavior:**
Task is scheduled, starts and runs. Gives meaningful feedback in logs.

**Actual behavior:**
Task is scheduled, but never starts or runs. Attempting to view the logs shows an error page with "An InfluxDB error has occurred. Please report the issue here."

**Environment info:**

- System info: Linux 5.8.0-55-generic x86_64
- InfluxDB version: InfluxDB 2.0.7 (Server: 2a45f0c, Frontend: 217d8c0)
- Other relevant environment details: Running on kubernetes cluster.

The same tasks run as expected a previously used older version:
- InfluxDB version: InfluxDB 2.0.4 (git: 4e7a59bb9a)

**Logs:**
Attempting to access logs through postman with `api/v2/tasks/07dbe8e129768000/logs` returns
`{"events": null }`
Attempting to access runs through postman with `api/v2/tasks/07dbe8e129768000/runs` returns
```
{
"links": {
"self": "/api/v2/tasks/07dbe8e129768000/runs",
"task": "/api/v2/tasks/07dbe8e129768000"
},
"runs": [
{
"links": {
"logs": "/api/v2/tasks/07dbe8e129768000/runs/07dbffa384368000/logs",
"retry": "/api/v2/tasks/07dbe8e129768000/runs/07dbffa384368000/retry",
"self": "/api/v2/tasks/07dbe8e129768000/runs/07dbffa384368000",
"task": "/api/v2/tasks/07dbe8e129768000"
},
"id": "07dbffa384368000",
"taskID": "07dbe8e129768000",
"status": "scheduled",
"scheduledFor": "2021-07-19T17:29:00Z"
},
...
}
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.