jolausa

Untitled

Feb 28th, 2017
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.18 KB | None | 0 0
  1. root@fbc05d4ff01c:~# functest env prepare
  2. 2017-02-28 23:01:46,151 - prepare_env - INFO - ######### Preparing Functest environment #########
  3.  
  4. 2017-02-28 23:01:46,151 - prepare_env - INFO - ==============================================
  5. 2017-02-28 23:01:46,152 - prepare_env - INFO - Checking environment variables...
  6. 2017-02-28 23:01:46,152 - prepare_env - INFO - INSTALLER_TYPE=fuel
  7. 2017-02-28 23:01:46,152 - prepare_env - INFO - INSTALLER_IP=10.20.0.2
  8. 2017-02-28 23:01:46,152 - prepare_env - INFO - DEPLOY_SCENARIO=os-nosdn-nofeature-noha
  9. 2017-02-28 23:01:46,152 - prepare_env - INFO - CI_DEBUG=false
  10. 2017-02-28 23:01:46,152 - prepare_env - INFO - NODE_NAME=unknown_pod
  11. 2017-02-28 23:01:59,861 - prepare_env - INFO - ==============================================
  12. 2017-02-28 23:01:59,863 - prepare_env - INFO - Creating needed directories...
  13. 2017-02-28 23:01:59,863 - prepare_env - INFO - ==============================================
  14. 2017-02-28 23:01:59,864 - prepare_env - INFO - Fetching RC file...
  15. 2017-02-28 23:01:59,864 - prepare_env - INFO - RC file provided in /home/opnfv/functest/conf/openstack.creds.
  16. 2017-02-28 23:01:59,864 - prepare_env - INFO - Sourcing the OpenStack RC file...
  17. 2017-02-28 23:01:59,874 - prepare_env - INFO - ==============================================
  18. 2017-02-28 23:01:59,874 - prepare_env - INFO - Verifying OpenStack services...
  19. 2017-02-28 23:01:59,888 - prepare_env - INFO - Checking OpenStack endpoints:
  20. 2017-02-28 23:02:01,931 - prepare_env - INFO - >>Verifying connectivity to the public endpoint 172.16.0.98:5000...
  21. 2017-02-28 23:02:01,946 - prepare_env - INFO - ...OK
  22. 2017-02-28 23:02:03,594 - prepare_env - INFO - >>Verifying connectivity to the admin endpoint 192.168.0.98:35357...
  23. 2017-02-28 23:02:03,600 - prepare_env - INFO - ...OK
  24. 2017-02-28 23:02:03,601 - prepare_env - INFO - Checking Required OpenStack services:
  25. 2017-02-28 23:02:03,601 - prepare_env - INFO - >>Checking nova service...
  26. 2017-02-28 23:02:08,132 - prepare_env - INFO - ...OK
  27. 2017-02-28 23:02:08,132 - prepare_env - INFO - >>Checking neutron service...
  28. 2017-02-28 23:02:12,489 - prepare_env - INFO - ...OK
  29. 2017-02-28 23:02:12,490 - prepare_env - INFO - >>Checking keystone service...
  30. 2017-02-28 23:02:19,033 - prepare_env - INFO - ...OK
  31. 2017-02-28 23:02:19,033 - prepare_env - INFO - >>Checking glance service...
  32. 2017-02-28 23:02:23,256 - prepare_env - INFO - ...OK
  33. 2017-02-28 23:02:23,257 - prepare_env - INFO - Required OpenStack services are OK.
  34. 2017-02-28 23:02:23,257 - prepare_env - INFO - Checking Optional OpenStack services:
  35. 2017-02-28 23:02:23,257 - prepare_env - INFO - >>Checking cinder service...
  36. 2017-02-28 23:02:27,431 - prepare_env - INFO - ...OK
  37. 2017-02-28 23:02:27,431 - prepare_env - INFO - Checking External network...
  38. 2017-02-28 23:02:31,581 - prepare_env - INFO - External network found: 35dbb7ea-3821-4cd8-815d-627c8b0089ab
  39. 2017-02-28 23:02:31,583 - prepare_env - INFO - ==============================================
  40. 2017-02-28 23:02:31,583 - prepare_env - INFO - Creating Rally environment...
  41. Deployment opnfv-rally not found.
  42. 2017-02-28 23:02:35.153 198 INFO rally.deployment.engine [-] Deployment 94bbfa3b-860f-478d-a04d-2b0dd70bbd8f | Starting: OpenStack cloud deployment.
  43. 2017-02-28 23:02:35.177 198 INFO rally.deployment.engine [-] Deployment 94bbfa3b-860f-478d-a04d-2b0dd70bbd8f | Completed: OpenStack cloud deployment.
  44. +--------------------------------------+----------------------------+-------------+------------------+--------+
  45. | uuid | created_at | name | status | active |
  46. +--------------------------------------+----------------------------+-------------+------------------+--------+
  47. | 94bbfa3b-860f-478d-a04d-2b0dd70bbd8f | 2017-02-28 23:02:35.130081 | opnfv-rally | deploy->finished | |
  48. +--------------------------------------+----------------------------+-------------+------------------+--------+
  49. Using deployment: 94bbfa3b-860f-478d-a04d-2b0dd70bbd8f
  50. ~/.rally/openrc was updated
  51.  
  52. HINTS:
  53.  
  54. * To use standard OpenStack clients, set up your env by running:
  55. source ~/.rally/openrc
  56. OpenStack clients are now configured, e.g run:
  57. openstack image list
  58. keystone endpoints are valid and following services are available:
  59. +-------------+----------------+-----------+
  60. | services | type | status |
  61. +-------------+----------------+-----------+
  62. | __unknown__ | artifact | Available |
  63. | __unknown__ | compute_legacy | Available |
  64. | __unknown__ | volumev2 | Available |
  65. | __unknown__ | volumev3 | Available |
  66. | cinder | volume | Available |
  67. | cloud | cloudformation | Available |
  68. | glance | image | Available |
  69. | heat | orchestration | Available |
  70. | keystone | identity | Available |
  71. | neutron | network | Available |
  72. | nova | compute | Available |
  73. | s3 | s3 | Available |
  74. | swift | object-store | Available |
  75. +-------------+----------------+-----------+
  76. 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).
  77. +--------------------------------------+----------------------------+-------------+------------------+--------+
  78. | uuid | created_at | name | status | active |
  79. +--------------------------------------+----------------------------+-------------+------------------+--------+
  80. | 94bbfa3b-860f-478d-a04d-2b0dd70bbd8f | 2017-02-28 23:02:35.130081 | opnfv-rally | deploy->finished | * |
  81. +--------------------------------------+----------------------------+-------------+------------------+--------+
  82. +----------------------+----------------------------------------------------------------+-----------+-------------------------------------------------------------------------+
  83. | Plugin base | Name | Namespace | Title |
  84. +----------------------+----------------------------------------------------------------+-----------+-------------------------------------------------------------------------+
  85. | Chart | Lines | default | Display results as generic chart with lines. |
  86. | Chart | Pie | default | Display results as pie, calculate average values for additive data. |
  87. 2017-02-28 23:02:39,163 - prepare_env - INFO - Installing tempest from existing repo...
  88. 2017-02-28 23:02:42.258 237 INFO rally.api [-] Creating verifier 'opnfv-tempest'.
  89. 2017-02-28 23:02:42.350 237 INFO rally.verification.manager [-] Cloning verifier repo from /home/opnfv/repos/tempest.
  90. 2017-02-28 23:02:42.607 237 INFO rally.verification.manager [-] Creating virtual environment. It may take a few minutes.
  91.  
  92. 2017-02-28 23:10:29.134 237 ERROR rally.verification.utils [-] Failed cmd: '['pip', 'install', '-e', './']'
  93. 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
  94. Complete output from command python setup.py egg_info:
  95. Download error on https://pypi.python.org/simple/pbr/: [Errno -2] Name or service not known -- Some packages may not be found!
  96. Couldn't find index page for 'pbr' (maybe misspelled?)
  97. Download error on https://pypi.python.org/simple/: [Errno -2] Name or service not known -- Some packages may not be found!
  98. No local packages or working download links found for pbr>=1.8
  99. Traceback (most recent call last):
  100. File "<string>", line 1, in <module>
  101. File "/home/opnfv/.rally/verification/verifier-d1be7dd1-1604-41e3-a27f-d1378aa90859/repo/setup.py", line 29, in <module>
  102. pbr=True)
  103. File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
  104. _setup_distribution = dist = klass(attrs)
  105. 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__
  106. self.fetch_build_eggs(attrs['setup_requires'])
  107. 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
  108. replace_conflicting=True,
  109. 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
  110. dist = best[req.key] = env.best_match(req, ws, installer)
  111. 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
  112. return self.obtain(req, installer)
  113. 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
  114. return installer(requirement)
  115. 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
  116. return cmd.easy_install(req)
  117. 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
  118. raise DistutilsError(msg)
  119. distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pbr>=1.8')
  120.  
  121. ----------------------------------------
  122. Command "python setup.py egg_info" failed with error code 1 in /home/opnfv/.rally/verification/verifier-d1be7dd1-1604-41e3-a27f-d1378aa90859/repo/
  123. '
  124. Command failed, please check log for more info
  125. 2017-02-28 23:10:29.165 237 CRITICAL rally [-] CalledProcessError: Command '['pip', 'install', '-e', './']' returned non-zero exit status 1
  126. 2017-02-28 23:10:29.165 237 ERROR rally Traceback (most recent call last):
  127. 2017-02-28 23:10:29.165 237 ERROR rally File "/usr/local/bin/rally", line 10, in <module>
  128. 2017-02-28 23:10:29.165 237 ERROR rally sys.exit(main())
  129. 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
  130. 2017-02-28 23:10:29.165 237 ERROR rally return cliutils.run(sys.argv, categories)
  131. 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
  132. 2017-02-28 23:10:29.165 237 ERROR rally ret = fn(*fn_args, **fn_kwargs)
  133. 2017-02-28 23:10:29.165 237 ERROR rally File "<decorator-gen-39>", line 2, in create_verifier
  134. 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
  135. 2017-02-28 23:10:29.165 237 ERROR rally return f(*args, **kwargs)
  136. 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
  137. 2017-02-28 23:10:29.165 237 ERROR rally version=version, system_wide=system_wide, extra_settings=extra)
  138. 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
  139. 2017-02-28 23:10:29.165 237 ERROR rally verifier.manager.install()
  140. 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
  141. 2017-02-28 23:10:29.165 237 ERROR rally super(TestrLauncher, self).install()
  142. 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
  143. 2017-02-28 23:10:29.165 237 ERROR rally self.install_venv()
  144. 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
  145. 2017-02-28 23:10:29.165 237 ERROR rally cwd=self.repo_dir, env=self.environ)
  146. 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
  147. 2017-02-28 23:10:29.165 237 ERROR rally output = subprocess.check_output(*args, **kwargs)
  148. 2017-02-28 23:10:29.165 237 ERROR rally File "/usr/lib/python2.7/subprocess.py", line 573, in check_output
  149. 2017-02-28 23:10:29.165 237 ERROR rally raise CalledProcessError(retcode, cmd, output=output)
  150. 2017-02-28 23:10:29.165 237 ERROR rally CalledProcessError: Command '['pip', 'install', '-e', './']' returned non-zero exit status 1
  151. 2017-02-28 23:10:29.165 237 ERROR rally
  152. 2017-02-28 23:10:29,318 - functest_utils - ERROR - Problem while installing Tempest.
  153. 2017-02-28 23:10:29,319 - prepare_env - ERROR - Problem while installing Tempest.
  154. 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