Log a notification about long-running operations #4839
Labels
component/util
Utility functions shared between CephFS and RBD
enhancement
New feature or request
logging
The Change is only in logging
Describe the feature you'd like to have
Currently, the only way to know that an operation is still in progress is to get an ABORTED error saying that "an operation with the given Volume ID already exists". If the controller responsible for retrying eventually gives up, the admins don't have an easy way of checking the operation is still in progress. So, the driver should log a notification about long running grpc calls.
What is the value to the end user? (why is it a priority?)
Operations that are stuck for a long time are being reminded about, making troubleshooting easier.
How will we know we have a good solution? (acceptance criteria)
Try to create a PVC against a non-responsive/unreachable mon and see repeated messages about a slow-running operation.
Additional context
I'm working on a PR.
The text was updated successfully, but these errors were encountered: