Deployment of containerised OpenStack to bare metal using kolla and bifrost
Go to file
Mark Goddard 40e43e235d Run kolla-ansible bootstrap-servers as kolla user
Previously, Kayobe used Kolla Ansible's bootstrap-servers command to
create a user account and Python virtual environment for Kolla Ansible.
In order to do this it used the Kayobe Ansible user and Python
interpreter.

This causes problems for Ansible fact caching, which needs separate
caches for Kayobe and Kolla Ansible, since the different users and
Python interpreters used result in different facts. Bootstrapping
servers with the Kayobe user and interpreter resulted in the Kolla
Ansible fact cache being populated with Kayobe's user and interpreter.

This change disables user creation during Kolla Ansible's
bootstrap-servers command, instead creating the user and virtual
environment in Kayobe prior to running the command. This allows the
bootstrap-servers command to be executed using the normal Kolla Ansible
user and interpreter, which results in the correct facts being gathered.

The downside here is some duplication of code and configuration, but a
nice side effect is that we no longer need to dump configuration in the
CLI for host configure in order to fetch the Ansible user and
interpreter.

Change-Id: I85670be7242bc436f73c689f027670b0938ba031
Story: 2007492
Task: 39444
2020-04-16 20:44:34 +01:00
.github Add an issue template. 2017-12-14 20:39:55 +00:00
ansible Run kolla-ansible bootstrap-servers as kolla user 2020-04-16 20:44:34 +01:00
dev Make Kayobe code compatible with Python 3 2020-02-27 11:10:29 +00:00
doc Run kolla-ansible bootstrap-servers as kolla user 2020-04-16 20:44:34 +01:00
etc/kayobe Run kolla-ansible bootstrap-servers as kolla user 2020-04-16 20:44:34 +01:00
kayobe Run kolla-ansible bootstrap-servers as kolla user 2020-04-16 20:44:34 +01:00
playbooks Merge "CentOS 8: Enable overcloud upgrade job" 2020-03-23 14:24:55 +00:00
releasenotes Run kolla-ansible bootstrap-servers as kolla user 2020-04-16 20:44:34 +01:00
roles Stop gzipping logs in get-logs.sh 2020-02-11 13:04:37 +00:00
tools Fix sphinx8 script used by pep8 2020-02-13 11:32:50 +00:00
zuul.d CentOS 8: Enable overcloud upgrade job 2020-03-23 10:32:57 +00:00
.coveragerc Use stestr for running unit tests, add a coverage environment 2018-03-08 16:37:08 +00:00
.gitignore Add 'venvs' to list of things which we don't want git to track 2018-07-02 14:17:18 +01:00
.gitreview Fix after x/kayobe rename 2019-09-16 16:26:27 +02:00
.stestr.conf Use stestr for running unit tests, add a coverage environment 2018-03-08 16:37:08 +00:00
.travis.yml Add a tox environment & dependencies for running molecule tests 2018-02-20 18:48:28 +00:00
.yamllint Run yamllint on etc/kayobe during pep8 tox env 2019-02-14 12:17:19 +00:00
CONTRIBUTING.rst Sync Sphinx requirement 2019-06-25 02:24:45 +00:00
HACKING.rst Sync Sphinx requirement 2019-06-25 02:24:45 +00:00
LICENSE License kayobe project under Apache2 2017-04-06 10:15:29 +01:00
README.rst Update docs after repo rename x/ to openstack/ 2019-09-16 17:39:29 +01:00
requirements.txt Blacklist Ansible 2.8.9 2020-03-05 17:00:46 +00:00
requirements.yml CentOS 8: Bump MichaelRigart.interfaces to 1.4.0 2020-02-27 15:39:27 +00:00
setup.cfg [ussuri][goal] Drop python 2.7 support and testing 2020-02-11 10:12:39 +00:00
setup.py Use pbr to build the project 2018-03-08 16:37:08 +00:00
test-requirements.txt Remove sphinx from test-requirements.txt 2019-10-21 11:10:13 +02:00
tox.ini [ussuri][goal] More cleanup for python 2.7 drop 2020-02-29 15:23:18 -06:00
Vagrantfile Support complete installation of Kayobe as a python package 2019-02-01 12:55:27 +00:00

Kayobe

Kayobe enables deployment of containerised OpenStack to bare metal.

Containers offer a compelling solution for isolating OpenStack services, but running the control plane on an orchestrator such as Kubernetes or Docker Swarm adds significant complexity and operational overheads.

The hosts in an OpenStack control plane must somehow be provisioned, but deploying a secondary OpenStack cloud to do this seems like overkill.

Kayobe stands on the shoulders of giants:

  • OpenStack bifrost discovers and provisions the cloud
  • OpenStack kolla builds container images for OpenStack services
  • OpenStack kolla-ansible delivers painless deployment and upgrade of containerised OpenStack services

To this solid base, kayobe adds:

  • Configuration of cloud host OS & flexible networking
  • Management of physical network devices
  • A friendly openstack-like CLI

All this and more, automated from top to bottom using Ansible.

Features

  • Heavily automated using Ansible
  • kayobe Command Line Interface (CLI) for cloud operators
  • Deployment of a seed VM used to manage the OpenStack control plane
  • Configuration of physical network infrastructure
  • Discovery, introspection and provisioning of control plane hardware using OpenStack bifrost
  • Deployment of an OpenStack control plane using OpenStack kolla-ansible
  • Discovery, introspection and provisioning of bare metal compute hosts using OpenStack ironic and ironic inspector
  • Virtualised compute using OpenStack nova
  • Containerised workloads on bare metal using OpenStack magnum
  • Big data on bare metal using OpenStack sahara
  • Control plane and workload monitoring and log aggregation using OpenStack monasca