| Summary: | mistral references an entry point (tempest) what cannot be reached | ||
|---|---|---|---|
| Product: | [Community] RDO | Reporter: | Attila Fazekas <afazekas> |
| Component: | distribution | Assignee: | Lars Kellogg-Stedman <lars> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Shai Revivo <srevivo> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | trunk | CC: | amoralej, markmc, srevivo |
| Target Milestone: | --- | ||
| Target Release: | trunk | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | python-mistral-tests-2.0.0-1.1.el7.noarch | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-05-18 13:31:21 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
This was tested in https://github.com/rdo-packages/mistral-distgit/commit/583ab8144f9488fc019e177f1bf475ba38ef44ff. Package python-mistral-tests exist both in Mitaka Centos CloudSIG repo and in mitaka and master repos on trunk.rdoproject.org. Tested using packages in mitaka Centos CloudSIG it works: python-openstack-mistral-2.0.0-1.1.el7.noarch python-mistral-tests-2.0.0-1.1.el7.noarch openstack-mistral-all-2.0.0-1.1.el7.noarch openstack-mistral-common-2.0.0-1.1.el7.noarch # tempest init /tmp/foo # |
Description of problem: /usr/lib/python2.7/site-packages/mistral-2.0.0.0b3.dev70-py2.7.egg-info/entry_points.txt claims he knows about tempest entry point, but it does not exits. $ tempest init /tmp/foo # fails with: ERROR:tempest.test_discover.plugins:Could not load 'mistral_test': No module named mistral_tempest_tests.plugin Traceback (most recent call last): File "/usr/bin/oslo-config-generator", line 10, in <module> sys.exit(main()) File "/usr/lib/python2.7/site-packages/oslo_config/generator.py", line 419, in main generate(conf) File "/usr/lib/python2.7/site-packages/oslo_config/generator.py", line 401, in generate groups = _get_groups(_list_opts(conf.namespace)) File "/usr/lib/python2.7/site-packages/oslo_config/generator.py", line 341, in _list_opts for namespace, loader in loaders File "/usr/lib/python2.7/site-packages/tempest/config.py", line 1293, in list_opts ext_plugins = plugins.TempestTestPluginManager() File "/usr/lib/python2.7/site-packages/tempest_lib/common/utils/misc.py", line 30, in getinstance instances[cls] = cls() File "/usr/lib/python2.7/site-packages/tempest/test_discover/plugins.py", line 77, in __init__ on_load_failure_callback=self.failure_hook) File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 93, in __init__ verify_requirements) File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 171, in _load_plugins self._on_load_failure_callback(self, ep, err) File "/usr/lib/python2.7/site-packages/tempest/test_discover/plugins.py", line 82, in failure_hook raise err ImportError: No module named mistral_tempest_tests.plugin Version-Release number of selected component (if applicable): mistral-2.0.0.0b3.dev70-py2.7 How reproducible: always Expected results: Create a separated test package like with magnum. Additional info: mistral is not listed as bugzilla component, please create it and change the component of this bug. f23