Bug 1314460 - mistral references an entry point (tempest) what cannot be reached
mistral references an entry point (tempest) what cannot be reached
Status: CLOSED CURRENTRELEASE
Product: RDO
Classification: Community
Component: distribution (Show other bugs)
trunk
All Linux
unspecified Severity unspecified
: ---
: trunk
Assigned To: Lars Kellogg-Stedman
Shai Revivo
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-03-03 11:39 EST by Attila Fazekas
Modified: 2016-05-18 09:31 EDT (History)
3 users (show)

See Also:
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 09:31:21 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Attila Fazekas 2016-03-03 11:39:02 EST
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
Comment 2 Alfredo Moralejo 2016-05-18 09:31:21 EDT
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
#

Note You need to log in before you can comment on or make changes to this bug.