Bug 1267508

Summary: [RFE] Replace python-cheetah with python-jinja2 within ovirt-engine
Product: [oVirt] ovirt-engine Reporter: Sandro Bonazzola <sbonazzo>
Component: ServicesAssignee: Rafael Martins <rmartins>
Status: CLOSED CURRENTRELEASE QA Contact: Jiri Belka <jbelka>
Severity: high Docs Contact:
Priority: high    
Version: 4.0.0CC: bugs, jbelka, juan.hernandez, melewis, ylavi
Target Milestone: ovirt-4.0.0-alphaKeywords: FutureFeature
Target Release: 4.0.0Flags: rule-engine: ovirt-4.0.0+
pnovotny: testing_plan_complete-
ylavi: planning_ack+
sbonazzo: devel_ack+
pnovotny: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
URL: http://jinja.pocoo.org/
Whiteboard:
Fixed In Version: ovirt 4.0.0 alpha1 Doc Type: Enhancement
Doc Text:
With this update, python-cheetah was replaced with python-jinja2 as the template-engine for services configuration files. This update was required as python-cheetah stopped receiving updates in 2012 and is not available in Red Hat Enterprise Linux 7.2.
Story Points: ---
Clone Of:
: 1323580 (view as bug list) Environment:
Last Closed: 2016-07-05 07:42:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1302228, 1323580    

Description Sandro Bonazzola 2015-09-30 08:29:14 UTC
ovirt-engine is using python-cheetah for handling the templates used within the project.

python-cheetah didn't receive updates since 2012 and is not available on RHEL 7.2.

Since we're dropping el6 support in 4.0 we should migrate to a template engine available in el7 like python-jinja2[1] which is
available in 7.2 and still actively developed (last commit is on August
6th).

[1] http://jinja.pocoo.org/

Comment 1 Sandro Bonazzola 2015-09-30 08:30:26 UTC
Juan if we migrate to python-jinja2 will it require changes on Java side as well?

Comment 2 Juan Hernández 2015-09-30 08:33:38 UTC
I believe it won't require changes in the Java side.

Comment 3 Red Hat Bugzilla Rules Engine 2015-10-19 11:00:17 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 4 Jiri Belka 2016-07-01 09:29:23 UTC
ok,

[root@jb-rhevm40 ~]# rpm -qR ovirt-engine-backend | grep python-
python-jinja2
[root@jb-rhevm40 ~]# rpm -qa \*cheetah\*
[root@jb-rhevm40 ~]# rpm -q ovirt-engine-backend
ovirt-engine-backend-4.0.0.6-0.1.el7ev.noarch

Comment 5 Sandro Bonazzola 2016-07-05 07:42:57 UTC
oVirt 4.0.0 has been released, closing current release.