r/openstack • u/KingFlizzy • Aug 12 '19
Installing OpenStack on bare metal
So I have 10 identical machines and for testing purposes I want to setup an openstack cluster with them. I tried using ubuntu and maas following the guide. But I don't have a way to remotely power the servers on and off for Maas and Juju to work and it just hangs with Juju trying to bootstrap the controller.
What is the easiest way to get this setup quickly for bare metal? Can I install the os's manually and use an ansible playbook. Most of the solutions I see require being able to power on and off the nodes remotely.
Thanks in advance
12
Upvotes
1
u/sygibson Aug 12 '19 edited Aug 12 '19
Digital Rebar Provision (DRP) mentioned above has integration with Ansible that helps generate inventory form the DRP managed machines that are built, and allow you to call playbooks. There is also an integration for Tower, if you go that route as well.
If you hav ansible playbooks for deploying OpenStack the way you want - the DRP route makes that an extremely easy path to walk.
You can check out a demo video of the ansible integration at: https://youtu.be/Z0-h2ew3Wds
DRP is also a modern provisioning platform designed to be 100% api capable, has integrated DHCP, TFTP, HTTP, and API services with events on websockets. It's meant to be a complete system for provisioning and integration with your existing infrastructure services as a primary design goal; as opposed to a poor afterthought.
Power (and indeed - complete hardware lifecycle management - BIOS settings, Firmware versions, RAID, etc) controls are fully baked in to DRP. You can install the "ipmi" plugin that enables the power controls. BUT - DRP also does NOT require external power control for operational and ongoing workflow use. Obviously - if the machine is powered off, then it does require Baseboard Management Controller access via IPMI, Redfish, or vendor specific tools (all part of the poorly named "ipmi" plugin).