Hi, We have a 3.6.3 cluster and all the clients were running the same version of glusterfs until I accidentally upgraded one of the client machines (which uses the fuse mount) to 3.7.1 when doing a yum update. I'd prefer to not mix the versions and don't want to upgrade the lot to 3.7.x yet, so how do I downgrade the client back to 3.6.3? I did "yum remove glusterfs glusterfs-fuse" and then edited the repo file (pasted below), but when I then do a subsequent "yum install glusterfs", it says it's going to install 3.7.1 again. How do I stop it doing this? This is on CentOS 7. Cheers, Kingsley. # cat /etc/yum.repos.d/glusterfs-epel.repo # Place this file in your /etc/yum.repos.d/ directory [glusterfs-epel] name=GlusterFS is a clustered file-system capable of scaling to several petabytes. #baseurl=http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/epel-$releasever/$basearch/ baseurl=http://download.gluster.org/pub/gluster/glusterfs/3.6/3.6.3/EPEL.repo/epel-$releasever/$basearch/ enabled=1 skip_if_unavailable=1 gpgcheck=1 gpgkey=http://download.gluster.org/pub/gluster/glusterfs/3.6/3.6.3/EPEL.repo/pub.key #gpgkey=http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/pub.key [glusterfs-noarch-epel] name=GlusterFS is a clustered file-system capable of scaling to several petabytes. #baseurl=http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/epel-$releasever/noarch baseurl=http://download.gluster.org/pub/gluster/glusterfs/3.6/3.6.3/EPEL.repo/epel-$releasever/noarch enabled=1 skip_if_unavailable=1 gpgcheck=1 gpgkey=http://download.gluster.org/pub/gluster/glusterfs/3.6/3.6.3/EPEL.repo/pub.key #gpgkey=http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/pub.key [glusterfs-source-epel] name=GlusterFS is a clustered file-system capable of scaling to several petabytes. - Source baseurl=http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/epel-$releasever/SRPMS enabled=0 skip_if_unavailable=1 gpgcheck=1 gpgkey=http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/pub.key
Sent from Samsung Galaxy S4 On 11 Jun 2015 20:09, "Kingsley" <gluster at gluster.dogwind.com> wrote:> > Hi, > > We have a 3.6.3 cluster and all the clients were running the same > version of glusterfs until I accidentally upgraded one of the client > machines (which uses the fuse mount) to 3.7.1 when doing a yum update. > > I'd prefer to not mix the versions and don't want to upgrade the lot to > 3.7.x yet, so how do I downgrade the client back to 3.6.3? > > I did "yum remove glusterfs glusterfs-fuse" and then edited the repo > file (pasted below), but when I then do a subsequent "yum install > glusterfs", it says it's going to install 3.7.1 again. How do I stop it > doing this?Downloading the rpms and yum localinstall should solve the problem.> > This is on CentOS 7. > > Cheers, > Kingsley. > > # cat /etc/yum.repos.d/glusterfs-epel.repo > # Place this file in your /etc/yum.repos.d/ directory > > [glusterfs-epel] > name=GlusterFS is a clustered file-system capable of scaling to severalpetabytes.> #baseurlhttp://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/epel-$releasever/$basearch/ > baseurlhttp://download.gluster.org/pub/gluster/glusterfs/3.6/3.6.3/EPEL.repo/epel-$releasever/$basearch/ > enabled=1 > skip_if_unavailable=1 > gpgcheck=1 > gpgkeyhttp://download.gluster.org/pub/gluster/glusterfs/3.6/3.6.3/EPEL.repo/pub.key > #gpgkeyhttp://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/pub.key > > [glusterfs-noarch-epel] > name=GlusterFS is a clustered file-system capable of scaling to severalpetabytes.> #baseurlhttp://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/epel-$releasever/noarch > baseurlhttp://download.gluster.org/pub/gluster/glusterfs/3.6/3.6.3/EPEL.repo/epel-$releasever/noarch > enabled=1 > skip_if_unavailable=1 > gpgcheck=1 > gpgkeyhttp://download.gluster.org/pub/gluster/glusterfs/3.6/3.6.3/EPEL.repo/pub.key > #gpgkeyhttp://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/pub.key > > [glusterfs-source-epel] > name=GlusterFS is a clustered file-system capable of scaling to severalpetabytes. - Source> baseurlhttp://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/epel-$releasever/SRPMS > enabled=0 > skip_if_unavailable=1 > gpgcheck=1 > gpgkeyhttp://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/pub.key > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://www.gluster.org/mailman/listinfo/gluster-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150611/f62df2ab/attachment.html>
It must be coming from another repo. "yum list glusterfs" should show you which one. I always use priorities (http://wiki.centos.org/PackageManagement/Yum/Priorities) so if I were doing it, I would set the glusterfs repos with a lower priority number than everything else to ensure it overrides other repos. Without that, you can add an exclude to the "other" repo, ie. "exclude=glusterfs*3.7*". On 06/11/2015 07:38 AM, Kingsley wrote:> Hi, > > We have a 3.6.3 cluster and all the clients were running the same > version of glusterfs until I accidentally upgraded one of the client > machines (which uses the fuse mount) to 3.7.1 when doing a yum update. > > I'd prefer to not mix the versions and don't want to upgrade the lot to > 3.7.x yet, so how do I downgrade the client back to 3.6.3? > > I did "yum remove glusterfs glusterfs-fuse" and then edited the repo > file (pasted below), but when I then do a subsequent "yum install > glusterfs", it says it's going to install 3.7.1 again. How do I stop it > doing this? > > This is on CentOS 7. > > Cheers, > Kingsley. > > # cat /etc/yum.repos.d/glusterfs-epel.repo > # Place this file in your /etc/yum.repos.d/ directory > > [glusterfs-epel] > name=GlusterFS is a clustered file-system capable of scaling to several petabytes. > #baseurl=http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/epel-$releasever/$basearch/ > baseurl=http://download.gluster.org/pub/gluster/glusterfs/3.6/3.6.3/EPEL.repo/epel-$releasever/$basearch/ > enabled=1 > skip_if_unavailable=1 > gpgcheck=1 > gpgkey=http://download.gluster.org/pub/gluster/glusterfs/3.6/3.6.3/EPEL.repo/pub.key > #gpgkey=http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/pub.key > > [glusterfs-noarch-epel] > name=GlusterFS is a clustered file-system capable of scaling to several petabytes. > #baseurl=http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/epel-$releasever/noarch > baseurl=http://download.gluster.org/pub/gluster/glusterfs/3.6/3.6.3/EPEL.repo/epel-$releasever/noarch > enabled=1 > skip_if_unavailable=1 > gpgcheck=1 > gpgkey=http://download.gluster.org/pub/gluster/glusterfs/3.6/3.6.3/EPEL.repo/pub.key > #gpgkey=http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/pub.key > > [glusterfs-source-epel] > name=GlusterFS is a clustered file-system capable of scaling to several petabytes. - Source > baseurl=http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/epel-$releasever/SRPMS > enabled=0 > skip_if_unavailable=1 > gpgcheck=1 > gpgkey=http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/pub.key > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://www.gluster.org/mailman/listinfo/gluster-users
Andrus, Brian Contractor
2015-Jun-11 21:57 UTC
[Gluster-users] downgrade client from 3.7.1 to 3.6.3
Usually works: yum downgrade <packagename> Brian Andrus ITACS/Research Computing Naval Postgraduate School Monterey, California voice: 831-656-6238 -----Original Message----- From: gluster-users-bounces at gluster.org [mailto:gluster-users-bounces at gluster.org] On Behalf Of Kingsley Sent: Thursday, June 11, 2015 7:39 AM To: gluster-users at gluster.org Subject: [Gluster-users] downgrade client from 3.7.1 to 3.6.3 Hi, We have a 3.6.3 cluster and all the clients were running the same version of glusterfs until I accidentally upgraded one of the client machines (which uses the fuse mount) to 3.7.1 when doing a yum update. I'd prefer to not mix the versions and don't want to upgrade the lot to 3.7.x yet, so how do I downgrade the client back to 3.6.3? I did "yum remove glusterfs glusterfs-fuse" and then edited the repo file (pasted below), but when I then do a subsequent "yum install glusterfs", it says it's going to install 3.7.1 again. How do I stop it doing this? This is on CentOS 7. Cheers, Kingsley. # cat /etc/yum.repos.d/glusterfs-epel.repo # Place this file in your /etc/yum.repos.d/ directory [glusterfs-epel] name=GlusterFS is a clustered file-system capable of scaling to several petabytes. #baseurl=http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/epel-$releasever/$basearch/ baseurl=http://download.gluster.org/pub/gluster/glusterfs/3.6/3.6.3/EPEL.repo/epel-$releasever/$basearch/ enabled=1 skip_if_unavailable=1 gpgcheck=1 gpgkey=http://download.gluster.org/pub/gluster/glusterfs/3.6/3.6.3/EPEL.repo/pub.key #gpgkey=http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/pub.key [glusterfs-noarch-epel] name=GlusterFS is a clustered file-system capable of scaling to several petabytes. #baseurl=http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/epel-$releasever/noarch baseurl=http://download.gluster.org/pub/gluster/glusterfs/3.6/3.6.3/EPEL.repo/epel-$releasever/noarch enabled=1 skip_if_unavailable=1 gpgcheck=1 gpgkey=http://download.gluster.org/pub/gluster/glusterfs/3.6/3.6.3/EPEL.repo/pub.key #gpgkey=http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/pub.key [glusterfs-source-epel] name=GlusterFS is a clustered file-system capable of scaling to several petabytes. - Source baseurl=http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/epel-$releasever/SRPMS enabled=0 skip_if_unavailable=1 gpgcheck=1 gpgkey=http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/pub.key _______________________________________________ Gluster-users mailing list Gluster-users at gluster.org http://www.gluster.org/mailman/listinfo/gluster-users
Kingsley
2015-Jun-15 10:59 UTC
[Gluster-users] SOLVED: Re: downgrade client from 3.7.1 to 3.6.3
On Thu, 2015-06-11 at 15:38 +0100, Kingsley wrote:> We have a 3.6.3 cluster and all the clients were running the same > version of glusterfs until I accidentally upgraded one of the client > machines (which uses the fuse mount) to 3.7.1 when doing a yum update. > > I'd prefer to not mix the versions and don't want to upgrade the lot to > 3.7.x yet, so how do I downgrade the client back to 3.6.3? > > I did "yum remove glusterfs glusterfs-fuse" and then edited the repo > file (pasted below), but when I then do a subsequent "yum install > glusterfs", it says it's going to install 3.7.1 again. How do I stop it > doing this? > > This is on CentOS 7.Thanks Joe, Brian and Atin for your replies. The problem in the end turned up to be that the system had got a local copy of the 3.7.1 repomd.xml files. I renamed these and was then able to install 3.6.3. -- Cheers, Kingsley.