[Gluster-users] What is the corresponding op-version for a glusterfs release?

Atin Mukherjee amukherj at redhat.com
Tue Apr 19 21:42:34 UTC 2016



On 04/19/2016 02:56 PM, Stefano Stagnaro wrote:
> After upgrading my cluster from 3.7.5 to 3.7.9 I got the following error when I tried to enable quotas:
> 
> "quota command failed : Volume quota failed. The cluster is operating at version 30702. Quota command enable is unavailable in this version."
> 
> After a brief search, I discovered the following solution for RHGS: https://access.redhat.com/solutions/2050753 It suggests updating the op-version of the cluster after the upgrade. There isn't any evidence of this procedure in the community documentation (except for in this mailing list).
> 
> Unfortunately, nor 30709 or 30708 are valid op-version so I moved to 30707:
Although the op-version numbering is aligned with the release versions
but that doesn't go as a strict rule. If any new volume tunable option
is introduced between the release then the op-version is bumped up.
Between 3.7.7 and 3.7.9 releases there were no new options introduced
and hence the op-version goes as 30707 for 3.7.9 release.

I do think that we should add a mandatory section about the op-version
number in every release note. I'll initiate a mail about that to let all
the release maintainers/managers know about it.

Thanks,
Atin
> 
> [root at s20 ~]# cat /var/lib/glusterd/glusterd.info
> UUID=46ec7bcf-adf0-4846-a830-3d8205e96e89
> operating-version=30702
> 
> [root at s20 ~]# gluster volume set all cluster.op-version 30709
> volume set: failed: Required op_version (30709) is not supported
> 
> [root at s20 ~]# gluster volume set all cluster.op-version 30708
> volume set: failed: Required op_version (30708) is not supported
> 
> [root at s20 ~]# gluster volume set all cluster.op-version 30707
> volume set: success
> 
> [root at s20 ~]# cat /var/lib/glusterd/glusterd.info
> UUID=46ec7bcf-adf0-4846-a830-3d8205e96e89
> operating-version=30707
> 
> What is the corresponding op-version for a glusterfs release? RHGS has the following solution that I found really useful, matching releases to the suggested op-version: https://access.redhat.com/solutions/543123 Where do I can find such information for the community version of glusterfs?
> 
> Thank you very much for your help. 
> 
> Regards,
> 


More information about the Gluster-users mailing list