scylladb / scylla-operator

The Kubernetes Operator for ScyllaDB
https://operator.docs.scylladb.com/
Apache License 2.0
330 stars 163 forks source link

Repair and Backup tasks have no status #272

Open dkropachev opened 3 years ago

dkropachev commented 3 years ago

Describe the bug I submitted the task and can't get whether it is scheduled, running, done or failed. We need to have a status field that will reflect following states:

  1. Not scheduled - when task can't be scheduled due to the wrong configuration
  2. Scheduled - scheduled, but have not been ran yet
  3. Running - is currently running
  4. Success - Completed successfully
  5. Failed - Failed on last run

Error field to be populated in both cases: 'Not scheduled' and 'Failed'

To Reproduce Steps to reproduce the behavior:

  1. Deploy scylla operator, scylla manager and scylla
  2. kubectl patch scyllacluster simple-cluster -n scylla --type='json' "[{"op": "replace","path": '/spec/repairs',"value": [{'name': 'tmprepair1','dc': ['dc'],'keyspace': ['*']}]}]"
  3. kubectl get scyllacluster simple-cluster -n scylla -o yaml
  4. kubectl patch scyllacluster simple-cluster -n scylla --type='json' "[{"op": "replace","path": '/spec/repairs',"value": [{'name': 'tmprepair1','keyspace': ['*']}]}]"
  5. kubectl get scyllacluster simple-cluster -n scylla -o yaml etc..
tzach commented 3 years ago

Is this a manager or operator issue?

dkropachev commented 3 years ago

Is this a manager or operator issue?

Operator

scylla-operator-bot[bot] commented 1 month ago

The Scylla Operator project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

/lifecycle stale

scylla-operator-bot[bot] commented 2 weeks ago

The Scylla Operator project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

/lifecycle rotten