Bug 1642145
Summary: | devel environment unit tests fail due to jinja2 version | ||
---|---|---|---|
Product: | [Retired] Beaker | Reporter: | Bill Peck <bpeck> |
Component: | scheduler | Assignee: | Martin Styk <mastyk> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Christopher Beer <cbeer> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | develop | CC: | mastyk |
Target Milestone: | 27.0 | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-11-14 10:35:58 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Bill Peck
2018-10-23 18:38:09 UTC
I think this issue arises when the tests end up importing Jinja 2.2 from the python-jinja2-2.2.1-2.el6 package, which is too old. There is also python-jinja2-26-2.6-2.el6eng in the beaker-server repo and the code is expecting to import this instead but we might be lacking the necessary __requires__ trickery for the parallel-installable egg package. However we probably never noticed the issue in our production or development environments because there we actually have python-jinja2-2.7.2-1.el6 from the CentOS OpenStack Juno repo which overrides the version shipped in RHEL6. If you run into this issue in your development environment, the workaround is to enable OpenStack Juno repo as described here: https://beaker-project.org/docs/admin-guide/openstack.html#package-prerequisites and then yum upgrade python-jinja2. This will match what we have in production and dev right now. The proper solution would be to add the necessary __requires__ stuff (similar to what we have for CherryPy and TurboGears already) so that this works without the OpenStack repo enabled which is supposed to be optional for Beaker. __requires__ was used to force using of Jinja2 >= 2.6. |