Re: [Gluster-users] [Gluster-devel] new glusterfs logging framework

2013-07-30 Thread Anand Avati
On Tue, Jul 30, 2013 at 11:39 PM, Balamurugan Arumugam wrote: > > > - Original Message - > > From: "Joe Julian" > > To: "Pablo" , "Balamurugan Arumugam" < > b...@gluster.com> > > Cc: gluster-users@gluster.org, gluster-de...@nongnu.org > > Sent: Tuesday, July 30, 2013 9:26:55 PM > > Subjec

Re: [Gluster-users] new glusterfs logging framework

2013-07-30 Thread Balamurugan Arumugam
- Original Message - > From: "Joe Julian" > To: "Pablo" , "Balamurugan Arumugam" > Cc: gluster-users@gluster.org, gluster-de...@nongnu.org > Sent: Tuesday, July 30, 2013 9:26:55 PM > Subject: Re: [Gluster-users] new glusterfs logging framework > > Configuration files should be under /e

Re: [Gluster-users] glusterfsd won't restart on one brick

2013-07-30 Thread Kaushal M
I think I've found the problem. The problem is not with the brick port, but instead with the unix domain socket used for communication between glusterd and glusterfsd. >From the log you provided, > [2013-07-29 23:34:41.949089] I [glusterfsd.c:1910:main] > 0-/usr/sbin/glusterfsd: Started running /

Re: [Gluster-users] uWSGI plugin and some question

2013-07-30 Thread Anand Avati
On Tue, Jul 30, 2013 at 7:47 AM, Roberto De Ioris wrote: > > > On Mon, Jul 29, 2013 at 10:55 PM, Anand Avati > > wrote: > > > > > > I am assuming the module in question is this - > > https://github.com/unbit/uwsgi/blob/master/plugins/glusterfs/glusterfs.c > . > > I > > see that you are not using

[Gluster-users] monitoring gluster replication status

2013-07-30 Thread Matthew Sacks
Hello, >From what I've seen there is no way I can monitor cluster status via munin or any other method for that matter. How can I ensure replication is working properly? Thanks in advance, Matt ___ Gluster-users mailing list Gluster-users@gluster.org ht

Re: [Gluster-users] Geo-replication fails to even TRY to start doesnt create /tmp/gsyncd-* dir

2013-07-30 Thread Tony Maro
The only other thing I can add is the following log entries from the SSH destination: [2013-07-30 08:51:15.41] I [gsyncd(slave):289:main_i] : syncing: file:///data/docstore1 [2013-07-30 08:51:15.1106] I [resource(slave):200:service_loop] FILE: slave listening [2013-07-30 08:51:20.81000] I [repce(s

Re: [Gluster-users] new glusterfs logging framework

2013-07-30 Thread Joe Julian
s/rfc3164/ISO8601/ That's what I get for trying to search from my phone while writing an email on the train. On 07/30/2013 08:56 AM, Joe Julian wrote: Configuration files should be under /etc per FSH standards. Move the logger.conf to /etc/glusterfs. I, personally, like json logs since I'm

Re: [Gluster-users] Create a volume with one brick

2013-07-30 Thread Kaushal M
If you're trying to build a cluster win just one machine, have a look at 'tests/cluster.rc' in the glusterfs source repo. It is used for some tests that require a cluster in the gluster regression test suite. ~kaushal ___ Gluster-users mailing list Glust

Re: [Gluster-users] On ports and firewalls

2013-07-30 Thread Nux!
On 24.07.2013 13:11, Nux! wrote: On 24.07.2013 08:50, Nux! wrote: Hi, Can someone help with this? I need to setup a firewall around a gluster (3.4) setup and I wouldn't like my clients to become peers. :) So the ports I'd need to watch for would be: management traffic (aka `gluster peer` opera

Re: [Gluster-users] Create a volume with one brick

2013-07-30 Thread Bryan Whitehead
This is done all the time for testing and it is really easy. install the RPM's, start up the glusterd service. 1) make a directory for gluster to use. Never touch anything in this directory. mkdir /var/gluster 2) create your volume gluster volume create MyVolume localhost:/var/gluster gluster vo

[Gluster-users] higher "op" version

2013-07-30 Thread Jay Vyas
It appears that some peer probes only work in one direction. Why is that the case? I guess the mystery lies in the "op" version value. Not sure what that refers to - im using 3.4git, so I assume all versions should be the same even though the build dates are slightly off, because i build from sou

Re: [Gluster-users] new glusterfs logging framework

2013-07-30 Thread Joe Julian
Configuration files should be under /etc per FSH standards. Move the logger.conf to /etc/glusterfs. I, personally, like json logs since I'm shipping to logstash. :-) My one suggestion would be to ensure the timestamps are in rfc3164. Yes, those are complex steps, but the rpm/deb packaging shoul

Re: [Gluster-users] glusterfsd won't restart on one brick

2013-07-30 Thread Joel Young
Kaushal, On Mon, Jul 29, 2013 at 11:59 PM, Kaushal M wrote: > Some other process is listening on 49157 on ir2, but netstat and lsof > don't provide any answers to what process it is. I'm not confident that that is really happening. I tried hand executing the glusterfsd command with several othe

Re: [Gluster-users] new glusterfs logging framework

2013-07-30 Thread Pablo
I think that adding all that 'rsyslog' configuration only to see logs is too much. (I admit it, I don't know how to configure rsyslog at that level so that may influence my opinion) Regards, El 30/07/2013 06:29 a.m., Balamurugan Arumugam escribió: Hi All, Recently new logging framework was

Re: [Gluster-users] Geo-replication fails to even TRY to start doesnt create /tmp/gsyncd-* dir

2013-07-30 Thread Tony Maro
I'm using the Ubuntu repositories for Precise ( ppa:zfs-native/stable ), so not sure, but I can guarantee there are no symlinks anywhere within the volume. The data is all created and maintained by one app that I wrote, and symlinks aren't ever used. On Tue, Jul 30, 2013 at 10:03 AM, Joe Julian

[Gluster-users] Create a volume with one brick

2013-07-30 Thread Gregor Burck
Hi, i wonder if it's possible to create a volume with one brick. I know it is strange to use a clusterfilesystem with one machine, but it could be helpfull for testing or change a brick if there are only two,... Is there a tric to do it? Maybe with a additional virtuell interface, so the curren

Re: [Gluster-users] uWSGI plugin and some question

2013-07-30 Thread Roberto De Ioris
> On Mon, Jul 29, 2013 at 10:55 PM, Anand Avati > wrote: > > > I am assuming the module in question is this - > https://github.com/unbit/uwsgi/blob/master/plugins/glusterfs/glusterfs.c. > I > see that you are not using the async variants of any of the glfs calls so > far. I also believe you would

Re: [Gluster-users] Geo-replication fails to even TRY to start doesnt create /tmp/gsyncd-* dir

2013-07-30 Thread Joe Julian
Are you using the zfs that doesn't allow setting extended attributes on symlinks? Tony Maro wrote: >Well I guess I'm carrying on a conversation with myself here, but I've >turned on Debug and gsyncd appears to be crashing in _query_xattr - >which >is odd because as mentioned before I was previou

Re: [Gluster-users] Gluster NFS - no permission to write from Windows

2013-07-30 Thread Nux!
On 30.07.2013 13:02, Anand Avati wrote: It really depends on how Windows is assigning a UNIX uid during NFS access. Gluster just takes the Unix UID encoded in the auth header as-is. In this case that number is actually the unsigned representation of -2. Right, this is not a Gluster problem an

Re: [Gluster-users] Geo-replication fails to even TRY to start doesnt create /tmp/gsyncd-* dir

2013-07-30 Thread Tony Maro
Well I guess I'm carrying on a conversation with myself here, but I've turned on Debug and gsyncd appears to be crashing in _query_xattr - which is odd because as mentioned before I was previously able to get this volume to sync the first 1TB of data before this started, but now it won't even do th

Re: [Gluster-users] Gluster NFS - no permission to write from Windows

2013-07-30 Thread Anand Avati
It really depends on how Windows is assigning a UNIX uid during NFS access. Gluster just takes the Unix UID encoded in the auth header as-is. In this case that number is actually the unsigned representation of -2. Regarding performance, please look for any odd messages in the NFS server logs. Ava

Re: [Gluster-users] Gluster NFS - no permission to write from Windows

2013-07-30 Thread Nux!
On 30.07.2013 11:03, Anand Avati wrote: What unix uid is the windows client mapping the access to? I guess the permission issue boils down to that. You can create a file under the mode 777 dir, and check the uid/gid from a linux client. Then make sure the dirs you create can be writeable by th

Re: [Gluster-users] Gluster NFS - no permission to write from Windows

2013-07-30 Thread Anand Avati
What unix uid is the windows client mapping the access to? I guess the permission issue boils down to that. You can create a file under the mode 777 dir, and check the uid/gid from a linux client. Then make sure the dirs you create can be writeable by that uid/gid. Avati On Tue, Jul 30, 2013 at

Re: [Gluster-users] [Gluster-devel] [FEEDBACK] Governance of GlusterFS project

2013-07-30 Thread Anand Avati
On Sun, Jul 28, 2013 at 11:32 PM, Bryan Whitehead wrote: > Weekend activities kept me away from watching this thread, wanted to > add in more of my 2 cents... :) > > Major releases would be great to happen more often - but keeping > current releases "more current" is really what I was talking abou

[Gluster-users] new glusterfs logging framework

2013-07-30 Thread Balamurugan Arumugam
Hi All, Recently new logging framework was introduced [1][2][3] in glusterfs master branch. You could read more about this on doc/logging.txt. In brief, current log target is moved to syslog and user has an option to this new logging at compile time (passing '--disable-syslog' to ./configure

Re: [Gluster-users] [FEEDBACK] Governance of GlusterFS project

2013-07-30 Thread Anand Avati
On Mon, Jul 29, 2013 at 2:17 PM, Joe Julian wrote: > As one of the guys supporting this software, I agree that I would like > bugfix releases to happen more. Critical and security bugs should trigger > an immediate test release. Other bug fixes should go out on a reasonable > schedule (monthly?).

[Gluster-users] Gluster NFS - no permission to write from Windows

2013-07-30 Thread Nux!
Hi, I have successfully mounted a Glusterfs NFS volume on Windows (7), but I can't write anything to it. If I create from linux a directory on this volume and give it perms 777 then I can write from Windows as well. Any pointers on how to make it work out of the box? I do have NFS client insta

Re: [Gluster-users] glusterfsd won't restart on one brick

2013-07-30 Thread Kaushal M
Some other process is listening on 49157 on ir2, but netstat and lsof don't provide any answers to what process it is. Googling for more information I came across a possible answer to such processes. Apparently services which register with portmap usually are of this type. Can you do a 'rpcinfo -p