Bug 1340756
Summary: | [geo-rep]: AttributeError: 'Popen' object has no attribute 'elines' | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Rahul Hinduja <rhinduja> | |
Component: | geo-replication | Assignee: | Aravinda VK <avishwan> | |
Status: | CLOSED ERRATA | QA Contact: | Rahul Hinduja <rhinduja> | |
Severity: | high | Docs Contact: | ||
Priority: | unspecified | |||
Version: | rhgs-3.1 | CC: | amukherj, asrivast, avishwan, csaba, hamiller, khiremat, olim, rabhat, rcyriac, rhinduja | |
Target Milestone: | --- | Keywords: | ZStream | |
Target Release: | RHGS 3.2.0 | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | glusterfs-3.8.4-1 | Doc Type: | Bug Fix | |
Doc Text: |
Previously, when the rsync command failed with an error, geo-replication attempted to retrieve the error status after the child rsync process was already closed. This caused geo-replication to fail with an elines error. The elines attribute in the error object is now initialized correctly so that this failure does not occur.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1372193 (view as bug list) | Environment: | ||
Last Closed: | 2017-03-23 05:33:35 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1351522, 1351530, 1372193, 1374595, 1374596, 1374597 |
Description
Rahul Hinduja
2016-05-30 08:57:18 UTC
I am receiving the same error [2016-07-13 19:25:52.16657] I [master(/srv/gluster):1192:crawl] _GMaster: slave's time: (1468363119, 0) [2016-07-13 19:25:52.583666] E [syncdutils(/srv/gluster):276:log_raise_exception] <top>: FAIL: Traceback (most recent call last): File "/usr/lib/x86_64-linux-gnu/glusterfs/python/syncdaemon/syncdutils.py", line 306, in twrap tf(*aa) File "/usr/lib/x86_64-linux-gnu/glusterfs/python/syncdaemon/master.py", line 1575, in syncjob po.errfail() File "/usr/lib/x86_64-linux-gnu/glusterfs/python/syncdaemon/resource.py", line 242, in errfail self.errlog() File "/usr/lib/x86_64-linux-gnu/glusterfs/python/syncdaemon/resource.py", line 223, in errlog if self.elines: AttributeError: 'Popen' object has no attribute 'elines' [2016-07-13 19:25:52.585411] I [syncdutils(/srv/gluster):220:finalize] <top>: exiting. [2016-07-13 19:25:52.588901] I [repce(agent):92:service_loop] RepceServer: terminating on reaching EOF. [2016-07-13 19:25:52.589368] I [syncdutils(agent):220:finalize] <top>: exiting. [2016-07-13 19:25:52.928951] I [monitor(monitor):343:monitor] Monitor: worker(/srv/gluster) died in startup phase geo-replication status is Faulty and it appears as if the gsyncd.py process is unable to start on the slave server. gluster-server 3.7.11-1~bpo8+1 on Debian 8. The error I was receiving was due to rsync not being installed on the slave server. Upstream patch sent for review http://review.gluster.org/#/c/15379/ Upstream mainline : http://review.gluster.org/15379 Upstream 3.8 : http://review.gluster.org/15447 downstream patch : https://code.engineering.redhat.com/gerrit/#/c/85005 (In reply to Atin Mukherjee from comment #8) > Upstream mainline : http://review.gluster.org/15379 > Upstream 3.8 : http://review.gluster.org/15447 > downstream patch : https://code.engineering.redhat.com/gerrit/#/c/85005 Correction, downstream patch link is https://code.engineering.redhat.com/gerrit/#/c/85007 Approving the accelerated fix. Please note that the fix has to be in 3.2 to avoid regression. 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. https://rhn.redhat.com/errata/RHSA-2017-0486.html |