[Bugs] [Bug 1217378] New: librdmacm: warning/error during upgrade/downgrade

bugzilla at redhat.com bugzilla at redhat.com
Thu Apr 30 09:12:25 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1217378

            Bug ID: 1217378
           Summary: librdmacm: warning/error during upgrade/downgrade
           Product: GlusterFS
           Version: mainline
         Component: rdma
          Severity: medium
          Assignee: bugs at gluster.org
          Reporter: rtalur at redhat.com
                CC: aavati at redhat.com, gluster-bugs at redhat.com,
                    nlevinki at redhat.com, pprakash at redhat.com,
                    rtalur at redhat.com, rwheeler at redhat.com,
                    sgraf at redhat.com, storage-qa-internal at redhat.com,
                    vagarwal at redhat.com
        Depends On: 1160412
            Blocks: 1117272, 1202842
             Group: redhat



+++ This bug was initially created as a clone of Bug #1160412 +++

Description of problem:
=======================

During upgrade downgrade of glusterfs-rdma, librdmacm reports warnings and
fatal error:
librdmacm: Warning: couldn't read ABI version.
librdmacm: Warning: assuming: 4
librdmacm: Fatal: unable to get RDMA device list


Version-Release number of selected component (if applicable):
=============================================================
glusterfs-3.6.0.29-3.el6rhs

How reproducible:
=================
100%

--- Additional comment from Prasanth on 2015-03-25 20:34:50 IST ---

This is seen during "yum reinstall as well". See below:

############
[root at dhcp43-122 up2date]# yum reinstall glusterfs glusterfs-server
glusterfs-fuse glusterfs-api glusterfs-libs glusterfs-geo-replication
glusterfs-rdma
Loaded plugins: aliases, changelog, downloadonly, product-id, security,
subscription-manager, tmprepo, verify, versionlock
Setting up Reinstall Process
Resolving Dependencies
--> Running transaction check
---> Package glusterfs.x86_64 0:3.6.0.53-1.el6rhs will be reinstalled
---> Package glusterfs-api.x86_64 0:3.6.0.53-1.el6rhs will be reinstalled
---> Package glusterfs-fuse.x86_64 0:3.6.0.53-1.el6rhs will be reinstalled
---> Package glusterfs-geo-replication.x86_64 0:3.6.0.53-1.el6rhs will be
reinstalled
---> Package glusterfs-libs.x86_64 0:3.6.0.53-1.el6rhs will be reinstalled
---> Package glusterfs-rdma.x86_64 0:3.6.0.53-1.el6rhs will be reinstalled
---> Package glusterfs-server.x86_64 0:3.6.0.53-1.el6rhs will be reinstalled
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================================================================================
 Package                                            Arch                       
    Version                                       Repository                   
                         Size
==============================================================================================================================================================================================
Reinstalling:
 glusterfs                                          x86_64                     
    3.6.0.53-1.el6rhs                             rhs-3-for-rhel-6-server-rpms 
                        1.3 M
 glusterfs-api                                      x86_64                     
    3.6.0.53-1.el6rhs                             rhs-3-for-rhel-6-server-rpms 
                         61 k
 glusterfs-fuse                                     x86_64                     
    3.6.0.53-1.el6rhs                             rhs-3-for-rhel-6-server-rpms 
                         82 k
 glusterfs-geo-replication                          x86_64                     
    3.6.0.53-1.el6rhs                             rhs-3-for-rhel-6-server-rpms 
                        155 k
 glusterfs-libs                                     x86_64                     
    3.6.0.53-1.el6rhs                             rhs-3-for-rhel-6-server-rpms 
                        273 k
 glusterfs-rdma                                     x86_64                     
    3.6.0.53-1.el6rhs                             rhs-3-for-rhel-6-server-rpms 
                         40 k
 glusterfs-server                                   x86_64                     
    3.6.0.53-1.el6rhs                             rhs-3-for-rhel-6-server-rpms 
                        705 k

Transaction Summary
==============================================================================================================================================================================================
Reinstall     7 Package(s)

Total download size: 2.6 M
Installed size: 9.0 M
Is this ok [y/N]: y
Downloading Packages:
(1/7): glusterfs-3.6.0.53-1.el6rhs.x86_64.rpm                                  
                                                                               
       | 1.3 MB     00:06     
(2/7): glusterfs-api-3.6.0.53-1.el6rhs.x86_64.rpm                              
                                                                               
       |  61 kB     00:00     
(3/7): glusterfs-fuse-3.6.0.53-1.el6rhs.x86_64.rpm                             
                                                                               
       |  82 kB     00:00     
(4/7): glusterfs-geo-replication-3.6.0.53-1.el6rhs.x86_64.rpm                  
                                                                               
       | 155 kB     00:02     
(5/7): glusterfs-libs-3.6.0.53-1.el6rhs.x86_64.rpm                             
                                                                               
       | 273 kB     00:01     
(6/7): glusterfs-rdma-3.6.0.53-1.el6rhs.x86_64.rpm                             
                                                                               
       |  40 kB     00:00     
(7/7): glusterfs-server-3.6.0.53-1.el6rhs.x86_64.rpm                           
                                                                               
       | 705 kB     00:03     
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                          
                                                                             
135 kB/s | 2.6 MB     00:19     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : glusterfs-libs-3.6.0.53-1.el6rhs.x86_64                         
                                                                               
                          1/7 
  Installing : glusterfs-api-3.6.0.53-1.el6rhs.x86_64                          
                                                                               
                          2/7 
  Installing : glusterfs-3.6.0.53-1.el6rhs.x86_64                              
                                                                               
                          3/7 
  Installing : glusterfs-fuse-3.6.0.53-1.el6rhs.x86_64                         
                                                                               
                          4/7 
  Installing : glusterfs-server-3.6.0.53-1.el6rhs.x86_64                       
                                                                               
                          5/7 
error reading information on service glusterfsd: No such file or directory
librdmacm: Warning: couldn't read ABI version.
librdmacm: Warning: assuming: 4
librdmacm: Fatal: unable to get RDMA device list
  Installing : glusterfs-geo-replication-3.6.0.53-1.el6rhs.x86_64              
                                                                               
                          6/7 
  Installing : glusterfs-rdma-3.6.0.53-1.el6rhs.x86_64                         
                                                                               
                          7/7 
  Verifying  : glusterfs-server-3.6.0.53-1.el6rhs.x86_64                       
                                                                               
                          1/7 
  Verifying  : glusterfs-3.6.0.53-1.el6rhs.x86_64                              
                                                                               
                          2/7 
  Verifying  : glusterfs-api-3.6.0.53-1.el6rhs.x86_64                          
                                                                               
                          3/7 
  Verifying  : glusterfs-libs-3.6.0.53-1.el6rhs.x86_64                         
                                                                               
                          4/7 
  Verifying  : glusterfs-fuse-3.6.0.53-1.el6rhs.x86_64                         
                                                                               
                          5/7 
  Verifying  : glusterfs-rdma-3.6.0.53-1.el6rhs.x86_64                         
                                                                               
                          6/7 
  Verifying  : glusterfs-geo-replication-3.6.0.53-1.el6rhs.x86_64              
                                                                               
                          7/7 

Installed:
  glusterfs.x86_64 0:3.6.0.53-1.el6rhs        glusterfs-api.x86_64
0:3.6.0.53-1.el6rhs    glusterfs-fuse.x86_64 0:3.6.0.53-1.el6rhs    
glusterfs-geo-replication.x86_64 0:3.6.0.53-1.el6rhs  
  glusterfs-libs.x86_64 0:3.6.0.53-1.el6rhs   glusterfs-rdma.x86_64
0:3.6.0.53-1.el6rhs   glusterfs-server.x86_64 0:3.6.0.53-1.el6rhs  

Complete!
############

Please consider fixing it for the next update release as these warnings doesn't
look good to the users.

--- Additional comment from Raghavendra Talur on 2015-04-29 21:24:33 IST ---

RCA:

As part of the yum upgrade procedure, when glusterfs-server is updated
we run glusterd in no daemon mode along with upgrade option with this
command.

glusterd --xlator-option *.upgrade=on -N

This helps us update our vol files with new defaults along with
few other things.(say we added a new xlator which we want as default).

Starting in no daemon mode has a problem though, we leave our stdout,
stdin and stderr open. This can cause messages to be printed on the
console from any of the libs that we load.

We have seen this problem with librdmacm, it prints out these
messages on screen

librdmacm: Warning: couldn't read ABI version.
librdmacm: Warning: assuming: 4
librdmacm: Fatal: unable to get RDMA device list

This messages in my opinion are not really fatal, mainly because librdmacm
being a library also gives out proper return status to the developer using the
library to interpret the errors and developer can log the proper message
to expected log place(either stderr or a log file). In fact, we do that in
glusterd logs.

Have started a thread in gluster-devel asking if we can start glusterd in
daemon mode even during upgrade like we do in normal cases, hence avoiding
the console error. If accepted, this bug should be closed from gluster
perspective.


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1202842
[Bug 1202842] [TRACKER] RHS 3.1 Tracker BZ
-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Bugs mailing list