Bug 1020212
| Summary: | Add Brick : "Permission denied error" for few files while file creation as non root user | |||
|---|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | senaik | |
| Component: | glusterfs | Assignee: | Bug Updates Notification Mailing List <rhs-bugs> | |
| Status: | CLOSED DEFERRED | QA Contact: | storage-qa-internal <storage-qa-internal> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 2.1 | CC: | nbalacha, spalai, vbellur | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | dht-add-brick | |||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1286078 (view as bug list) | Environment: | ||
| Last Closed: | 2015-11-27 10:36:44 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: | 1286078 | |||
Cloning to 3.1. To be fixed in future release. |
Description of problem: ======================= After Add Brick , while creating files , few files give "Permission denied" error (as non root user) Version-Release number of selected component (if applicable): ============================================================ How reproducible: ================== Reproduced the issue twice till now Steps to Reproduce: =================== 1.Create a 2x2 dist-replicate volume and start it 2.Mount the volume and give permissions mkdir /mnt/sampl/ mount -t glusterfs 10.70.34.85:/sample /mnt/sampl/ chmod 777 /mnt/sampl/ 3.Add 2 more bricks to the volume 4.As non root user (ABC)create some files on the mount point . Few files give "permission denied" error [ABC@dhcp-0-180 sampl]$ for i in {1..150} ; do dd if=/dev/urandom of=z"$i" bs=10M count=1; done dd: opening `z1': Permission denied 1+0 records in 1+0 records out 10485760 bytes (10 MB) copied, 1.16157 s, 9.0 MB/s 1+0 records in 1+0 records out 10485760 bytes (10 MB) copied, 1.1455 s, 9.2 MB/s dd: opening `z4': Permission denied 1+0 records in 1+0 records out 10485760 bytes (10 MB) copied, 1.14959 s, 9.1 MB/s 1+0 records in 1+0 records out 10485760 bytes (10 MB) copied, 1.16159 s, 9.0 MB/s 1+0 records in 1+0 records out 10485760 bytes (10 MB) copied, 1.16912 s, 9.0 MB/s dd: opening `z8': Permission denied Actual results: =============== Few files giving "permission denied" error after add brick Expected results: ================ Permissions must be retained after add brick and file creation must be successful. Additional info: =============== [root@boost ~]# gluster v i sample Volume Name: sample Type: Distributed-Replicate Volume ID: e581bc57-2079-4fce-bf08-e67cea0d484e Status: Started Number of Bricks: 3 x 2 = 6 Transport-type: tcp Bricks: Brick1: 10.70.34.86:/rhs/brick1/qw1 Brick2: 10.70.34.85:/rhs/brick1/qw2 Brick3: 10.70.34.88:/rhs/brick1/qw3 Brick4: 10.70.34.89:/rhs/brick1/qw4 Brick5: 10.70.34.89:/rhs/brick1/qw5 Brick6: 10.70.34.86:/rhs/brick1/qw6