Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@fbc05d4ff01c:~# functest env prepare
- 2017-02-28 23:01:46,151 - prepare_env - INFO - ######### Preparing Functest environment #########
- 2017-02-28 23:01:46,151 - prepare_env - INFO - ==============================================
- 2017-02-28 23:01:46,152 - prepare_env - INFO - Checking environment variables...
- 2017-02-28 23:01:46,152 - prepare_env - INFO - INSTALLER_TYPE=fuel
- 2017-02-28 23:01:46,152 - prepare_env - INFO - INSTALLER_IP=10.20.0.2
- 2017-02-28 23:01:46,152 - prepare_env - INFO - DEPLOY_SCENARIO=os-nosdn-nofeature-noha
- 2017-02-28 23:01:46,152 - prepare_env - INFO - CI_DEBUG=false
- 2017-02-28 23:01:46,152 - prepare_env - INFO - NODE_NAME=unknown_pod
- 2017-02-28 23:01:59,861 - prepare_env - INFO - ==============================================
- 2017-02-28 23:01:59,863 - prepare_env - INFO - Creating needed directories...
- 2017-02-28 23:01:59,863 - prepare_env - INFO - ==============================================
- 2017-02-28 23:01:59,864 - prepare_env - INFO - Fetching RC file...
- 2017-02-28 23:01:59,864 - prepare_env - INFO - RC file provided in /home/opnfv/functest/conf/openstack.creds.
- 2017-02-28 23:01:59,864 - prepare_env - INFO - Sourcing the OpenStack RC file...
- 2017-02-28 23:01:59,874 - prepare_env - INFO - ==============================================
- 2017-02-28 23:01:59,874 - prepare_env - INFO - Verifying OpenStack services...
- 2017-02-28 23:01:59,888 - prepare_env - INFO - Checking OpenStack endpoints:
- 2017-02-28 23:02:01,931 - prepare_env - INFO - >>Verifying connectivity to the public endpoint 172.16.0.98:5000...
- 2017-02-28 23:02:01,946 - prepare_env - INFO - ...OK
- 2017-02-28 23:02:03,594 - prepare_env - INFO - >>Verifying connectivity to the admin endpoint 192.168.0.98:35357...
- 2017-02-28 23:02:03,600 - prepare_env - INFO - ...OK
- 2017-02-28 23:02:03,601 - prepare_env - INFO - Checking Required OpenStack services:
- 2017-02-28 23:02:03,601 - prepare_env - INFO - >>Checking nova service...
- 2017-02-28 23:02:08,132 - prepare_env - INFO - ...OK
- 2017-02-28 23:02:08,132 - prepare_env - INFO - >>Checking neutron service...
- 2017-02-28 23:02:12,489 - prepare_env - INFO - ...OK
- 2017-02-28 23:02:12,490 - prepare_env - INFO - >>Checking keystone service...
- 2017-02-28 23:02:19,033 - prepare_env - INFO - ...OK
- 2017-02-28 23:02:19,033 - prepare_env - INFO - >>Checking glance service...
- 2017-02-28 23:02:23,256 - prepare_env - INFO - ...OK
- 2017-02-28 23:02:23,257 - prepare_env - INFO - Required OpenStack services are OK.
- 2017-02-28 23:02:23,257 - prepare_env - INFO - Checking Optional OpenStack services:
- 2017-02-28 23:02:23,257 - prepare_env - INFO - >>Checking cinder service...
- 2017-02-28 23:02:27,431 - prepare_env - INFO - ...OK
- 2017-02-28 23:02:27,431 - prepare_env - INFO - Checking External network...
- 2017-02-28 23:02:31,581 - prepare_env - INFO - External network found: 35dbb7ea-3821-4cd8-815d-627c8b0089ab
- 2017-02-28 23:02:31,583 - prepare_env - INFO - ==============================================
- 2017-02-28 23:02:31,583 - prepare_env - INFO - Creating Rally environment...
- Deployment opnfv-rally not found.
- 2017-02-28 23:02:35.153 198 INFO rally.deployment.engine [-] Deployment 94bbfa3b-860f-478d-a04d-2b0dd70bbd8f | Starting: OpenStack cloud deployment.
- 2017-02-28 23:02:35.177 198 INFO rally.deployment.engine [-] Deployment 94bbfa3b-860f-478d-a04d-2b0dd70bbd8f | Completed: OpenStack cloud deployment.
- +--------------------------------------+----------------------------+-------------+------------------+--------+
- | uuid | created_at | name | status | active |
- +--------------------------------------+----------------------------+-------------+------------------+--------+
- | 94bbfa3b-860f-478d-a04d-2b0dd70bbd8f | 2017-02-28 23:02:35.130081 | opnfv-rally | deploy->finished | |
- +--------------------------------------+----------------------------+-------------+------------------+--------+
- Using deployment: 94bbfa3b-860f-478d-a04d-2b0dd70bbd8f
- ~/.rally/openrc was updated
- HINTS:
- * To use standard OpenStack clients, set up your env by running:
- source ~/.rally/openrc
- OpenStack clients are now configured, e.g run:
- openstack image list
- keystone endpoints are valid and following services are available:
- +-------------+----------------+-----------+
- | services | type | status |
- +-------------+----------------+-----------+
- | __unknown__ | artifact | Available |
- | __unknown__ | compute_legacy | Available |
- | __unknown__ | volumev2 | Available |
- | __unknown__ | volumev3 | Available |
- | cinder | volume | Available |
- | cloud | cloudformation | Available |
- | glance | image | Available |
- | heat | orchestration | Available |
- | keystone | identity | Available |
- | neutron | network | Available |
- | nova | compute | Available |
- | s3 | s3 | Available |
- | swift | object-store | Available |
- +-------------+----------------+-----------+
- NOTE: '__unknown__' service name means that Keystone service catalog doesn't return name for this service and Rally can not identify service by its type. BUT you still can use such services with api_versions context, specifying type of service (execute `rally plugin show api_versions` for more details).
- +--------------------------------------+----------------------------+-------------+------------------+--------+
- | uuid | created_at | name | status | active |
- +--------------------------------------+----------------------------+-------------+------------------+--------+
- | 94bbfa3b-860f-478d-a04d-2b0dd70bbd8f | 2017-02-28 23:02:35.130081 | opnfv-rally | deploy->finished | * |
- +--------------------------------------+----------------------------+-------------+------------------+--------+
- +----------------------+----------------------------------------------------------------+-----------+-------------------------------------------------------------------------+
- | Plugin base | Name | Namespace | Title |
- +----------------------+----------------------------------------------------------------+-----------+-------------------------------------------------------------------------+
- | Chart | Lines | default | Display results as generic chart with lines. |
- | Chart | Pie | default | Display results as pie, calculate average values for additive data. |
- 2017-02-28 23:02:39,163 - prepare_env - INFO - Installing tempest from existing repo...
- 2017-02-28 23:02:42.258 237 INFO rally.api [-] Creating verifier 'opnfv-tempest'.
- 2017-02-28 23:02:42.350 237 INFO rally.verification.manager [-] Cloning verifier repo from /home/opnfv/repos/tempest.
- 2017-02-28 23:02:42.607 237 INFO rally.verification.manager [-] Creating virtual environment. It may take a few minutes.
- 2017-02-28 23:10:29.134 237 ERROR rally.verification.utils [-] Failed cmd: '['pip', 'install', '-e', './']'
- 2017-02-28 23:10:29.135 237 ERROR rally.verification.utils [-] Error output: 'Obtaining file:///home/opnfv/.rally/verification/verifier-d1be7dd1-1604-41e3-a27f-d1378aa90859/repo
- Complete output from command python setup.py egg_info:
- Download error on https://pypi.python.org/simple/pbr/: [Errno -2] Name or service not known -- Some packages may not be found!
- Couldn't find index page for 'pbr' (maybe misspelled?)
- Download error on https://pypi.python.org/simple/: [Errno -2] Name or service not known -- Some packages may not be found!
- No local packages or working download links found for pbr>=1.8
- Traceback (most recent call last):
- File "<string>", line 1, in <module>
- File "/home/opnfv/.rally/verification/verifier-d1be7dd1-1604-41e3-a27f-d1378aa90859/repo/setup.py", line 29, in <module>
- pbr=True)
- File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
- _setup_distribution = dist = klass(attrs)
- File "/home/opnfv/.rally/verification/verifier-d1be7dd1-1604-41e3-a27f-d1378aa90859/.venv/local/lib/python2.7/site-packages/setuptools/dist.py", line 315, in __init__
- self.fetch_build_eggs(attrs['setup_requires'])
- File "/home/opnfv/.rally/verification/verifier-d1be7dd1-1604-41e3-a27f-d1378aa90859/.venv/local/lib/python2.7/site-packages/setuptools/dist.py", line 361, in fetch_build_eggs
- replace_conflicting=True,
- File "/home/opnfv/.rally/verification/verifier-d1be7dd1-1604-41e3-a27f-d1378aa90859/.venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 850, in resolve
- dist = best[req.key] = env.best_match(req, ws, installer)
- File "/home/opnfv/.rally/verification/verifier-d1be7dd1-1604-41e3-a27f-d1378aa90859/.venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1122, in best_match
- return self.obtain(req, installer)
- File "/home/opnfv/.rally/verification/verifier-d1be7dd1-1604-41e3-a27f-d1378aa90859/.venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1134, in obtain
- return installer(requirement)
- File "/home/opnfv/.rally/verification/verifier-d1be7dd1-1604-41e3-a27f-d1378aa90859/.venv/local/lib/python2.7/site-packages/setuptools/dist.py", line 429, in fetch_build_egg
- return cmd.easy_install(req)
- File "/home/opnfv/.rally/verification/verifier-d1be7dd1-1604-41e3-a27f-d1378aa90859/.venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 659, in easy_install
- raise DistutilsError(msg)
- distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pbr>=1.8')
- ----------------------------------------
- Command "python setup.py egg_info" failed with error code 1 in /home/opnfv/.rally/verification/verifier-d1be7dd1-1604-41e3-a27f-d1378aa90859/repo/
- '
- Command failed, please check log for more info
- 2017-02-28 23:10:29.165 237 CRITICAL rally [-] CalledProcessError: Command '['pip', 'install', '-e', './']' returned non-zero exit status 1
- 2017-02-28 23:10:29.165 237 ERROR rally Traceback (most recent call last):
- 2017-02-28 23:10:29.165 237 ERROR rally File "/usr/local/bin/rally", line 10, in <module>
- 2017-02-28 23:10:29.165 237 ERROR rally sys.exit(main())
- 2017-02-28 23:10:29.165 237 ERROR rally File "/usr/local/lib/python2.7/dist-packages/rally/cli/main.py", line 38, in main
- 2017-02-28 23:10:29.165 237 ERROR rally return cliutils.run(sys.argv, categories)
- 2017-02-28 23:10:29.165 237 ERROR rally File "/usr/local/lib/python2.7/dist-packages/rally/cli/cliutils.py", line 661, in run
- 2017-02-28 23:10:29.165 237 ERROR rally ret = fn(*fn_args, **fn_kwargs)
- 2017-02-28 23:10:29.165 237 ERROR rally File "<decorator-gen-39>", line 2, in create_verifier
- 2017-02-28 23:10:29.165 237 ERROR rally File "/usr/local/lib/python2.7/dist-packages/rally/plugins/__init__.py", line 43, in ensure_plugins_are_loaded
- 2017-02-28 23:10:29.165 237 ERROR rally return f(*args, **kwargs)
- 2017-02-28 23:10:29.165 237 ERROR rally File "/usr/local/lib/python2.7/dist-packages/rally/cli/commands/verify.py", line 121, in create_verifier
- 2017-02-28 23:10:29.165 237 ERROR rally version=version, system_wide=system_wide, extra_settings=extra)
- 2017-02-28 23:10:29.165 237 ERROR rally File "/usr/local/lib/python2.7/dist-packages/rally/api.py", line 471, in create
- 2017-02-28 23:10:29.165 237 ERROR rally verifier.manager.install()
- 2017-02-28 23:10:29.165 237 ERROR rally File "/usr/local/lib/python2.7/dist-packages/rally/plugins/common/verification/testr.py", line 106, in install
- 2017-02-28 23:10:29.165 237 ERROR rally super(TestrLauncher, self).install()
- 2017-02-28 23:10:29.165 237 ERROR rally File "/usr/local/lib/python2.7/dist-packages/rally/verification/manager.py", line 216, in install
- 2017-02-28 23:10:29.165 237 ERROR rally self.install_venv()
- 2017-02-28 23:10:29.165 237 ERROR rally File "/usr/local/lib/python2.7/dist-packages/rally/verification/manager.py", line 250, in install_venv
- 2017-02-28 23:10:29.165 237 ERROR rally cwd=self.repo_dir, env=self.environ)
- 2017-02-28 23:10:29.165 237 ERROR rally File "/usr/local/lib/python2.7/dist-packages/rally/verification/utils.py", line 52, in check_output
- 2017-02-28 23:10:29.165 237 ERROR rally output = subprocess.check_output(*args, **kwargs)
- 2017-02-28 23:10:29.165 237 ERROR rally File "/usr/lib/python2.7/subprocess.py", line 573, in check_output
- 2017-02-28 23:10:29.165 237 ERROR rally raise CalledProcessError(retcode, cmd, output=output)
- 2017-02-28 23:10:29.165 237 ERROR rally CalledProcessError: Command '['pip', 'install', '-e', './']' returned non-zero exit status 1
- 2017-02-28 23:10:29.165 237 ERROR rally
- 2017-02-28 23:10:29,318 - functest_utils - ERROR - Problem while installing Tempest.
- 2017-02-28 23:10:29,319 - prepare_env - ERROR - Problem while installing Tempest.
- 2017-02-28 23:10:30,874 - functest_utils - ERROR - The command 'python /home/opnfv/repos/functest/functest/ci/prepare_env.py start' failed.
Advertisement
Add Comment
Please, Sign In to add comment