Description of problem: Both the snapshot feature and persistent AFR xattrs implementation will work only if op-version >=4. To that effect we would need a gluster CLI command to bump up the glusterd op-version when an existing cluster is upgraded to the release containing these features. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Form a cluster and create a volume with a glusterfs release having cluster op-version less than 4. 2. Upgrade all nodes to the release having snapshot/ persistent AFR xattrs features. 3. Try snapshot/ add-brick/ remove-brick operations Actual results: Add/remove brick operations fail with the message: One or more nodes do not support the required op-version. Cluster op-version must atleast be 4. Similarly snapshots would also fail with an appropriate message (not checked the exact message yet). Expected results: These features should work.
http://review.gluster.org/7603 (glusterd: Allow bumping up the cluster op-version) posted (#1) for review
I discussed with Ravi and Kaushal and understood the context of the bug and where it needs to be documented. Here is the mail conversation: Hi Ravi, I spoke to Kaushal and got all the information about the cluster.op-version command. Can you please tell me in which step of the upgrade this command needs to be executed? Here is the document we have: http://documentation-devel.engineering.redhat.com/site/documentation/en-US/Red_Hat_Storage/2.1/html/Installation_Guide/chap-Installation_Guide-Software_Updates-ISSU.html Here is the associated bug number: https://bugzilla.redhat.com/show_bug.cgi?id=1091986 Thanks, Pavithra IRC name: psriniva Hi Pavithra, The command needs to be executed after upgrading all servers and starting all the volumes. It can be added in the following sections 7.1. Updating Red Hat Storage in the Offline Mode: After step 5 (i.e. starting the volumes after upgrade of the servers) and before step 6 (i.e.before upgrading the clients). 7.2.3. In Service Software Upgrade After step 12 (i.e all server nodes have been upgraded). However, I think it would be better to put this in a separate section, say "7.2.6. Post-upgrade Tasks" where we say why we need this command and then give the syntax of the command to run. Regards, Ravi Bhavana will be be taking up this task, as she has been the primary author of Rolling upgrade.
Setting flags required to add BZs to RHS 3.0 Errata
Tested with glusterfs-3.6.0.8-1.el6rhs A new option "cluster.op-version" available to set the op-version
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2014-1278.html