Bug 1323580 - [RFE] Replace python-cheetah with python-jinja2 within ovirt-engine-reports
Summary: [RFE] Replace python-cheetah with python-jinja2 within ovirt-engine-reports
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: ovirt-engine-reports
Classification: Retired
Component: Services
Version: 3.6.5
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Yedidyah Bar David
QA Contact: Lukas Svaty
URL: http://jinja.pocoo.org/
Whiteboard:
Depends On: 1267508
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-04 07:30 UTC by Yedidyah Bar David
Modified: 2017-05-11 09:27 UTC (History)
10 users (show)

Fixed In Version:
Clone Of: 1267508
Environment:
Last Closed: 2016-05-30 12:22:45 UTC
oVirt Team: Integration
Embargoed:
sbonazzo: ovirt-4.1?
pnovotny: testing_plan_complete-
mgoldboi: planning_ack+
sbonazzo: devel_ack+
pstehlik: testing_ack+


Attachments (Terms of Use)

Description Yedidyah Bar David 2016-04-04 07:30:42 UTC
+++ This bug was initially created as a clone of Bug #1267508 +++

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/

--- Additional comment from Sandro Bonazzola on 2015-09-30 11:30:26 IDT ---

Juan if we migrate to python-jinja2 will it require changes on Java side as well?

--- Additional comment from Juan Hernández on 2015-09-30 11:33:38 IDT ---

I believe it won't require changes in the Java side.

--- Additional comment from Red Hat Bugzilla Rules Engine on 2015-10-19 14:00:17 IDT ---

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 1 Yedidyah Bar David 2016-04-04 07:33:33 UTC
Currently reportsd start fails with:

Apr 04 09:59:36 didi-centos7.eng.lab.tlv.redhat.com ovirt-engine-re[25632]: 2016-04-04 09:59:36,047 ovirt-engine-reportsd: ERROR run:532 Error: cannot find 'getstring'

getstring was removed from engine/common code as part of the engine clone bug 1267508.

I am not going to restore it or open a different bug about this, instead migrate reports to jinja2 too.

Comment 2 Sandro Bonazzola 2016-05-02 09:59:42 UTC
Moving from 4.0 alpha to 4.0 beta since 4.0 alpha has been already released and bug is not ON_QA.

Comment 3 Sandro Bonazzola 2016-05-05 12:45:59 UTC
Re-targeting to 4.1 since 4.0 won't have reports.

Comment 5 Yedidyah Bar David 2016-05-30 12:22:45 UTC
Closing for now. Please reopen if relevant.


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