| Summary: | Deprecation warning about BaseException.message in a log | |||
|---|---|---|---|---|
| Product: | [oVirt] mom | Reporter: | Martin Sivák <msivak> | |
| Component: | Core | Assignee: | Andrej Krejcir <akrejcir> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Artyom <alukiano> | |
| Severity: | high | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 0.5.5 | CC: | akrejcir, baptiste.agasse, bugs, dfediuck, mavital, mgoldboi, michal.skrivanek, rik.theys, sbonazzo | |
| Target Milestone: | ovirt-4.1.1 | Keywords: | Triaged | |
| Target Release: | 0.5.9 | Flags: | rule-engine:
ovirt-4.0.z+
rule-engine: ovirt-4.1+ mgoldboi: planning_ack+ dfediuck: devel_ack+ mavital: testing_ack+ |
|
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | No Doc Update | ||
| Doc Text: |
undefined
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1413078 (view as bug list) | Environment: | ||
| Last Closed: | 2017-04-21 09:29:24 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | SLA | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Bug Depends On: | ||||
| Bug Blocks: | 1413078 | |||
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 4.0.6 has been the last oVirt 4.0 release, please re-target this bug. 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 |
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> using the ovirt mailing lists