Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1413078 - Deprecation warning about BaseException.message in a log
Deprecation warning about BaseException.message in a log
Status: CLOSED ERRATA
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: mom (Show other bugs)
4.0.3
Unspecified Unspecified
medium Severity high
: ovirt-4.0.7
: ---
Assigned To: Martin Sivák
Artyom
: Triaged
Depends On: 1370081
Blocks: 1425219
  Show dependency treegraph
 
Reported: 2017-01-13 10:02 EST by vaibhav
Modified: 2017-11-16 08:59 EST (History)
18 users (show)

See Also:
Fixed In Version: mom-0.5.9-1
Doc Type: Bug Fix
Doc Text:
This update removes a deprecation warning about BaseException.message from the log file.
Story Points: ---
Clone Of: 1370081
Environment:
Last Closed: 2017-03-16 11:41:27 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: SLA
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0551 normal SHIPPED_LIVE MOM bugfix update 2017-03-16 15:27:18 EDT

  None (edit)
Description vaibhav 2017-01-13 10:02:32 EST
+++ This bug was initially created as a clone of Bug #1370081 +++

Description of problem:

i get every minute a message in var log messages:

momd: /usr/lib/python2.7/site-packages/mom/Collectors/GuestMemory.py:52: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
momd: self.stats_error('getVmMemoryStats(): %s' % e.message)

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

oVirt Engine Version: 4.0.2.7-1.el7.centos

How reproducible:

Always

Reported by:

Wolfgang Bucher <wolfgang.bucher@netland-mn.de> using the ovirt mailing lists

--- Additional comment from Michal Skrivanek on 2016-11-10 06:37:15 EST ---

I'm requesting .z fix since it's annoying/useless and spams system logs as well(not just mom.log), increasing size, potentially affecting performance on super-busy systems
Comment 13 Artyom 2017-02-28 06:27:09 EST
Verified on mom-0.5.9-1.el7ev.noarch

System runs with the new mom package more than one day, no DeprecationWarning: BaseException.message under the messages
Comment 16 errata-xmlrpc 2017-03-16 11:41:27 EDT
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.

https://rhn.redhat.com/errata/RHBA-2017-0551.html

Note You need to log in before you can comment on or make changes to this bug.