| Summary: | Tempest cannot load core plugins after installation of the openstack-packstack package | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Gabriel Szasz <gszasz> | ||||
| Component: | openstack-tempest | Assignee: | Chandan Kumar <chkumar> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | tkammer | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 10.0 (Newton) | CC: | apevec, chkumar, dmellado, lhh, slinaber | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2016-10-19 16:06:50 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: | |||||
| Attachments: |
|
||||||
|
Description
Gabriel Szasz
2016-10-19 15:45:17 UTC
Hi Gabriel, if anything this will be put into documentation but that's the intended way of running tempest now, I'll have chandan guide you through the new process. Thanks! Hi Gabriel, As per the attached traceback file, It appears that python-neutron-tests (which contains tempest plugin and tempest tests for neutron) is not installed. Currently opensack-tempest-12.2.0 onwards does not installs the component tempest plugin and component test packages. It currently install the tempest which has python-tempest as a library and it's executable. before running tempest, we need to make sure all the required openstack-services tempest plugin and test packages are installed on the system under test because when you invoke tempest, tempest starts discovering the tests through tempest plugins entry point. Currently tempest plugin entry point has the definition from where to find the respective component test package and these entry points are installed by main package i.e openstack-component package. Since test packages are coming from python-<component>-tests or -tempest subpackage and it is not installed, then tempest will give "ImportError: No module named tests.tempest.plugin" errors. To fix this issue, once you install openstack-tempest then try to install the "Required" test packages based on the services installed on your system. /usr/share/openstack-tempest-*/tools/install-test-packages.py script will automatically installs the test packages based on your environment. Then you are good to go ahead and configure the tempest tests. If you want to install all the tempest plugin and test packages, openstack-tempest-all subpackage will solve your problem. Thanks, Chandan Kumar |