Bug 1462509
| Summary: | LBaaS tests does not run on DFG-network-neutron-lbaas-10_director-rhel-7.3-virthost jobs | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Eran Kuris <ekuris> |
| Component: | openstack-neutron-lbaas | Assignee: | Arie Bregman <abregman> |
| Status: | CLOSED ERRATA | QA Contact: | Toni Freger <tfreger> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 10.0 (Newton) | CC: | abregman, amuller, apevec, chkumar, fdinitto, lhh, mburns, nyechiel, parora, samccann, slinaber |
| Target Milestone: | z4 | Keywords: | Triaged, ZStream |
| Target Release: | 10.0 (Newton) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-neutron-lbaas-9.2.0-3.el7ost | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-09-06 17:17:18 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: | |
| Embargoed: | |||
|
Description
Eran Kuris
2017-06-18 09:19:16 UTC
As per the investigation, In neutron-lbaas OSP 10 branch, there is no 'neutron_lbaas/tests/tempest/plugin.py' file.it is a requirement for the tempest plugin.Apart from that we need to define an entry point in setup.cfg
something like that:
tempest.test_plugins =
neutron_lbaas = neutron_lbaas.tests.tempest.plugin:NeutronLbaasTempestPlugin []
Tempest looks for "tempest.test_plugins" entrypoint in order to discover tempest plugin, if it is found it will list the plugin. The plugin.py file knows where the tempest tests related to specific project lives.
All the above things like : neither tempest_plugin entrypoint [https://github.com/openstack/neutron-lbaas/blob/stable/newton/setup.cfg#L33] and nor plugin.py file [https://github.com/openstack/neutron-lbaas/tree/stable/newton/neutron_lbaas/tests/tempest] found in stable/newton branch. That's why tempest has no clue whether there are tempest tests or not in neutron-lbaas in stable/newton or RHOS-10 branch.
So we cannnot run the neutron lbass tempest tests directly using tempest.
In order to fix the above issue, I have backported a patch review for the same: https://review.openstack.org/#/c/475193/1 which provides proper tempest plugin for neutron-lbass in newton.
Since it is not a tempest bug, so changing the component to neutron-lbaas.
fix verified : openstack-neutron-lbaas-9.2.1-2.el7ost.noarch Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:2663 |