When I try to install Rally on Debian Wheezy (as root), I get an error near the end, when rally-manage runs.
Here is the interesting bit from my output:
#bash install_rally.sh -s
…
Successfully installed Babel-2.1.1 Mako-1.0.2 PrettyTable-0.7.2 Pygments-2.0.2 SQLAlchemy-1.0.9 Tempita-0.5.2 alembic-0.8.3 anyjson-0.3.3 appdirs-1.4.0 boto-2.38.0 cliff-1.15.0 cmd2-0.6.8 debtcollector-0.10.0 decorator-4.0.4 docutils-0.12 dogpile.cache-0.5.7 dogpile.core-0.4.1 ecdsa-0.13 extras-0.0.3 fixtures-1.4.0 functools32-3.2.3-2 futures-3.0.3 httplib2-0.9.2 iso8601-0.1.10 jsonpatch-1.11 jsonpointer-1.9 jsonschema-2.5.1 keystoneauth1-1.2.0 linecache2-1.0.0 lxml-3.4.4 monotonic-0.4 msgpack-python-0.4.6 netaddr-0.7.18 netifaces-0.10.4 ordereddict-1.1 os-client-config-1.9.0 oslo.config-2.6.0 oslo.context-0.8.0 oslo.db-3.1.0 oslo.i18n-2.7.0 oslo.log-1.13.0 oslo.serialization-1.11.0 oslo.utils-2.7.0 paramiko-1.15.3 pyinotify-0.9.6 pyparsing-2.0.3 python-ceilometerclient-1.5.0 python-cinderclient-1.4.0 python-designateclient-1.5.0 python-editor-0.4 python-glanceclient-1.1.0 python-heatclient-0.8.0 python-ironicclient-0.9.0 python-keystoneclient-1.8.1 python-manilaclient-1.5.0 python-mimeparse-0.1.4 python-neutronclient-3.1.0 python-novaclient-2.32.0 python-openstackclient-1.8.0 python-saharaclient-0.11.1 python-subunit-1.1.0 python-swiftclient-2.6.0 python-troveclient-1.3.0 python-zaqarclient-0.2.0 rally-0.1.2.dev80 requests-2.8.1 simplejson-3.8.0 six-1.10.0 sphinx-1.2.3 sqlalchemy-migrate-0.10.0 sqlparse-0.1.16 stevedore-1.9.0 testtools-1.8.0 traceback2-1.4.0 unicodecsv-0.14.1 unittest2-1.1.0 warlock-1.2.0 wrapt-1.10.5
Traceback (most recent call last):
File "/usr/local/bin/rally-manage", line 6, in <module>
from rally.cli.manage import main
File "/usr/local/lib/python2.7/dist-packages/rally/cli/manage.py", line 22, in <module>
from rally.cli import cliutils
File "/usr/local/lib/python2.7/dist-packages/rally/cli/cliutils.py", line 33, in <module>
from rally.common import log as logging
File "/usr/local/lib/python2.7/dist-packages/rally/common/log.py", line 19, in <module>
from oslo_log import handlers
File "/usr/local/lib/python2.7/dist-packages/oslo_log/handlers.py", line 23, in <module>
from debtcollector import removals
File "/usr/local/lib/python2.7/dist-packages/debtcollector/__init__.py", line 20, in <module>
'debtcollector').version_string()
File "/usr/local/lib/python2.7/dist-packages/pbr/version.py", line 457, in version_string
return self.semantic_version().brief_string()
File "/usr/local/lib/python2.7/dist-packages/pbr/version.py", line 452, in semantic_version
self._semantic = self._get_version_from_pkg_resources()
File "/usr/local/lib/python2.7/dist-packages/pbr/version.py", line 439, in _get_version_from_pkg_resources
result_string = packaging.get_version(self.package)
File "/usr/local/lib/python2.7/dist-packages/pbr/packaging.py", line 668, in get_version
raise Exception("Versioning for this project requires either an sdist"
Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. Are you sure that git is installed?
It might not be directly related to Rally but I haven't found any relevant information regarding this problem.
Any idea how to fix this?