Bug 1764183 - [GSS] geo-rep entering into faulty state with OSError: [Errno 13] Permission denied
Summary: [GSS] geo-rep entering into faulty state with OSError: [Errno 13] Permission ...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: geo-replication
Version: 6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kotresh HR
QA Contact:
URL:
Whiteboard:
Depends On: 1762127 1763439
Blocks: 1764030
TreeView+ depends on / blocked
 
Reported: 2019-10-22 12:36 UTC by Kotresh HR
Modified: 2019-10-24 15:15 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1763439
Environment:
Last Closed: 2019-10-24 15:15:56 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gluster.org Gerrit 23598 0 None Merged geo-rep: Fix Permission denied traceback on non root setup 2019-10-24 15:15:55 UTC

Description Kotresh HR 2019-10-22 12:36:34 UTC
+++ This bug was initially created as a clone of Bug #1763439 +++

+++ This bug was initially created as a clone of Bug #1762127 +++

Issue description:


Customer have a secured geo-replication setup, and am encountering the following issue:


[2019-10-13 17:17:32.126867] I [master(/opt/gluster/siteh4/brick2):1407:process] _GMaster: Batch Completed      changelog_end=1570949937        entry_stime=(1570950011, 0)     changelog_start=1570949937    stime=(1570949936, 0)    duration=0.0858 num_changelogs=1        mode=history_changelog
[2019-10-13 17:17:32.133430] I [master(/opt/gluster/siteh4/brick2):1550:crawl] _GMaster: slave's time   stime=(1570949936, 0)
[2019-10-13 17:17:32.309490] E [repce(/opt/gluster/siteh4/brick2):209:__call__] RepceClient: call failed        call=9419:140374089455424:1570987052.15 method=entry_ops        error=OSError
[2019-10-13 17:17:32.309892] E [syncdutils(/opt/gluster/siteh4/brick2):355:log_raise_exception] <top>: FAIL:
Traceback (most recent call last):
  File "/usr/libexec/glusterfs/python/syncdaemon/gsyncd.py", line 210, in main
    main_i()
  File "/usr/libexec/glusterfs/python/syncdaemon/gsyncd.py", line 805, in main_i
    local.service_loop(*[r for r in [remote] if r])
  File "/usr/libexec/glusterfs/python/syncdaemon/resource.py", line 1592, in service_loop
    g3.crawlwrap(oneshot=True)
  File "/usr/libexec/glusterfs/python/syncdaemon/master.py", line 597, in crawlwrap
    self.crawl()
  File "/usr/libexec/glusterfs/python/syncdaemon/master.py", line 1559, in crawl
    self.changelogs_batch_process(changes)
  File "/usr/libexec/glusterfs/python/syncdaemon/master.py", line 1459, in changelogs_batch_process
    self.process(batch)
  File "/usr/libexec/glusterfs/python/syncdaemon/master.py", line 1293, in process
    self.process_change(change, done, retry)
  File "/usr/libexec/glusterfs/python/syncdaemon/master.py", line 1189, in process_change
    failures = self.slave.server.entry_ops(entries)
  File "/usr/libexec/glusterfs/python/syncdaemon/repce.py", line 228, in __call__
    return self.ins(self.meth, *a)
  File "/usr/libexec/glusterfs/python/syncdaemon/repce.py", line 210, in __call__
    raise res
OSError: [Errno 13] Permission denied: '/opt/gluster/siteh4/brick2/.glusterfs/7d/eb/7deb5f05-b8a4-4d5e-92de-b979c0d17960'
[2019-10-13 17:17:32.329540] I [syncdutils(/opt/gluster/siteh4/brick2):295:finalize] <top>: exiting.
[2019-10-13 17:17:32.334484] I [repce(/opt/gluster/siteh4/brick2):92:service_loop] RepceServer: terminating on reaching EOF.
[2019-10-13 17:17:32.334897] I [syncdutils(/opt/gluster/siteh4/brick2):295:finalize] <top>: exiting.

--- Additional comment from Worker Ant on 2019-10-19 20:08:09 UTC ---

REVIEW: https://review.gluster.org/23570 (geo-rep: Fix Permission denied traceback on non root setup) posted (#1) for review on master by Kotresh HR

--- Additional comment from Worker Ant on 2019-10-21 16:31:07 UTC ---

REVIEW: https://review.gluster.org/23570 (geo-rep: Fix Permission denied traceback on non root setup) merged (#3) on master by Kotresh HR

Comment 1 Worker Ant 2019-10-22 13:00:05 UTC
REVIEW: https://review.gluster.org/23598 (geo-rep: Fix Permission denied traceback on non root setup) posted (#1) for review on release-6 by Kotresh HR

Comment 2 Worker Ant 2019-10-24 15:15:56 UTC
REVIEW: https://review.gluster.org/23598 (geo-rep: Fix Permission denied traceback on non root setup) merged (#2) on release-6 by Sunny Kumar


Note You need to log in before you can comment on or make changes to this bug.