![]() A subset of nodepool providers have KVM nested virtualization enabled. At present, examples are Vexxhost, OVH, FortNebula and Limestone. We've had a pre-run script for CI to enable KVM when running in one of those providers. This has some drawbacks: 1. With Zuul v3, DEVSTACK_GATE_LIBVIRT_TYPE is obsoleted in favor of LIBVIRT_TYPE in devstack_localrc. 2. The list was outdated (e.g. Vexxhost and FortNebula were not in). 3. Some of the nested virt friendly providers have mixed KVM/TCG servers. 3. Enablement of nested virtualization would require updating of the KVM providers list in our side. When LIBVIR_TYPE=KVM, devstack checks if KVM is really available (via devstack/lib/nova). If it is not, it falls back to qemu (TCG). This check is available since at least Mitaka. Also, some provider nodes expose a generic CPU model. Libvirt matches the named CPU model to the closest from the host. As a result, the matched one may not include the CPUID parameter which seems to be required for nested virtualization. This find-by-match (cpu_mode option in Nova) can be switched "host-passthrough" in which case will cause libvirt to tell KVM to passthrough the host CPU with no modifications. The disadvantage of this mode is guests can only be migrated to an exactly matching host CPU, but we don't need this in CI. Depends-On: https://review.opendev.org/#/c/703324/ Change-Id: I6c4596aa9cc2d7f7703c5acb54fdaed97756788a |
||
---|---|---|
doc | ||
octavia_tempest_plugin | ||
playbooks/act_stby_iptables | ||
releasenotes | ||
zuul.d | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.stestr.conf | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
README.rst | ||
babel.cfg | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Octavia Tempest Plugin
Team and repository tags
Tempest integration of Octavia
This project contains the Tempest plugin for the Octavia project for OpenStack Load Balancing.
For more information about Octavia see: https://docs.openstack.org/octavia/latest/
For more information about Tempest plugins see: https://docs.openstack.org/tempest/latest/plugin.html
- Free software: Apache license
- Documentation: https://docs.openstack.org/octavia-tempest-plugin/latest/
- Source: https://opendev.org/openstack/octavia-tempest-plugin
- Bugs: https://storyboard.openstack.org/#!/project/openstack/octavia-tempest-plugin
Installing
Clone this repository to the destination machine, and call from the repo:
$ pip install -e .
Running the tests
To run all the tests from this plugin, call from the tempest repo:
$ tox -e all-plugin -- octavia_tempest_plugin
To run a single test case, call with full path, for example:
$ tox -e all-plugin -- octavia_tempest_plugin.tests.scenario.v2.test_traffic_ops.TrafficOperationsScenarioTest.test_basic_traffic
To retrieve a list of all tempest tests, run:
$ testr list-tests