Deployment of containerised OpenStack to bare metal using kolla and bifrost
b80e94ca36
When using a target virtual environment for kolla-ansible [1], it is possible to get a Permission Denied error. This can occur if the permissions of /opt/kayobe or /opt/kayobe/venvs are restricted to the stack user (0700), since kolla ansible uses the kolla user. Although it makes sense for /opt/kayobe/venvs/kayobe to be 0700, /opt/kayobe and /opt/kayobe/venvs should be 0755 to allow the kolla user to access a virtualenv in /opt/kayobe/venvs/kolla-ansible. This was seen during deployment of a seed, with kayobe target virtualenvs [2] also in use. Since the kayobe-target-venv.yml playbook is one of the first playbooks to be run, it will create the /opt/kayobe and /opt/kayobe/venvs directories, and set the permissions correctly. [1] http://kayobe.readthedocs.io/en/latest/configuration/kolla-ansible.html#remote-execution-environment [2] http://kayobe.readthedocs.io/en/latest/configuration/kayobe.html#remote-execution-environment Change-Id: I124cff8f08309c1eeef78c035c4cf195367b21f2 Story: 2001968 Task: 15868 |
||
---|---|---|
.github | ||
ansible | ||
dev | ||
doc | ||
etc/kayobe | ||
kayobe | ||
playbooks | ||
roles | ||
tools | ||
zuul.d | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.stestr.conf | ||
.travis.yml | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
README.rst | ||
requirements.txt | ||
requirements.yml | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini | ||
Vagrantfile |
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.
- Free software: Apache license
- Documentation: https://kayobe.readthedocs.io/en/latest/
- Source: https://git.openstack.org/cgit/openstack/kayobe
- Bugs: https://storyboard.openstack.org/
- IRC: #openstack-kayobe
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
In the near future we aim to add support for the following:
- Control plane and workload monitoring and log aggregation using OpenStack monasca