| Summary: | sanitize gsyncd logs | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Csaba Henk <csaba> |
| Component: | geo-replication | Assignee: | Csaba Henk <csaba> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | mainline | CC: | gluster-bugs, lakshmipathi, me, vikas |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | RTNR | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Csaba Henk
2011-04-15 16:37:01 UTC
*** Bug 2920 has been marked as a duplicate of this bug. *** Also, detect two common cases: 1) SSH key not valid / not present. Currently this shows up as an uncaught EOFError. 2) SSH connection broken in the middle. Currently this shows up as an uncaught pickling error. (In reply to comment #2) > Also, detect two common cases: > > 1) SSH key not valid / not present. Currently this shows up as an uncaught > EOFError. > > 2) SSH connection broken in the middle. Currently this shows up as an uncaught > pickling error. Vikas, I'm afraid this information cannot really be used for improving logs, because you can't imply back from EOFError to an ssh key issue. (They still might be useful for narrowing down the spectrum on debugging.)
> Vikas, I'm afraid this information cannot really be used for improving logs,
> because you can't imply back from EOFError to an ssh key issue. (They still
> might be useful for narrowing down the spectrum on debugging.)
I know EOFError does not imply missing ssh key. However, not having the ssh key present is one of the most common error scenarios, and it needs to be somehow identified and reported in the logs.
CHANGE: http://review.gluster.com/80 (Change-Id: I19f6cf539289062b39e3c0f73fa88f4ff9488349) merged in master by Anand Avati (avati) CHANGE: http://review.gluster.com/82 (Change-Id: Iedd8c0ce9dec2d8dcb01e0e5b409cb53185b1716) merged in master by Anand Avati (avati) CHANGE: http://review.gluster.com/83 (Change-Id: I4317e60fce3280c45dbcc4a5f233a4344aba9500) merged in master by Anand Avati (avati) CHANGE: http://review.gluster.com/81 (Change-Id: I5c5211858bdb2bd28324818362d95edd97f94207) merged in master by Anand Avati (avati) CHANGE: http://review.gluster.com/125 (- exceptions raised by us will be logged as single-line error messages) merged in master by Anand Avati (avati) CHANGE: http://review.gluster.com/3113 (geo-rep / gsyncd: log sync failures as warnings) merged in master by Vijay Bellur (vijay) CHANGE: http://review.gluster.com/3078 (geo-rep / gsyncd: recognize ECONNABORTED as termination of aux glusterfs) merged in master by Vijay Bellur (vijay) |