Hide Forgot
Description of problem: At present , if the snapshot creation failed by a snapshot scheduler is not logged in snapshot_scheduler.log or any other logs, Making it difficult for the users to debug snapshot scheduler related issues. Only the snapshot schedule creation related errors are logged, it is not logging the success/failure of the snapshot creation per schedules. In case snapshot scheduler fails to create a snapshot, it should log the reason behind the failure of snapshot creation for debugging the issue. Version-Release number of selected component (if applicable): Red Hat Gluster Storage 3.1.1 How reproducible: Always Steps to Reproduce: 1. Create a snapshot schedule. 2. Simulate some failure conditions of snapshot schedule , like Making the shared storage unavailable on the nodes , or communication issue between the nodes ...etc 3. Snapshot creation by schedule will fail , but no logs are generated related failure. Actual results: Not logging snapshot creation failure per schedule. Expected results: If the snapshot scheduler fails to create snapshots as per a schedule , it must be logged. Additional info:
There is no central log for snapshot scheduler. If the scheduler has been initialised on more than one node, any node can pick up the job. In case we log the outcome of the job success/failure, it will be logged in the node that picked up that job at that instance. Next time some other node can pick up the same job and that node's log might contain the outcome. The point being for the same job, everytime it's executed the outcome might be present in different logs, which doesn't make anyone's life easier. Moreover with eventing coming in, for every snapshot action, and it's consecutive result an event will be generated. With the above is this RFE still needed?
There was a discussion for a centralized logging, if that happens we can take this RFE
Makes sense to make it a blocker on centralized logging for now. Considering the centralize logging feature would come in soon (say 6 more months) compared to the time bug already waited, its better to combine this effort with it.
Bipin, We are not enhancing snapshot scheduler for 3.x series. This RFE will be considered when we fix https://github.com/gluster/glusterd2/issues/1098. With that note Can I close the bug with WONT_FIX