Re: [Gluster-devel] Fwd: Fwd: Bug#751888: glusterfs-server: creating symlinks generates errors

2014-06-20 Thread Matteo Checcucci


On 06/20/2014 03:05 PM, Ravishankar N wrote:

On 06/20/2014 06:26 PM, Matteo Checcucci wrote:

Control: forwarded -1 https://bugzilla.redhat.com/show_bug.cgi?id=454

On 06/20/2014 07:44 AM, Ravishankar N wrote:

[...]


Yes, just sent a patch for review on  master
:http://review.gluster.org/#/c/8135/
Once it gets accepted, will back-port it to the 3.5 branch

-Ravi



Hi Ravishankar,
thanks again.
I am looking forward to seeing it back-ported and integrated in the 
debian package.

Bye

Matteo
___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-devel


Re: [Gluster-devel] Fwd: Fwd: Bug#751888: glusterfs-server: creating symlinks generates errors

2014-06-20 Thread Matteo Checcucci

Control: forwarded -1 https://bugzilla.redhat.com/show_bug.cgi?id=454

On 06/20/2014 07:44 AM, Ravishankar N wrote:

Hi Matteo,

Thanks for the reproducer.  I've filed a bug report here:
https://bugzilla.redhat.com/show_bug.cgi?id=454
Feel free to add yourself to the CC List to get notified of the fix.


Thanks a lot,
Have you already reproduced the bug?


___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-devel


Re: [Gluster-devel] Fwd: Fwd: Bug#751888: glusterfs-server: creating symlinks generates errors

2014-06-20 Thread Ravishankar N

On 06/20/2014 06:26 PM, Matteo Checcucci wrote:

Control: forwarded -1 https://bugzilla.redhat.com/show_bug.cgi?id=454

On 06/20/2014 07:44 AM, Ravishankar N wrote:

Hi Matteo,

Thanks for the reproducer.  I've filed a bug report here:
https://bugzilla.redhat.com/show_bug.cgi?id=454
Feel free to add yourself to the CC List to get notified of the fix.


Thanks a lot,
Have you already reproduced the bug?


Yes, just sent a patch for review on  master 
:http://review.gluster.org/#/c/8135/

Once it gets accepted, will back-port it to the 3.5 branch

-Ravi
___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-devel


Re: [Gluster-devel] Fwd: Fwd: Bug#751888: glusterfs-server: creating symlinks generates errors

2014-06-19 Thread Ravishankar N

Hi Matteo,

Thanks for the reproducer.  I've filed a bug report here: 
https://bugzilla.redhat.com/show_bug.cgi?id=454

Feel free to add yourself to the CC List to get notified of the fix.

Thanks,
Ravi

On 06/19/2014 06:57 PM, Patrick Matthäi wrote:

Hello gluster list,

could you have got a look on this bug?
You can access all information on http://bugs.debian.org/751888

I am on vacation from now on for nearly three weeks so I could not take
care of it :-(


 Weitergeleitete Nachricht 
Betreff: Bug#751888: glusterfs-server: creating symlinks generates errors
Weitersenden-Datum: Wed, 18 Jun 2014 09:39:02 +
Weitersenden-Von: Matteo Checcucci 
Weitersenden-An: debian-bugs-d...@lists.debian.org
Weitersenden-CC: Patrick Matthäi 
Datum: Wed, 18 Jun 2014 10:53:12 +0200
Von: Matteo Checcucci 
Antwort an: Matteo Checcucci ,
751...@bugs.debian.org
An: 751...@bugs.debian.org

On 06/17/2014 04:14 PM, Patrick Matthäi wrote:

Am 17.06.2014 15:29, schrieb Matteo Checcucci:

ls -l, cp -a, ...).
An especially troublesome consequence is that if I


What is the output of:
strace /bin/ls -l foobar?

Anything in your server/client logs?


Hello.
Thanks for your quick reply.
I reproduced the bug on a newly created gluster volume (connection IP
over Ethernet) with gluster 3.5.0-1:

~
SERVER: host07
CLIENT: host01 , host02 , host03 , host04

root@host07:~# service glusterfs-server start
root@host07:~# gluster peer status
root@host07:~# gluster peer probe host01
root@host07:~# gluster peer probe host02
root@host07:~# gluster peer probe host03
root@host07:~# gluster peer probe host04

root@host07:~# pdsh -w 'host[01-04]' gluster peer probe host07
host01: peer probe: success.
host02: peer probe: success.
host03: peer probe: success.
host04: peer probe: success.

root@host07:~# gluster peer status
root@host07:~# gluster volume create scratch01-04 stripe 4
host01:/data/brick1 host02:/data/brick1 host03:/data/brick1
host04:/data/brick1
root@host07:~# gluster volume start scratch01-04
root@host07:~# mkdir -p /storage/scratch01-04
root@host07:~# mount -t glusterfs host07:/scratch01-04 /storage/scratch01-04

root@host01:~# mkdir -p /storage/scratch01-04
root@host01:~# mount -t glusterfs host07:/scratch01-04 /storage/scratch01-04

root@host01:/storage/scratch01-04# ls
root@host01:/storage/scratch01-04# mkdir test
root@host01:/storage/scratch01-04# cd test/
root@host01:/storage/scratch01-04/test# touch foo
root@host01:/storage/scratch01-04/test# ln -s foo my_link
root@host01:/storage/scratch01-04/test# ls -ltr
ls: cannot read symbolic link my_link: No such file or directory
total 0
-rw-r--r-- 1 root root 0 Jun 18 10:07 foo
lrwxrwxrwx 1 root root 3 Jun 18 10:08 my_link


root@host01:~# strace /bin/ls -l foo 2> output_strace_foo
root@host01:~# strace /bin/ls -l my_link 2> output_strace_my_link
~

The strace output and the logs of the server and client are attached.
I hope this is useful to pinpoint the problem.
Bye










___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-devel


___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-devel


[Gluster-devel] Fwd: Fwd: Bug#751888: glusterfs-server: creating symlinks generates errors

2014-06-19 Thread Patrick Matthäi
Hello gluster list,

could you have got a look on this bug?
You can access all information on http://bugs.debian.org/751888

I am on vacation from now on for nearly three weeks so I could not take
care of it :-(


 Weitergeleitete Nachricht 
Betreff: Bug#751888: glusterfs-server: creating symlinks generates errors
Weitersenden-Datum: Wed, 18 Jun 2014 09:39:02 +
Weitersenden-Von: Matteo Checcucci 
Weitersenden-An: debian-bugs-d...@lists.debian.org
Weitersenden-CC: Patrick Matthäi 
Datum: Wed, 18 Jun 2014 10:53:12 +0200
Von: Matteo Checcucci 
Antwort an: Matteo Checcucci ,
751...@bugs.debian.org
An: 751...@bugs.debian.org

On 06/17/2014 04:14 PM, Patrick Matthäi wrote:
>
> Am 17.06.2014 15:29, schrieb Matteo Checcucci:
>> ls -l, cp -a, ...).
>> An especially troublesome consequence is that if I
>>
>
> What is the output of:
> strace /bin/ls -l foobar?
>
> Anything in your server/client logs?
>

Hello.
Thanks for your quick reply.
I reproduced the bug on a newly created gluster volume (connection IP
over Ethernet) with gluster 3.5.0-1:

~
SERVER: host07
CLIENT: host01 , host02 , host03 , host04

root@host07:~# service glusterfs-server start
root@host07:~# gluster peer status
root@host07:~# gluster peer probe host01
root@host07:~# gluster peer probe host02
root@host07:~# gluster peer probe host03
root@host07:~# gluster peer probe host04

root@host07:~# pdsh -w 'host[01-04]' gluster peer probe host07
host01: peer probe: success.
host02: peer probe: success.
host03: peer probe: success.
host04: peer probe: success.

root@host07:~# gluster peer status
root@host07:~# gluster volume create scratch01-04 stripe 4
host01:/data/brick1 host02:/data/brick1 host03:/data/brick1
host04:/data/brick1
root@host07:~# gluster volume start scratch01-04
root@host07:~# mkdir -p /storage/scratch01-04
root@host07:~# mount -t glusterfs host07:/scratch01-04 /storage/scratch01-04

root@host01:~# mkdir -p /storage/scratch01-04
root@host01:~# mount -t glusterfs host07:/scratch01-04 /storage/scratch01-04

root@host01:/storage/scratch01-04# ls
root@host01:/storage/scratch01-04# mkdir test
root@host01:/storage/scratch01-04# cd test/
root@host01:/storage/scratch01-04/test# touch foo
root@host01:/storage/scratch01-04/test# ln -s foo my_link
root@host01:/storage/scratch01-04/test# ls -ltr
ls: cannot read symbolic link my_link: No such file or directory
total 0
-rw-r--r-- 1 root root 0 Jun 18 10:07 foo
lrwxrwxrwx 1 root root 3 Jun 18 10:08 my_link


root@host01:~# strace /bin/ls -l foo 2> output_strace_foo
root@host01:~# strace /bin/ls -l my_link 2> output_strace_my_link
~

The strace output and the logs of the server and client are attached.
I hope this is useful to pinpoint the problem.
Bye










test-gluster-3.5.0-1.tar.gz
Description: application/gzip


signature.asc
Description: OpenPGP digital signature
___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-devel