Why do we see the message "DeprecationWarning: BaseException.message has been deprecated as of Python 2.6" while doing a yum update on Red Hat Storage 2.0 ?

Solution Verified - Updated -

Issue

  • Running yum update on a Red Hat Storage 2.0 node shows up the following error messages:
...
Updating   : glusterfs-3.3.0.5rhs-37.el6rhs.x86_64                       1/44 
Updating   : glusterfs-fuse-3.3.0.5rhs-37.el6rhs.x86_64                  2/44 
Updating   : vdsm-python-4.9.6-16.el6rhs.noarch                          3/44 
Updating   : glusterfs-server-3.3.0.5rhs-37.el6rhs.x86_64                4/44 
/usr/libexec/glusterfs/python/syncdaemon/syncdutils.py:174: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6 logging.error(exc.message)
[2013-02-05 08:37:49.1724] E [syncdutils:174:log_raise_exception] <top>: not a valid option: socketdir
/usr/libexec/glusterfs/python/syncdaemon/syncdutils.py:175: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6 sys.stderr.write('failure: ' + exc.message + "\n") failure: not a valid option: socketdir
Updating   : 1:dmidecode-2.11-2.el6_1.x86_64                             5/44 
Updating   : kernel-firmware-2.6.32-220.31.1.el6.noarch                  6/44 
  ...
  • The 'glusterd' services and related processes are not running after the update.

Environment

  • Red Hat Storage Server 2.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content