Bug 1302320
| Summary: | [georep+Tier]: File is synced to slave with permissions "-r--r-S-wT" | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Rahul Hinduja <rhinduja> |
| Component: | geo-replication | Assignee: | Mohammed Rafi KC <rkavunga> |
| Status: | CLOSED WONTFIX | QA Contact: | storage-qa-internal <storage-qa-internal> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rhgs-3.1 | CC: | atumball, avishwan, chrisw, csaba, nlevinki, rkavunga, sankarshan |
| Target Milestone: | --- | Keywords: | ZStream |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Known Issue | |
| Doc Text: |
During file promotion, the rebalance operation sets the sticky bit and suid/sgid bit. Normally, it removes these bits when the migration is complete. If readdirp is called on a file before migration completes, these bits are not removed, and remain applied on the client.
This means that, if rsync happens while the bits are applied, the bits remain applied to the file as it is synced to the destination, impairing accessibility on the destination. This can happen in any geo-replicated configuration, but the likelihood increases with tiering because the rebalance process is continuous.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-03-13 08:37:15 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: | 1268895 | ||
|
Description
Rahul Hinduja
2016-01-27 13:40:50 UTC
Minor comments, Please feel free to edit as you wish. During a file promotion , rebalance process sets sticky bit and suid/sgid bit,and strip out these bits when it hands the stat to the client. It removes these bits when it completes the migration. But, when a file is migrating and if you tried to list the file using readdirp call, we missed out the striping part and the two mentioned flags will be given to clients. As a consequence of the above mentioned problem, If rsync happens while the bits are applied, the bits remain applied to the file as it is synced to the destination, impairing accessibility on the destination. This can happen in any geo-replicated configuration, but the likelihood increases with tiering because the rebalance process is continuous. Looks good to me. |