Source: keystone
Version: 2:9.0.0-2~bpo8+1
Severity: serious
Tags: patch

If an older version of python-routes is installed, keystone will not come up.
/var/log/keystone/keystone.log contains:

  ERROR keystone ContextualVersionConflict: (Routes 2.0 
(/usr/lib/python2.7/dist-packages), 
Requirement.parse('Routes!=2.0,!=2.1,>=1.12.3'), set(['keystone']))

Installing python-routes 2.2 fixes it.

I experienced this bug in the backports version, but as of 10.0.0-5
the dependency on python-routes is still unversioned, so I strongly
suspect this version (in testing as I write this) is affected as well.

The attached patch makes the dependency versioned for
python-keystone. It also tags a version onto the build-dependency for
good measure, although I have not tested whether building with an
older python-routes would maybe work. Feel free to ignore this part
(the first hunk) of the patch.
diff -ru keystone-10.0.0/debian/control keystone-10.0.0+/debian/control
--- keystone-10.0.0/debian/control	2016-12-18 11:52:15.000000000 +0100
+++ keystone-10.0.0+/debian/control	2017-01-12 14:16:26.591877456 +0100
@@ -61,7 +61,7 @@
                      python-pysaml2 (>= 3.0.0),
                      python-pysqlite2,
                      python-requests (>= 2.10.0),
-                     python-routes,
+                     python-routes (>= 2.2),
                      python-six (>= 1.9.0),
                      python-sqlalchemy (>= 1.0.10),
                      python-stevedore (>= 1.16.0),
@@ -124,7 +124,7 @@
          python-pymysql,
          python-pysaml2 (>= 3.0.0),
          python-pysqlite2,
-         python-routes,
+         python-routes (>= 2.2),
          python-six (>= 1.9.0),
          python-sqlalchemy (>= 1.0.10),
          python-stevedore (>= 1.16.0),

Reply via email to