Description of problem:
Right now there is no mechanism that records the requests and responses that the gluster-block daemon receives. And therefore, it becomes difficult to troubleshoot the bugs.
Develop a feature that will record the response status and the requests received by gluster-block daemon for the operations Create/Delete/Modify. The logs will record the request, response status(success/failure) and the response string received from the servers.
The logging format is:
In case of success:
[time] : command string at CLI: SUCCESS: Response string
In case of failure:
[time] : command string at CLI: FAILURE: Response string
Design discussion link:
Updated the changes.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.