-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resurface CassandraTask error messages in the Failed condition #612
Comments
That information should be there, if there is a message to be set. |
I'm seeing cases where the task fails with an NPE reported in the cass-operator logs but no message in the Failed condition. |
Here's a sample status from a failed CassandraTask:
And here's the error in the cass-operator logs:
|
Only way to return a message in this case is to stop the task execution also when a non-retry event happens. What happens here is that we might get that error on the first pod, but currently we then move on to the next pod to try the same task again - so writing that error message from the first pod didn't make sense. |
What is missing?
When a CassandraTask fails, we don't have any information in the CassandraTask status to make it easier to understand the core issue. This then requires to go through the cass-operator logs in search of the error message.
We'd need to update the
Failed
conditionMessage
field with the error.Why is this needed?
This would make investigation a lot easier without requiring to go through logs.
The text was updated successfully, but these errors were encountered: