Virtual bare metal cluster management
Go to file
Mark Goddard 6a2fb44a78 Fix deploy and teardown without node enrolment
If the ironic_config field is not present in a node definition, then
that node should not be registered with ironic. In this case we also
don't need to query glance for images or wait for resources to appear
in placement.

If nova_flavors is empty, we do not need to register flavors, so no need
to install the client or check for OS_USERNAME.

Also fixes an issue in the action plugin where it would fail if
ironic_config field is not present in a node definition.

Finally, in CI deploy/teardown tests, rather than skipping tasks, we now
remove the ironic_config field from the node definition, and set
nova_flavors to empty, such that we exercise these code paths.

Change-Id: I29b42665f1609c99e80f12ab6f3815d0e0918dae
Story: 2004412
Task: 28056
2018-11-22 19:20:59 +00:00
ansible Fix deploy and teardown without node enrolment 2018-11-22 19:20:59 +00:00
doc Add support for generating release notes 2018-11-14 09:07:51 +00:00
playbooks/tenks-deploy-teardown Fix deploy and teardown without node enrolment 2018-11-22 19:20:59 +00:00
releasenotes Add support for setting the libvirt connection uri 2018-11-19 17:41:01 +00:00
roles Add a zuul job to deploy and teardown a tenks cluster 2018-11-08 16:21:21 +00:00
tests Wait for resources to become available 2018-11-19 16:40:43 +00:00
zuul.d Add a zuul job to deploy and teardown a tenks cluster 2018-11-08 16:21:21 +00:00
.gitignore Add coverage testing 2018-09-14 16:40:39 +00:00
.gitreview Add a .gitreview file 2018-11-02 15:29:48 +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 Add more substance to README 2018-09-21 16:14:54 +01:00
requirements.txt Add basic package structure 2018-08-28 11:02:47 +00:00
requirements.yml Add basis for README 2018-08-23 13:04:48 +00:00
setup.cfg Migrate documentation to Sphinx 2018-09-20 17:24:37 +01:00
setup.py Add basic package structure 2018-08-28 11:02:47 +00:00
test-requirements.txt Add coverage testing 2018-09-14 16:40:39 +00:00
tox.ini Merge "Wait for resources to become available" 2018-11-19 17:56:30 +00:00

Tenks

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).