Re: [Gluster-users] Trouble rolling back to 3.7.11 on Ubuntu
Hi Niels, I'm installing from source as there is only PPAs for the latest minor version for each major version. The issue we were facing was introduced by either 3.7.12/13 so I am trying to roll back to 3.7.11 instead of back to 3.6.9. As you can see https://launchpad.net/~gluster/+archive/ubuntu/glusterfs-3.7 only has 3.7.13 there. Thanks, Tommy -Original Message- From: Niels de Vos [mailto:nde...@redhat.com] Sent: 20 July 2016 09:51 To: Yardley, Tommy (UK Guildford) Cc: Atin Mukherjee; gluster-users@gluster.org Subject: Re: [Gluster-users] Trouble rolling back to 3.7.11 on Ubuntu On Wed, Jul 20, 2016 at 08:01:36AM +, tommy.yard...@baesystems.com wrote: > Hi Atin, > > Appreciate you getting back to me. > > After cleaning installing a box with Ubuntu and trying build from > source I am always shown the error in the previous post. Is there a reason you want to install from source? We do have several PPAs for Ubuntu with different Gluster versions: https://launchpad.net/~gluster If those packages are not suitable for you (and possibly others), we would like to know about that. Thanks, Niels Please consider the environment before printing this email. This message should be regarded as confidential. If you have received this email in error please notify the sender and destroy it immediately. Statements of intent shall only become binding when confirmed in hard copy by an authorised signatory. The contents of this email may relate to dealings with other companies under the control of BAE Systems Applied Intelligence Limited, details of which can be found at http://www.baesystems.com/Businesses/index.htm. ___ Gluster-users mailing list Gluster-users@gluster.org http://www.gluster.org/mailman/listinfo/gluster-users
Re: [Gluster-users] Trouble rolling back to 3.7.11 on Ubuntu
Lindsay, I was building from source, I've just realised my script was cleaning up liburcu after building and installing that again seems to have fixed my problem. Do you know the list of packages that are required to run glusterd (as opposed to building it) so I can cleanup some unneeded packages? Thanks, Tommy -Original Message- From: Kaushal M [mailto:kshlms...@gmail.com] Sent: 20 July 2016 09:49 To: Yardley, Tommy (UK Guildford) Cc: Lindsay Mathieson; gluster-users@gluster.org Subject: Re: [Gluster-users] Trouble rolling back to 3.7.11 on Ubuntu I'm assuming you already have liburcu >= 0.7 installed, because it is needed to build gluster. How did you install it? Was it via source or a package? Could you also run a `ldd` on the glusterd xlator and give the results? The command should be `ldd /usr/lib/glusterfs/3.7.11/xlator/mgmt/glusterd.so`. On Wed, Jul 20, 2016 at 1:36 PM, tommy.yard...@baesystems.com wrote: > Yes sorry, I am already running it with sudo > > Thanks, > Tommy > > -Original Message- > From: Lindsay Mathieson [mailto:lindsay.mathie...@gmail.com] > Sent: 20 July 2016 09:04 > To: Yardley, Tommy (UK Guildford) > Cc: Atin Mukherjee; gluster-users@gluster.org > Subject: Re: [Gluster-users] Trouble rolling back to 3.7.11 on Ubuntu > > On 20 July 2016 at 18:01, tommy.yard...@baesystems.com > wrote: >> looks like an error I saw on the mailing list previously which >> suggested running ``` ldconfig``` which I have – doesn’t seem to fix things. > > > Did you try "sudo ldconfig" ? > > -- > Lindsay > Please consider the environment before printing this email. This message > should be regarded as confidential. If you have received this email in error > please notify the sender and destroy it immediately. Statements of intent > shall only become binding when confirmed in hard copy by an authorised > signatory. The contents of this email may relate to dealings with other > companies under the control of BAE Systems Applied Intelligence Limited, > details of which can be found at > http://www.baesystems.com/Businesses/index.htm. > ___ > Gluster-users mailing list > Gluster-users@gluster.org > http://www.gluster.org/mailman/listinfo/gluster-users Please consider the environment before printing this email. This message should be regarded as confidential. If you have received this email in error please notify the sender and destroy it immediately. Statements of intent shall only become binding when confirmed in hard copy by an authorised signatory. The contents of this email may relate to dealings with other companies under the control of BAE Systems Applied Intelligence Limited, details of which can be found at http://www.baesystems.com/Businesses/index.htm. ___ Gluster-users mailing list Gluster-users@gluster.org http://www.gluster.org/mailman/listinfo/gluster-users
Re: [Gluster-users] Trouble rolling back to 3.7.11 on Ubuntu
On Wed, Jul 20, 2016 at 08:01:36AM +, tommy.yard...@baesystems.com wrote: > Hi Atin, > > Appreciate you getting back to me. > > After cleaning installing a box with Ubuntu and trying build from > source I am always shown the error in the previous post. Is there a reason you want to install from source? We do have several PPAs for Ubuntu with different Gluster versions: https://launchpad.net/~gluster If those packages are not suitable for you (and possibly others), we would like to know about that. Thanks, Niels signature.asc Description: PGP signature ___ Gluster-users mailing list Gluster-users@gluster.org http://www.gluster.org/mailman/listinfo/gluster-users
Re: [Gluster-users] Trouble rolling back to 3.7.11 on Ubuntu
I'm assuming you already have liburcu >= 0.7 installed, because it is needed to build gluster. How did you install it? Was it via source or a package? Could you also run a `ldd` on the glusterd xlator and give the results? The command should be `ldd /usr/lib/glusterfs/3.7.11/xlator/mgmt/glusterd.so`. On Wed, Jul 20, 2016 at 1:36 PM, tommy.yard...@baesystems.com wrote: > Yes sorry, I am already running it with sudo > > Thanks, > Tommy > > -Original Message- > From: Lindsay Mathieson [mailto:lindsay.mathie...@gmail.com] > Sent: 20 July 2016 09:04 > To: Yardley, Tommy (UK Guildford) > Cc: Atin Mukherjee; gluster-users@gluster.org > Subject: Re: [Gluster-users] Trouble rolling back to 3.7.11 on Ubuntu > > On 20 July 2016 at 18:01, tommy.yard...@baesystems.com > wrote: >> looks like an error I saw on the mailing list previously which >> suggested running ``` ldconfig``` which I have – doesn’t seem to fix things. > > > Did you try "sudo ldconfig" ? > > -- > Lindsay > Please consider the environment before printing this email. This message > should be regarded as confidential. If you have received this email in error > please notify the sender and destroy it immediately. Statements of intent > shall only become binding when confirmed in hard copy by an authorised > signatory. The contents of this email may relate to dealings with other > companies under the control of BAE Systems Applied Intelligence Limited, > details of which can be found at > http://www.baesystems.com/Businesses/index.htm. > ___ > Gluster-users mailing list > Gluster-users@gluster.org > http://www.gluster.org/mailman/listinfo/gluster-users ___ Gluster-users mailing list Gluster-users@gluster.org http://www.gluster.org/mailman/listinfo/gluster-users
Re: [Gluster-users] Trouble rolling back to 3.7.11 on Ubuntu
Yes sorry, I am already running it with sudo Thanks, Tommy -Original Message- From: Lindsay Mathieson [mailto:lindsay.mathie...@gmail.com] Sent: 20 July 2016 09:04 To: Yardley, Tommy (UK Guildford) Cc: Atin Mukherjee; gluster-users@gluster.org Subject: Re: [Gluster-users] Trouble rolling back to 3.7.11 on Ubuntu On 20 July 2016 at 18:01, tommy.yard...@baesystems.com wrote: > looks like an error I saw on the mailing list previously which > suggested running ``` ldconfig``` which I have – doesn’t seem to fix things. Did you try "sudo ldconfig" ? -- Lindsay Please consider the environment before printing this email. This message should be regarded as confidential. If you have received this email in error please notify the sender and destroy it immediately. Statements of intent shall only become binding when confirmed in hard copy by an authorised signatory. The contents of this email may relate to dealings with other companies under the control of BAE Systems Applied Intelligence Limited, details of which can be found at http://www.baesystems.com/Businesses/index.htm. ___ Gluster-users mailing list Gluster-users@gluster.org http://www.gluster.org/mailman/listinfo/gluster-users
Re: [Gluster-users] Trouble rolling back to 3.7.11 on Ubuntu
On 20 July 2016 at 18:01, tommy.yard...@baesystems.com wrote: > looks like an error I saw on the mailing list previously which suggested > running ``` ldconfig``` which I have – doesn’t seem to fix things. Did you try "sudo ldconfig" ? -- Lindsay ___ Gluster-users mailing list Gluster-users@gluster.org http://www.gluster.org/mailman/listinfo/gluster-users
Re: [Gluster-users] Trouble rolling back to 3.7.11 on Ubuntu
Hi Atin, Appreciate you getting back to me. After cleaning installing a box with Ubuntu and trying build from source I am always shown the error in the previous post. As you can see no other gluster processes are running so there should be no conflicts there: ``` root@ip-172-31-169-210:/var/log/glusterfs# ps -ef | grep -i glust root 12990 10419 0 07:57 pts/200:00:00 grep --color=auto -i glust root@ip-172-31-169-210:/var/log/glusterfs# service glusterd restart * Stopping glusterd service glusterd [ OK ] * Starting glusterd service glusterd [fail] /usr/local/sbin/glusterd: option requires an argument -- 'f' Try `glusterd --help' or `glusterd --usage' for more information. ``` In usr-local-etc-glusterfs-glusterd.vol.log: ``` [2016-07-20 07:57:06.895459] I [MSGID: 100030] [glusterfsd.c:2332:main] 0-/usr/local/sbin/glusterd: Started running /usr/local/sbin/glusterd version 3.7.11 (args: /usr/local/sbin/glusterd -p /var/run/glusterd.pid) [2016-07-20 07:57:06.896414] W [MSGID: 101095] [xlator.c:199:xlator_dynload] 0-xlator: liburcu-bp.so.1: cannot open shared object file: No such file or directory [2016-07-20 07:57:06.896442] E [graph.y:212:volume_type] 0-parser: Volume 'management', line 2: type 'mgmt/glusterd' is not valid or not found on this machine [2016-07-20 07:57:06.896477] E [graph.y:321:volume_end] 0-parser: "type" not specified for volume management [2016-07-20 07:57:06.896519] E [MSGID: 100026] [glusterfsd.c:2188:glusterfs_process_volfp] 0-: failed to construct the graph [2016-07-20 07:57:06.896671] E [graph.c:944:glusterfs_graph_destroy] (-->/usr/local/sbin/glusterd(glusterfs_volumes_init+0xc2) [0x408cf2] -->/usr/local/sbin/glusterd(glusterfs_process_volfp+0x109) [0x408bd9] -->/usr/local/lib/libglusterfs.so.0(glusterfs_graph_destroy+0x84) [0x7f5ff1e159a4] ) 0-graph: invalid argument: graph [Invalid argument] [2016-07-20 07:57:06.896705] W [glusterfsd.c:1251:cleanup_and_exit] (-->/usr/local/sbin/glusterd(glusterfs_volumes_init+0xc2) [0x408cf2] -->/usr/local/sbin/glusterd(glusterfs_process_volfp+0x110) [0x408be0] -->/usr/local/sbin/glusterd(cleanup_and_exit+0x5d) [0x4082cd] ) 0-: received signum (0), shutting down ``` Any ideas on whats wrong? ``` liburcu-bp.so.1: cannot open shared object file: No such file or directory ``` looks like an error I saw on the mailing list previously which suggested running ``` ldconfig``` which I have – doesn’t seem to fix things. Many thanks, Tommy From: Atin Mukherjee [mailto:amukh...@redhat.com] Sent: 19 July 2016 17:51 To: Yardley, Tommy (UK Guildford) Cc: gluster-users@gluster.org Subject: Re: [Gluster-users] Trouble rolling back to 3.7.11 on Ubuntu On Tuesday 19 July 2016, tommy.yard...@baesystems.com<mailto:tommy.yard...@baesystems.com> mailto:tommy.yard...@baesystems.com>> wrote: Hi all, I’m trying to roll back my version of Glusterfs-server to 3.7.11 as we are having problems with nfs and ssl introduced with the latest versions (want to confirm this by rolling back). Could you specify the problems surfaced here such that we can further debug them? However, the ppa repository only holds the package for 3.7.13 so I’m trying to build from source on trusty~ubuntu. I’m hitting various problems such as glusterd not starting: Looking at glusterd log file may give you some clue. ``` user@host:/var/log# service glusterd restart * Stopping glusterd service glusterd [ OK ] * Starting glusterd service glusterd [fail] /usr/local/sbin/glusterd: option requires an argument -- 'f' Try `glusterd --help' or `glusterd --usage' for more information. ``` My real question here is what’s the quickest way to roll back to 3.7.11 as I’m failing to install from source even after following http://www.gluster.org/community/documentation/index.php/Building_GlusterFS. Many thanks, Tommy Please consider the environment before printing this email. This message should be regarded as confidential. If you have received this email in error please notify the sender and destroy it immediately. Statements of intent shall only become binding when confirmed in hard copy by an authorised signatory. The contents of this email may relate to dealings with other companies under the control of BAE Systems Applied Intelligence Limited, details of which can be found at http://www.baesystems.com/Businesses/index.htm. -- Atin Sent from iPhone Please consider the environment before printing this email. This mess
Re: [Gluster-users] Trouble rolling back to 3.7.11 on Ubuntu
On Tuesday 19 July 2016, tommy.yard...@baesystems.com < tommy.yard...@baesystems.com> wrote: > Hi all, > > > > I’m trying to roll back my version of Glusterfs-server to 3.7.11 as we are > having problems with nfs and ssl introduced with the latest versions (want > to confirm this by rolling back). > Could you specify the problems surfaced here such that we can further debug them? > > > However, the ppa repository only holds the package for 3.7.13 so I’m > trying to build from source on trusty~ubuntu. > > > > I’m hitting various problems such as glusterd not starting: > Looking at glusterd log file may give you some clue. > > > ``` > > user@host:/var/log# service glusterd restart > > * Stopping glusterd service > glusterd > [ OK ] > > * Starting glusterd service > glusterd > [fail] > > /usr/local/sbin/glusterd: option requires an argument -- 'f' > > Try `glusterd --help' or `glusterd --usage' for more information. > > ``` > > > > My real question here is what’s the quickest way to roll back to 3.7.11 as > I’m failing to install from source even after following > http://www.gluster.org/community/documentation/index.php/Building_GlusterFS > . > > > > Many thanks, > > *Tommy * > > > Please consider the environment before printing this email. This message > should be regarded as confidential. If you have received this email in > error please notify the sender and destroy it immediately. Statements of > intent shall only become binding when confirmed in hard copy by an > authorised signatory. The contents of this email may relate to dealings > with other companies under the control of BAE Systems Applied Intelligence > Limited, details of which can be found at > http://www.baesystems.com/Businesses/index.htm. > -- Atin Sent from iPhone ___ Gluster-users mailing list Gluster-users@gluster.org http://www.gluster.org/mailman/listinfo/gluster-users