
The existing unit test case [1] is failing randomly [2] when both test modules `test_plugin` and `test_monitoring` runs in a single worker. Reason: VNFMonitor class is using singleton pattern. In above test modules same object of VNFMonitor class is returned from __new__ method but internally it makes a call __init__ explicitly. Since we are not initializing `_hosting_vnfs` attribute in the __init__ method, when we try to access __hosting_vnf in the second test `test_plugin`, it finds two vnf objects. This issue is fixed in this patch by reinitializing the `_hosting_vnfs` class level attribute as empty dict in the test_init_monitoring unit test. [1]: https://github.com/openstack/tacker/blob/master/tacker/tests/unit/vnfm/test_plugin.py#L75 [2]: http://logs.openstack.org/10/609610/9/check/openstack-tox-py35/b99de12/testr_results.html.gz Change-Id: I2a5933ed21e478e860cb12b378a4368f9402291d
Team and repository tags
Welcome!
Tacker is an OpenStack based NFV Orchestrator service with built-in general purpose VNF Manager to deploy and operate Virtual Network Functions (VNFs) on an OpenStack based NFV Platform. It is based on ETSI MANO Architectural Framework and provides a fully functional stack to orchestrate VNFs end-to-end.
Installation:
Installation instructions and user guides can be found at: https://docs.openstack.org/tacker/
Tacker code base supports OpenStack master and other releases. Please follow the instructions in the above address for a successful installation of corresponding release.
Code:
Tacker code is available in following repositories:
- Tacker server: https://git.openstack.org/cgit/openstack/tacker
- Tacker Python client: https://git.openstack.org/cgit/openstack/python-tackerclient
- Tacker Horizon UI: https://git.openstack.org/cgit/openstack/tacker-horizon
Bugs:
Please report bugs at: https://bugs.launchpad.net/tacker
External Resources:
- Tacker Wiki: https://wiki.openstack.org/wiki/Tacker
- Tacker Blueprints: https://blueprints.launchpad.net/tacker
- For help on usage and hacking of Tacker, please send an email to OpenStack-dev Mailing List <mailto:openstack-discuss@lists.openstack.org> with [openstack-dev] [Tacker] tag.
- To get release notes: Tacker Release Notes
Description
Tacker: ETSI MANO NFV Orchestrator / VNF Manager. See https://wiki.openstack.org/wiki/Tacker
Languages
Python
99.3%
Shell
0.5%
Jinja
0.1%