Rally can't create verifiers if latest pip

Bug #1772377 reported by Cédric OLLIVIER
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rally
Fix Released
Undecided
Unassigned

Bug Description

(vs stable/0.10 & 0.11.2)

$ pip -V
pip 10.0.1 from /usr/lib/python2.7/site-packages/pip (python 2.7)

$ rally verify create-verifier --source /src/tempest --name opnfv-tempest --type tempest --system-wide
2018-05-21 08:23:45.392 335 INFO rally.api [-] Creating verifier 'opnfv-tempest'.
2018-05-21 08:23:45.458 335 INFO rally.verification.manager [-] Cloning verifier repo from /src/tempest.
Command failed, please check log for more info
2018-05-21 08:23:45.658 335 CRITICAL rally [-] Unhandled error: AttributeError: 'module' object has no attribute 'req'
2018-05-21 08:23:45.658 335 ERROR rally Traceback (most recent call last):
2018-05-21 08:23:45.658 335 ERROR rally File "/usr/bin/rally", line 10, in <module>
2018-05-21 08:23:45.658 335 ERROR rally sys.exit(main())
2018-05-21 08:23:45.658 335 ERROR rally File "/usr/lib/python2.7/site-packages/rally/cli/main.py", line 40, in main
2018-05-21 08:23:45.658 335 ERROR rally return cliutils.run(sys.argv, categories)
2018-05-21 08:23:45.658 335 ERROR rally File "/usr/lib/python2.7/site-packages/rally/cli/cliutils.py", line 678, in run
2018-05-21 08:23:45.658 335 ERROR rally ret = fn(*fn_args, **fn_kwargs)
2018-05-21 08:23:45.658 335 ERROR rally File "<decorator-gen-44>", line 2, in create_verifier
2018-05-21 08:23:45.658 335 ERROR rally File "/usr/lib/python2.7/site-packages/rally/plugins/__init__.py", line 55, in ensure_plugins_are_loaded
2018-05-21 08:23:45.658 335 ERROR rally return f(*args, **kwargs)
2018-05-21 08:23:45.658 335 ERROR rally File "/usr/lib/python2.7/site-packages/rally/cli/commands/verify.py", line 146, in create_verifier
2018-05-21 08:23:45.658 335 ERROR rally version=version, system_wide=system_wide, extra_settings=extra)
2018-05-21 08:23:45.658 335 ERROR rally File "/usr/lib/python2.7/site-packages/rally/api.py", line 700, in create
2018-05-21 08:23:45.658 335 ERROR rally verifier.manager.install()
2018-05-21 08:23:45.658 335 ERROR rally File "/usr/lib/python2.7/site-packages/rally/plugins/common/verification/testr.py", line 103, in install
2018-05-21 08:23:45.658 335 ERROR rally super(TestrLauncher, self).install()
2018-05-21 08:23:45.658 335 ERROR rally File "/usr/lib/python2.7/site-packages/rally/verification/manager.py", line 237, in install
2018-05-21 08:23:45.658 335 ERROR rally self.check_system_wide()
2018-05-21 08:23:45.658 335 ERROR rally File "/usr/lib/python2.7/site-packages/rally/verification/manager.py", line 282, in check_system_wide
2018-05-21 08:23:45.658 335 ERROR rally [r.name.lower() for r in pip.req.parse_requirements(
2018-05-21 08:23:45.658 335 ERROR rally AttributeError: 'module' object has no attribute 'req'
2018-05-21 08:23:45.658 335 ERROR rally

Revision history for this message
Andriy Kurilin (andreykurilin) wrote :

Hi! it is fixed with Rally 0.12

Changed in rally:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.