Bug 2001789

Summary: mom uses deprecated API SafeConfigParser
Product: [oVirt] mom Reporter: Sandro Bonazzola <sbonazzo>
Component: GeneralAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED CURRENTRELEASE QA Contact: Polina <pagranat>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 0.6.1CC: ahadas, bugs, pagranat
Target Milestone: ovirt-4.5.0Keywords: CodeChange, EasyFix, ZStream
Target Release: 0.6.2Flags: sbonazzo: ovirt-4.5+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: mom-0.6.2 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-20 06:33:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2060889    

Description Sandro Bonazzola 2021-09-07 08:00:31 UTC
DeprecationWarning:
The SafeConfigParser class has been renamed to ConfigParser in Python 3.2.
This alias will be removed in future versions.
Use ConfigParser directly instead.

Comment 1 Polina 2022-03-21 08:37:39 UTC
in patch it is replaced config = configparser.SafeConfigParser() by config = configparser.ConfigParser(). no functional effect. the regression passed.

Comment 2 Sandro Bonazzola 2022-04-20 06:33:59 UTC
This bugzilla is included in oVirt 4.5.0 release, published on April 20th 2022.

Since the problem described in this bug report should be resolved in oVirt 4.5.0 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.