Bug 1018361

Summary: Gluster client is reporting the wrong version
Product: Red Hat Gluster Storage Reporter: Kevin Clevenger <kcleveng>
Component: glusterfsAssignee: Niels de Vos <ndevos>
Status: CLOSED NOTABUG QA Contact: Sudhir D <sdharane>
Severity: high Docs Contact:
Priority: high    
Version: 2.1CC: ndevos, vbellur
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-14 07:22:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Kevin Clevenger 2013-10-11 18:50:55 UTC
Description of problem:
Gluster 3.4 client reports it's version as 3.3: 
[2013-10-11 18:42:42.631280] I [client-handshake.c:1676:select_server_supported_programs] 0-vol1-client-0: Using Program GlusterFS 3.3, Num (1298437), Version (330)

Version-Release number of selected component (if applicable):
2.1

How reproducible:
Install gluster 3.4 client
Mount a gluster volume

Actual results:
Logs say the client is 3.3

Expected results:
Logs should reflect the correct version

Additional info:
glusterfs-libs-3.4.0.33rhs-1.el6rhs.x86_64
glusterfs-fuse-3.4.0.33rhs-1.el6rhs.x86_64
glusterfs-3.4.0.33rhs-1.el6rhs.x86_64

Comment 2 Niels de Vos 2013-10-14 07:22:29 UTC
Hi Kevin,

the message "Using Program GlusterFS 3.3, Num (1298437), Version (330)"
informs the reader of the logfile about the RPC-program that is used:
- name: GlusterFS 3.3
- number: 1298437
- version: 330

This is not the version of the package. glusterfs-3.4 did not introduce any
changes to the RPC-protocol and therefore the version was not incremented. In
order for binaries to cooperate with each other over the RPC protocol, both
sides need to use the same program/version combination.

The version of the packages are mentioned in each logfile. For example, a
logfile that was written by a glusterfs native-client will contain something
like this:

    Started running /usr/sbin/glusterfs version 3.4.0.33rhs

From my understanding this message contains all the details you need. I will
now close this as NOTABUG. You are free to reopen this in case you need more
details.

Niels