r/openstack • • 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

13 comments sorted by

View all comments

Show parent comments

1

u/KingFlizzy Aug 12 '19

We have Foreman setup so I can use that to handle the os install. So I assume I just get all the machines setup and then run ansible. Do you know which services the playbooks install by default

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

1

u/KingFlizzy Aug 12 '19

I'm going to check out the video, but whats the learning curve on getting DRP setup. Maas is relatively easy and Foreman super complicated but it works well once its setup. Asking because I don't have a lot of time learn a new system, but also these machines don't have any type of bmc on them I have to manually control the power.

1

u/sygibson Aug 12 '19 edited Aug 12 '19

disclaimer: I work for RackN (which maintains a commercial version and support for DRP) - so I am heavily biased ... BUT, I have worked extensively with all of the other open source implementations (so much so; at a previous job I chose to build a complete provisioning system from scratch because the open source ones didn't cut it ... then I saw the light, and joined RackN ... :) )

DRP was designed to be very fast to get started. Point your web browser to our Portal:

https://portal.rackn.io/

There is a set of "quickstart" documentation to get you ... quickly ... started ... embedded in the front page of the portal.

[[EDIT: documentation for the moment: https://provision.readthedocs.io/en/latest/doc/quickstart.html ]]

The usual caveats about provisioning systems, Layer 2 boundaries, multiple DHCP servers, etc... exists with DRP. But it's designed to be super fast to get up and running quickly with basic OS provisioning. If you have DHCP, TFTP, and PXE off of DRP - no other competing DHCP servers, the process is easy. If you need to boot/deploy systems on remote Layer 3 subnets, you still need to address getting DHCP packets from those networks to DRP to service. See "ip helper" or "dhcp relay" options in your switches - or worst case multi-home DRP with NIC/interfaces/L3 networks in to each network leg.

You can go extremely deep if you devote more time to learning the platform and workflow. For example - we have extremely capable hardened production grade Kubernetes deployment capabilities via the "KRIB" content which is Community maintained.

If you get stuck - head over to the Slack #community channel for help.