verify create-verifier failed

Bug #1714923 reported by Chiawei Xie
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rally
Expired
Undecided
Unassigned

Bug Description

Follow this doc https://rally.readthedocs.io/en/latest/quick_start/tutorial/step_9_verifying_cloud_via_tempest_verifier.html#start-a-verification

Already Rally installation and registered an OpenStack deployment in Rally,
and use command:" rally verify create-verifier --type tempest --name tempest-verifier".

But got error message:

2017-09-04 17:57:57.312 12915 INFO rally.api [-] Creating verifier 'tempest-verifier'.
2017-09-04 17:57:57.364 12915 INFO rally.verification.manager [-] Cloning verifier repo from https://git.openstack.org/openstack/tempest.: ResourceNotFound: Resource with id=tempest-verifier not found.
2017-09-04 17:58:16.520 12915 INFO rally.verification.manager [-] Creating virtual environment. It may take a few minutes.: ResourceNotFound: Resource with id=tempest-verifier not found.
Command failed, please check log for more info
2017-09-04 17:58:16.544 12915 CRITICAL rally [-] Unhandled error: OSError: [Errno 2] No such file or directory
2017-09-04 17:58:16.544 12915 ERROR rally Traceback (most recent call last):
2017-09-04 17:58:16.544 12915 ERROR rally File "./rally", line 10, in <module>
2017-09-04 17:58:16.544 12915 ERROR rally sys.exit(main())
2017-09-04 17:58:16.544 12915 ERROR rally File "/home/localadmin/rally/local/lib/python2.7/site-packages/rally/cli/main.py", line 40, in main
2017-09-04 17:58:16.544 12915 ERROR rally return cliutils.run(sys.argv, categories)
2017-09-04 17:58:16.544 12915 ERROR rally File "/home/localadmin/rally/local/lib/python2.7/site-packages/rally/cli/cliutils.py", line 660, in run
2017-09-04 17:58:16.544 12915 ERROR rally ret = fn(*fn_args, **fn_kwargs)
2017-09-04 17:58:16.544 12915 ERROR rally File "<decorator-gen-44>", line 2, in create_verifier
2017-09-04 17:58:16.544 12915 ERROR rally File "/home/localadmin/rally/local/lib/python2.7/site-packages/rally/plugins/__init__.py", line 51, in ensure_plugins_are_loaded
2017-09-04 17:58:16.544 12915 ERROR rally return f(*args, **kwargs)
2017-09-04 17:58:16.544 12915 ERROR rally File "/home/localadmin/rally/local/lib/python2.7/site-packages/rally/cli/commands/verify.py", line 143, in create_verifier
2017-09-04 17:58:16.544 12915 ERROR rally version=version, system_wide=system_wide, extra_settings=extra)
2017-09-04 17:58:16.544 12915 ERROR rally File "/home/localadmin/rally/local/lib/python2.7/site-packages/rally/api.py", line 640, in create
2017-09-04 17:58:16.544 12915 ERROR rally verifier.manager.install()
2017-09-04 17:58:16.544 12915 ERROR rally File "/home/localadmin/rally/local/lib/python2.7/site-packages/rally/plugins/common/verification/testr.py", line 105, in install
2017-09-04 17:58:16.544 12915 ERROR rally super(TestrLauncher, self).install()
2017-09-04 17:58:16.544 12915 ERROR rally File "/home/localadmin/rally/local/lib/python2.7/site-packages/rally/verification/manager.py", line 240, in install
2017-09-04 17:58:16.544 12915 ERROR rally self.install_venv()
2017-09-04 17:58:16.544 12915 ERROR rally File "/home/localadmin/rally/local/lib/python2.7/site-packages/rally/verification/manager.py", line 267, in install_venv
2017-09-04 17:58:16.544 12915 ERROR rally "in %s directory." % self.venv_dir)
2017-09-04 17:58:16.544 12915 ERROR rally File "/home/localadmin/rally/local/lib/python2.7/site-packages/rally/verification/utils.py", line 53, in check_output
2017-09-04 17:58:16.544 12915 ERROR rally output = subprocess.check_output(*args, **kwargs)
2017-09-04 17:58:16.544 12915 ERROR rally File "/usr/lib/python2.7/subprocess.py", line 567, in check_output
2017-09-04 17:58:16.544 12915 ERROR rally process = Popen(stdout=PIPE, *popenargs, **kwargs)
2017-09-04 17:58:16.544 12915 ERROR rally File "/usr/lib/python2.7/subprocess.py", line 711, in __init__
2017-09-04 17:58:16.544 12915 ERROR rally errread, errwrite)
2017-09-04 17:58:16.544 12915 ERROR rally File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child
2017-09-04 17:58:16.544 12915 ERROR rally raise child_exception
2017-09-04 17:58:16.544 12915 ERROR rally OSError: [Errno 2] No such file or directory
2017-09-04 17:58:16.544 12915 ERROR rally

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

Can you check that `virtualenv` package is installed?

Changed in rally:
status: New → Incomplete
Revision history for this message
Chiawei Xie (dommgifer) wrote :

@Andrey Kurilin

Thank you for your advice, it work!

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Rally because there has been no activity for 60 days.]

Changed in rally:
status: Incomplete → Expired
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.