Pavel Malyshev
2016-Jul-12 20:32 UTC
[Gluster-users] How to find out maximum supported op-version of glusterd in runtime
Hello! I use gluster for quite a long time and even survived a bunch of upgrades.. Each time I upgrade, since "op-version" was introduced I scratch my head and google a bit to find out which "op-version" should I set to my cluster. I tried to convert current gluster package version to op-version, like 3.7.1 to 30701, but it didn't work with 3,5&3.6 patches and some 3.7 patches (like 3.7.9, 3.7.11, etc). Last few times I had to download latest gluster sources and grep for 'GD_OP_VERSION' to find out the new value, which is not user friendly (or completely user unfriendly?). I have an automated system to deploy and upgrade gluster clusters, but till now I had to spend precious time to find out actual version value and set it manually... So my question is there any way to get the maximum supported op-version of installed glusterd daemon (not cluster version) via cli? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20160712/3ab87dd8/attachment.html>
Atin Mukherjee
2016-Jul-13 00:41 UTC
[Gluster-users] How to find out maximum supported op-version of glusterd in runtime
On Wednesday 13 July 2016, Pavel Malyshev <p.malishev at gmail.com> wrote:> Hello! > > I use gluster for quite a long time and even survived a bunch of upgrades.. > Each time I upgrade, since "op-version" was introduced I scratch my head > and google a bit to find out which "op-version" should I set to my cluster. > I tried to convert current gluster package version to op-version, like > 3.7.1 to 30701, but it didn't work with 3,5&3.6 patches and some 3.7 > patches (like 3.7.9, 3.7.11, etc). > Last few times I had to download latest gluster sources and grep for > 'GD_OP_VERSION' to find out the new value, which is not user friendly (or > completely user unfriendly?). > I have an automated system to deploy and upgrade gluster clusters, but > till now I had to spend precious time to find out actual version value and > set it manually... > > So my question is there any way to get the maximum supported op-version of > installed glusterd daemon (not cluster version) via cli? >No, we dont have. I think we can capture this in glusterd's statedump. -- Atin Sent from iPhone -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20160713/00fe20f7/attachment.html>