Hide Forgot
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
sosreports at : http://rhsqe-repo.lab.eng.blr.redhat.com/bugs_necessary_info/1020212/
Cloning to 3.1. To be fixed in future release.