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

2014-07-07 Thread Patrick Matthäi

thanks :)

Am 02.07.2014 17:01, schrieb Thomas Goirand:

Hi,

I'm uploading a bugfix version in Debian with the patch available from
here: http://review.gluster.org/#/c/8153/

I would usually do this kind of NMU using the delayed queue, but since
Patrick Matthäi wrote he's on vacation, I don't see the point in
delaying more. My upload is by the way very minimalistic, and only
including the upstream patch. I wont send a debdiff, since that's really
only the stripe.c patch added to the package (I'm not adding the new
tests, I'll leave this work/decision to the maintainers of glusterfs).

I hope this helps.

Cheers,

Thomas Goirand (zigo)


--
/*
Mit freundlichem Gruß / With kind regards,
 Patrick Matthäi
 GNU/Linux Debian Developer

  Blog: http://www.linux-dev.org/
E-Mail: pmatth...@debian.org
patr...@linux-dev.org
*/


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



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

2014-07-02 Thread Thomas Goirand
Hi,

I'm uploading a bugfix version in Debian with the patch available from
here: http://review.gluster.org/#/c/8153/

I would usually do this kind of NMU using the delayed queue, but since
Patrick Matthäi wrote he's on vacation, I don't see the point in
delaying more. My upload is by the way very minimalistic, and only
including the upstream patch. I wont send a debdiff, since that's really
only the stripe.c patch added to the package (I'm not adding the new
tests, I'll leave this work/decision to the maintainers of glusterfs).

I hope this helps.

Cheers,

Thomas Goirand (zigo)


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



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

2014-06-25 Thread Justin Clift
On 20/06/2014, at 2:32 PM, Matteo Checcucci wrote:
> On 06/20/2014 03:05 PM, 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
> I am looking forward to seeing it back-ported and integrated in the debian 
> package.

Btw, the backport of this was merged into the release-3.5 branch
yesterday.  It'll be in GlusterFS 3.5.2.

Hope that helps. :)

Regards and best wishes,

Justin Clift

--
GlusterFS - http://www.gluster.org

An open source, distributed file system scaling to several
petabytes, and handling thousands of clients.

My personal twitter: twitter.com/realjustinclift


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#751888: [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


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#751888: [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


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#751888: [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?


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#751888: [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-dist@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-de...@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-devel




Bug#751888: 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-dist@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


Bug#751888: 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-dist@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


Bug#751888: glusterfs-server: creating symlinks generates errors

2014-06-18 Thread Matteo Checcucci

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


Bug#751888: glusterfs-server: creating symlinks generates errors

2014-06-17 Thread Patrick Matthäi


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?

--
/*
Mit freundlichem Gruß / With kind regards,
 Patrick Matthäi
 GNU/Linux Debian Developer

  Blog: http://www.linux-dev.org/
E-Mail: pmatth...@debian.org
patr...@linux-dev.org
*/


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#751888: glusterfs-server: creating symlinks generates errors

2014-06-17 Thread Matteo Checcucci

Package: glusterfs-server
Version: 3.5.0-1
Severity: grave
Justification: causes non-serious data loss

Dear Maintainer,
after upgrading to version 3.5.0-1 and rebooting the systems, I found
out that creating symlinks on a glusterfs partition generates errors.

I have glusterfs partitions (type: stripe, connection: IP over
InfiniBand) built with bricks on host1, host2, host3, ... and mounted on
master, host1, host2, host3, ...

For instance:

Volume Name: scratch1-8
Type: Stripe
Volume ID: 85c89403-0fc5-43cf-8fde-a8fa2322e6e6
Status: Started
Number of Bricks: 1 x 8 = 8
Transport-type: tcp
Bricks:
Brick1: host1:/data/brick1
Brick2: host2:/data/brick1
Brick3: host3:/data/brick1
Brick4: host4:/data/brick1
Brick5: host5:/data/brick1
Brick6: host6:/data/brick1
Brick7: host7:/data/brick1
Brick8: host8:/data/brick1


If I create a symlink inside one glusterfs partition from master
like this:

  $ cd /storage/scratch1-8/directory
  $ touch foo
  $ ln -s foo my_link

then, my_link may be correctly followed with some commands (such as
cat, readlink, ...), but generates errors with other commands (such as
ls -l, cp -a, ...).
An especially troublesome consequence is that if I

  $ cp -a /storage/scratch1-8/directory ~/tmp/

the directory and file `foo' are copied, but not `my_link'.
This causes non-serious data loss, as soon as the original directory
is discarded.

Downgrading to version 3.4.2-1 and rebooting the systems makes
the issue vanish.

Please investigate this bug.

Thanks in advance for any help.



-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-1-amd64 (SMP w/20 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages glusterfs-server depends on:
ii  glusterfs-client  3.5.0-1
ii  glusterfs-common  3.5.0-1
ii  libc6 2.19-1
ii  libncurses5   5.9+20140118-1
ii  libpython2.7  2.7.7-2
ii  libreadline6  6.3-6
ii  libssl1.0.0   1.0.1h-2
ii  libtinfo5 5.9+20140118-1
ii  libxml2   2.9.1+dfsg1-3
ii  lsb-base  4.1+Debian13

Versions of packages glusterfs-server recommends:
ii  nfs-common  1:1.2.8-6

glusterfs-server suggests no packages.

-- no debconf information


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org