Virtual bare metal cluster management
Go to file
Pierre Riteau 5746ed2a27 Fix 'The libvirt module is not importable' error
Upper constraints were updated [1] to allow libvirt-python 7.5.0. The
first Kayobe builds using this version worked fine, but later they
started failing with the error:

    The `libvirt` module is not importable. Check the requirements.

The main difference is that successful jobs were using the source
archive libvirt-python-7.5.0.tar.gz, while failing jobs were using the
wheel libvirt_python-7.5.0-cp36-cp36m-linux_x86_64.whl.

Install libvirt-python from source to avoid this issue.

Update the ansible-lint configuration to ignore errors coming from the
stackhpc.libvirt-vm role, fixing the tenks-tox-ansible-lint job.

[1] https://review.opendev.org/c/openstack/requirements/+/799347

Change-Id: I746d01ed355330c965b90657264d89a4ef7995d2
2021-07-09 15:04:27 +02:00
ansible Fix 'The libvirt module is not importable' error 2021-07-09 15:04:27 +02:00
doc Switch to newer openstackdocstheme and reno versions 2020-05-21 20:35:05 +02:00
playbooks Support linux bridge in addition to OVS 2020-03-13 11:12:37 +00:00
releasenotes Fix virtualbmc installation after release of cryptography 3.4 2021-02-08 15:54:17 +01:00
roles Install python setuptools & virtualenv 2020-06-18 10:01:47 +00:00
tenks Changes following becoming an official project 2018-12-07 18:26:04 +00:00
tests Fix invalid argument formatting in the exception message 2020-11-23 11:08:31 +08:00
zuul.d Use victoria tests 2020-09-01 11:22:47 +02:00
.ansible-lint Fix 'The libvirt module is not importable' error 2021-07-09 15:04:27 +02:00
.gitignore Add skip list to ansible lint 2020-09-01 09:57:16 +02:00
.gitreview OpenDev Migration Patch 2019-04-19 19:35:44 +00:00
.stestr.conf Add stestr config file 2018-09-19 08:40:46 +00:00
LICENSE Initial commit 2018-08-17 11:38:20 +01:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-04-24 14:21:48 +02:00
requirements.txt Cleanup py27 support 2020-04-05 20:20:10 +02:00
requirements.yml Add basis for README 2018-08-23 13:04:48 +00:00
setup.cfg setup.cfg: Replace dashes with underscores 2021-04-27 16:27:00 +08:00
setup.py Cleanup py27 support 2020-04-05 20:20:10 +02:00
test-requirements.txt Add pep8 import order check 2020-04-21 16:26:52 +02:00
tox.ini Fix ansible lint 2021-03-24 10:34:36 +00:00

Tenks

image

Tenks is a utility that manages virtual bare metal clusters for development and testing purposes. It offers:

  • Declarative definition of clusters using Ansible's familiar YAML syntax
  • Automated creation and deletion of virtualised bare metal nodes across any number of hypervisors
  • In-built management of Open vSwitch bridges for physical networks
  • Registration of nodes and ports with OpenStack Ironic, and creation of OpenStack Nova flavors
  • Simple cluster reconfiguration and tear-down

To get started with Tenks, see the documentation (linked below).