Virtual bare metal cluster management
Go to file
Mark Goddard 8df4a68fb1 Fix node scheduling with pipe in hostvars
If Ansible hostvars contain a pipe (|) character, this can cause
problems during scheduling as Ansible fails during Jinja templating.
This is probably a bug in Ansible/Jinja.

The particular case where this was hit was when using screen, the
TERMCAP environment variable gets set to something beginning with
'SC|screen|VT'.

This change addresses the issue by moving the capture of hostvars inside
the tenks_update_state action plugin rather than evaluating them in a
playbook.

Change-Id: Ibef91d9ef499c8741b61a170672a23f530a600bb
2020-03-20 10:59:30 +00:00
ansible Fix node scheduling with pipe in hostvars 2020-03-20 10:59:30 +00:00
doc Do not install Open vSwitch 2019-10-21 16:59:06 +01:00
playbooks CentOS 8 support 2020-03-11 17:05:21 +00:00
releasenotes Fix node scheduling with pipe in hostvars 2020-03-20 10:59:30 +00:00
roles Stop gzipping logs in get-logs.sh 2020-03-12 12:33:25 +00:00
tenks Changes following becoming an official project 2018-12-07 18:26:04 +00:00
tests Fix node scheduling with pipe in hostvars 2020-03-20 10:59:30 +00:00
zuul.d CI: Switch to kayobe-overcloud-centos8 2020-03-11 17:12:30 +00:00
.gitignore Add coverage testing 2018-09-14 16:40:39 +00: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 Bump ansible version constraints to >=2.7,<2.10 2020-03-11 16:55:09 +00:00
requirements.yml Add basis for README 2018-08-23 13:04:48 +00:00
setup.cfg Drop python 2.7 support and testing 2019-11-25 15:23:59 +01:00
setup.py Add basic package structure 2018-08-28 11:02:47 +00:00
test-requirements.txt Drop python 2.7 support and testing 2019-11-25 15:23:59 +01:00
tox.ini Enforce running tox with correct python version based on env 2020-01-09 10:30:05 +01: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).