Hide Forgot
Description of problem: To run the tempest some of package are needed. This action is missing in the documentation after configure-tempest-directory : sudo tools/install_test_packages.py Version-Release number of selected component (if applicable): openstack-tempest-13.0.0-7.bafe630git.el7ost.noarch instack-undercloud-5.1.0-4.el7ost.noarch Steps to Reproduce: 1. deploy an overcloud 2. mkdir tempest ; cd tempest ; /usr/share/openstack-tempest-13.0.0/tools/configure-tempest-directory 3. run tools/config_tempest.py... Actual results: [stack@XXX tempest]$ tools/config_tempest.py --deployer-input ~/tempest-deployer-input.conf --debug --create identity.uri $OS_AUTH_URL identity.admin_password $OS_PASSWORD --network-id 86651600-cd8c-4dc1-b7c5-5e4c91add9bb 2016-12-06 06:23:52.805 31947 INFO tempest [-] Using tempest config file /etc/tempest/tempest.conf 2016-12-06 06:23:53.089 31947 ERROR tempest.test_discover.plugins [-] Could not load 'mistral_test': No module named mistral_tempest_tests.plugin 2016-12-06 06:23:53.090 31947 CRITICAL tempest [-] ImportError: No module named mistral_tempest_tests.plugin 2016-12-06 06:23:53.090 31947 ERROR tempest Traceback (most recent call last): 2016-12-06 06:23:53.090 31947 ERROR tempest File "tools/config_tempest.py", line 421, in <module> 2016-12-06 06:23:53.090 31947 ERROR tempest class TempestConf(ConfigParser.SafeConfigParser): 2016-12-06 06:23:53.090 31947 ERROR tempest File "tools/config_tempest.py", line 429, in TempestConf 2016-12-06 06:23:53.090 31947 ERROR tempest CONF = tempest.config.TempestConfigPrivate(parse_conf=False) 2016-12-06 06:23:53.090 31947 ERROR tempest File "/home/stack/tempest/tempest/config.py", line 1291, in __init__ 2016-12-06 06:23:53.090 31947 ERROR tempest register_opts() 2016-12-06 06:23:53.090 31947 ERROR tempest File "/home/stack/tempest/tempest/config.py", line 1186, in register_opts 2016-12-06 06:23:53.090 31947 ERROR tempest ext_plugins = plugins.TempestTestPluginManager() 2016-12-06 06:23:53.090 31947 ERROR tempest File "/home/stack/tempest/tempest/lib/common/utils/misc.py", line 28, in getinstance 2016-12-06 06:23:53.090 31947 ERROR tempest instances[cls] = cls() 2016-12-06 06:23:53.090 31947 ERROR tempest File "/home/stack/tempest/tempest/test_discover/plugins.py", line 126, in __init__ 2016-12-06 06:23:53.090 31947 ERROR tempest on_load_failure_callback=self.failure_hook) 2016-12-06 06:23:53.090 31947 ERROR tempest File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 93, in __init__ 2016-12-06 06:23:53.090 31947 ERROR tempest verify_requirements) 2016-12-06 06:23:53.090 31947 ERROR tempest File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 171, in _load_plugins 2016-12-06 06:23:53.090 31947 ERROR tempest self._on_load_failure_callback(self, ep, err) 2016-12-06 06:23:53.090 31947 ERROR tempest File "/home/stack/tempest/tempest/test_discover/plugins.py", line 132, in failure_hook 2016-12-06 06:23:53.090 31947 ERROR tempest raise err 2016-12-06 06:23:53.090 31947 ERROR tempest ImportError: No module named mistral_tempest_tests.plugin 2016-12-06 06:23:53.090 31947 ERROR tempest Additional info: Run this and it will works [stack@XXX tempest]$ sudo tools/install_test_packages.py
Assigning to Lukas for review.
This bug seems similar to this one (https://bugzilla.redhat.com/show_bug.cgi?id=1386849). Could you please verify if this bug could be solved by installing the necessary tempest plug-ins into your system?
I don't know cause in the doc link into the other bug, it's wrote what is needed : you can automatically install the required tempest plugins of the configured services on the environment. # python /usr/share/openstack-tempest-*/tools/install_test_packages.py
(In reply to Cyril Lopez from comment #3) > I don't know cause in the doc link into the other bug, it's wrote what is > needed : > > you can automatically install the required tempest plugins of the configured > services on the environment. If the automatic installation of the plugins is what is needed to do, then it was already done with the above mentioned bug. I assume we can close this one, too. > > # python /usr/share/openstack-tempest-*/tools/install_test_packages.py
(In reply to Lukas Ruzicka from comment #4) > (In reply to Cyril Lopez from comment #3) > > I don't know cause in the doc link into the other bug, it's wrote what is > > needed : > > > > you can automatically install the required tempest plugins of the configured > > services on the environment. > > > If the automatic installation of the plugins is what is needed to do, then > it was already done with the above mentioned bug. I assume we can close this > one, too. That's sensible. Please reopen if need be. *** This bug has been marked as a duplicate of bug 1386849 ***