Skip to content

Commit

Permalink
Ensure that pbr>=0.5.10 is installed
Browse files Browse the repository at this point in the history
A bug in PBR levels less than 0.5.10 causes the
/usr/lib/python2.X/site-packages/cinder/db/sqlalchemy/migrate_repo/migrate.cfg
file to not be properly installed.  This causes 'cinder-manage db sync'
to fail due to the missing file.

This change sets the required PBR level to >=0.5.10,<0.6 to avoid the problem.
In the case that user already has a 0.5.X level of PBR installed that is less
than 0.5.10 it should be updated rather than encountering issues as our
test system did.

Change-Id: I532158277a4acbb2f8cb75d03c91097e6d7e0312
fixes: bug 1182203
  • Loading branch information
Jay S. Bryant committed May 29, 2013
1 parent 33657e5 commit 94220b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -17,5 +17,5 @@
import setuptools

setuptools.setup(
setup_requires=['d2to1>=0.2.10,<0.3', 'pbr>=0.5,<0.6'],
setup_requires=['d2to1>=0.2.10,<0.3', 'pbr>=0.5.10,<0.6'],
d2to1=True)
2 changes: 1 addition & 1 deletion tools/pip-requires
@@ -1,5 +1,5 @@
d2to1>=0.2.10,<0.3
pbr>=0.5,<0.6
pbr>=0.5.10,<0.6
amqplib>=0.6.1
anyjson>=0.2.4
argparse
Expand Down

0 comments on commit 94220b1

Please sign in to comment.