Lindsay Mathieson
2016-Aug-18 21:33 UTC
[Gluster-users] [Gluster-devel] release-3.6 end of life
On 19/08/2016 3:45 AM, Diego Remolina wrote:> The one thing that still remains a mystery to me is how to downgrade > glusterfs packages in Ubuntu. I have never been able to do that. There > was also a post from someone about it recently on the list and I do > not think it got any replies.I would have assumed something like: 1. stop volume(s) 2. if needed: reset gluster options not available is older version 3. if needed: downgrade op-version 4. stop all gluster daemons :) 5. sudo apt-get purge gluster* 6. sudo ppa-purge <gluster ppa> 7. Install older ppa. 8. install older gluster service 9. Start services 10. check peers and status 11. start volume 12. test if 2) and 3) can't be done then I presume you can't downgrade. -- Lindsay Mathieson
Atin Mukherjee
2016-Aug-19 04:22 UTC
[Gluster-users] [Gluster-devel] release-3.6 end of life
On Fri, Aug 19, 2016 at 3:03 AM, Lindsay Mathieson < lindsay.mathieson at gmail.com> wrote:> On 19/08/2016 3:45 AM, Diego Remolina wrote: > >> The one thing that still remains a mystery to me is how to downgrade >> glusterfs packages in Ubuntu. I have never been able to do that. There >> was also a post from someone about it recently on the list and I do >> not think it got any replies. >> > > I would have assumed something like: > > > 1. stop volume(s) > > 2. if needed: reset gluster options not available is older version > > 3. if needed: downgrade op-version >Downgrading op-version is not possible until and unless changes are done from back end. So my suggestion is to swap the step 3 & step 4. We need to first stop all the gluster services, change the op-version in glusterd.info file in all the nodes and then proceed to step 5.> > 4. stop all gluster daemons :) > > 5. sudo apt-get purge gluster* > > 6. sudo ppa-purge <gluster ppa> > > 7. Install older ppa. > > 8. install older gluster service > > 9. Start services > > 10. check peers and status > > 11. start volume > > 12. test > > > if 2) and 3) can't be done then I presume you can't downgrade. > > -- > Lindsay Mathieson > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://www.gluster.org/mailman/listinfo/gluster-users >-- --Atin -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20160819/2c23b8c0/attachment.html>
Diego Remolina
2016-Aug-19 09:57 UTC
[Gluster-users] [Gluster-devel] release-3.6 end of life
The issue is the PPA does not change and the moment a new version is released (even minor versions), the old packages are lost forever. Even if you go to the PPA itself, the binaries seem to be deleted there. apt-chache showpkg glusterfs only shows the latest version available, none of the older ones are displayed so that you can then downgrade. I am not sure if there is another way of doing this, but I have never managed to successfully find and install the older releases without manually obtaining the .deb files if I can find them. Diego On Aug 18, 2016 5:33 PM, "Lindsay Mathieson" <lindsay.mathieson at gmail.com> wrote:> On 19/08/2016 3:45 AM, Diego Remolina wrote: > >> The one thing that still remains a mystery to me is how to downgrade >> glusterfs packages in Ubuntu. I have never been able to do that. There >> was also a post from someone about it recently on the list and I do >> not think it got any replies. >> > > I would have assumed something like: > > > 1. stop volume(s) > > 2. if needed: reset gluster options not available is older version > > 3. if needed: downgrade op-version > > 4. stop all gluster daemons :) > > 5. sudo apt-get purge gluster* > > 6. sudo ppa-purge <gluster ppa> > > 7. Install older ppa. > > 8. install older gluster service > > 9. Start services > > 10. check peers and status > > 11. start volume > > 12. test > > > if 2) and 3) can't be done then I presume you can't downgrade. > > -- > Lindsay Mathieson > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20160819/d2ca194a/attachment.html>