RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1314460 - mistral references an entry point (tempest) what cannot be reached
Summary: mistral references an entry point (tempest) what cannot be reached
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RDO
Classification: Community
Component: distribution
Version: trunk
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
: trunk
Assignee: Lars Kellogg-Stedman
QA Contact: Shai Revivo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-03 16:39 UTC by Attila Fazekas
Modified: 2016-05-18 13:31 UTC (History)
3 users (show)

Fixed In Version: python-mistral-tests-2.0.0-1.1.el7.noarch
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-18 13:31:21 UTC
Embargoed:


Attachments (Terms of Use)

Description Attila Fazekas 2016-03-03 16:39:02 UTC
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 13:31:21 UTC
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.