Re: [Gluster-devel] Setting up dev environment
Thanks Niels. Finally managed it to get working: 1) Cloned using https from review.gluster.org/glusterfs.git 2) Had to generate a ssh password in review.gluster.org 3) Provide the generated ssh password when prompted for the password to authenticate with review.gluster.org Thanks and Regards, Ram -Original Message- From: Niels de Vos [mailto:nde...@redhat.com] Sent: Saturday, January 20, 2018 8:13 AM To: Ram Ankireddypalle Cc: Gluster Devel (gluster-devel@gluster.org) Subject: Re: [Gluster-devel] Setting up dev environment On Sat, Jan 20, 2018 at 02:17:16AM +, Ram Ankireddypalle wrote: > Hi, > I am trying to set a dev environment and send out the code that I > worked on out for review. > I tried setting up a build environment using doc @ > http://docs.gluster.org/en/latest/Developer-guide/Development-Workflow > / > > I am seeing the following error. > > git clone ssh://ram-ankireddypa...@git.gluster.org/glusterfs.git > glusterfs > Cloning into 'glusterfs'... > ssh: connect to host git.gluster.org port 22: Connection timed > out > > Please suggest what could be the issue here. I normally use review.gluster.org instead of the old(?) alias git.gluster.org. But, that does not really matter and should not cause the problem you are seeing. An easier way to debug connection problems is by trying to login over ssh directly. If it works, you'll get a banner and the server will log you out again. $ ssh nixpa...@review.gluster.org Welcome to Gerrit Code Review Hi Niels de Vos, you have successfully connected over SSH. Unfortunately, interactive shells are disabled. To clone a hosted Git repository, use: git clone ssh://nixpa...@review.gluster.org/REPOSITORY_NAME.git Connection to review.gluster.org closed. To troubleshoot, use 'ssh -vvv ram-ankireddypa...@review.gluster.org' and go through the logs. Good luck! Niels ***Legal Disclaimer*** "This communication may contain confidential and privileged material for the sole use of the intended recipient. Any unauthorized review, use or distribution by others is strictly prohibited. If you have received the message by mistake, please advise the sender by reply email and delete the message. Thank you." ** ___ Gluster-devel mailing list Gluster-devel@gluster.org http://lists.gluster.org/mailman/listinfo/gluster-devel
Re: [Gluster-devel] Setting up dev environment
Thanks. I checked that. My ssh key is uploaded to github and gerrit accounts. Thanks and Regard, Ram Sent from my iPhone On Jan 19, 2018, at 11:53 PM, Milind Changire <mchan...@redhat.com<mailto:mchan...@redhat.com>> wrote: If you are a Gluster contributor then you'll need to have a GitHub Account with your Public SSH Key uploaded at GitHub to use the ssh transport. If you are not a Gluster contributor, then you might just want to use the https transport instead of the ssh transport to clone the glusterfs repo off git.gluster.org<http://git.gluster.org>. On Sat, Jan 20, 2018 at 7:47 AM, Ram Ankireddypalle <are...@commvault.com<mailto:are...@commvault.com>> wrote: Hi, I am trying to set a dev environment and send out the code that I worked on out for review. I tried setting up a build environment using doc @ http://docs.gluster.org/en/latest/Developer-guide/Development-Workflow/ I am seeing the following error. git clone ssh://ram-ankireddypa...@git.gluster.org/glusterfs.git<http://ram-ankireddypa...@git.gluster.org/glusterfs.git> glusterfs Cloning into 'glusterfs'... ssh: connect to host git.gluster.org<http://git.gluster.org> port 22: Connection timed out Please suggest what could be the issue here. Thanks and Regards, Ram ***Legal Disclaimer*** "This communication may contain confidential and privileged material for the sole use of the intended recipient. Any unauthorized review, use or distribution by others is strictly prohibited. If you have received the message by mistake, please advise the sender by reply email and delete the message. Thank you." ** ___ Gluster-devel mailing list Gluster-devel@gluster.org<mailto:Gluster-devel@gluster.org> http://lists.gluster.org/mailman/listinfo/gluster-devel -- Milind ***Legal Disclaimer*** "This communication may contain confidential and privileged material for the sole use of the intended recipient. Any unauthorized review, use or distribution by others is strictly prohibited. If you have received the message by mistake, please advise the sender by reply email and delete the message. Thank you." ** ___ Gluster-devel mailing list Gluster-devel@gluster.org http://lists.gluster.org/mailman/listinfo/gluster-devel
[Gluster-devel] Setting up dev environment
Hi, I am trying to set a dev environment and send out the code that I worked on out for review. I tried setting up a build environment using doc @ http://docs.gluster.org/en/latest/Developer-guide/Development-Workflow/ I am seeing the following error. git clone ssh://ram-ankireddypa...@git.gluster.org/glusterfs.git glusterfs Cloning into 'glusterfs'... ssh: connect to host git.gluster.org port 22: Connection timed out Please suggest what could be the issue here. Thanks and Regards, Ram ***Legal Disclaimer*** "This communication may contain confidential and privileged material for the sole use of the intended recipient. Any unauthorized review, use or distribution by others is strictly prohibited. If you have received the message by mistake, please advise the sender by reply email and delete the message. Thank you." ** ___ Gluster-devel mailing list Gluster-devel@gluster.org http://lists.gluster.org/mailman/listinfo/gluster-devel
Re: [Gluster-devel] Determine if a file is open in a cluster
Thanks Vijay/Raghavendra. We will try this. Thanks and Regards, Ram From: raghavendra...@gmail.com [mailto:raghavendra...@gmail.com] On Behalf Of Raghavendra G Sent: Thursday, January 11, 2018 11:20 PM To: Vijay Bellur Cc: Ram Ankireddypalle; gluster-devel@gluster.org Subject: Re: [Gluster-devel] Determine if a file is open in a cluster Another simple test in code would be to check whether inode->fd_list is empty as fd_list represents list of all fds opened on that inode. On Fri, Jan 12, 2018 at 4:38 AM, Vijay Bellur <vbel...@redhat.com<mailto:vbel...@redhat.com>> wrote: Hi Ram, Do you want to check this from within a translator? If so, you can look for GLUSTERFS_OPEN_FD_COUNT in xlators like dht, afr, ec etc. where they check for open file descriptors in various FOPs. Regards, Vijay On Thu, Jan 11, 2018 at 10:40 AM, Ram Ankireddypalle <are...@commvault.com<mailto:are...@commvault.com>> wrote: Hi, Is it possible to find out within a cluster if a file is currently open by any of the clients/self-heal daemon or any other daemon’s within a cluster. Please point to the sample code in any of the Xlator which does such a check. Thanks and Regards, Ram ***Legal Disclaimer*** "This communication may contain confidential and privileged material for the sole use of the intended recipient. Any unauthorized review, use or distribution by others is strictly prohibited. If you have received the message by mistake, please advise the sender by reply email and delete the message. Thank you." ** ___ Gluster-devel mailing list Gluster-devel@gluster.org<mailto:Gluster-devel@gluster.org> http://lists.gluster.org/mailman/listinfo/gluster-devel ___ Gluster-devel mailing list Gluster-devel@gluster.org<mailto:Gluster-devel@gluster.org> http://lists.gluster.org/mailman/listinfo/gluster-devel -- Raghavendra G ***Legal Disclaimer*** "This communication may contain confidential and privileged material for the sole use of the intended recipient. Any unauthorized review, use or distribution by others is strictly prohibited. If you have received the message by mistake, please advise the sender by reply email and delete the message. Thank you." ** ___ Gluster-devel mailing list Gluster-devel@gluster.org http://lists.gluster.org/mailman/listinfo/gluster-devel
[Gluster-devel] Determine if a file is open in a cluster
Hi, Is it possible to find out within a cluster if a file is currently open by any of the clients/self-heal daemon or any other daemon's within a cluster. Please point to the sample code in any of the Xlator which does such a check. Thanks and Regards, Ram ***Legal Disclaimer*** "This communication may contain confidential and privileged material for the sole use of the intended recipient. Any unauthorized review, use or distribution by others is strictly prohibited. If you have received the message by mistake, please advise the sender by reply email and delete the message. Thank you." ** ___ Gluster-devel mailing list Gluster-devel@gluster.org http://lists.gluster.org/mailman/listinfo/gluster-devel