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

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 13 '19 edited Aug 13 '19

/u/KingFlizzy - I didn't directly answer your question on the power control. Every other solution requires you to have BMC access for out-of-band power controls. Digital Rebar Provision is different; in that it allows you to manage post power-on control in-band with Workflow actions. This means you can cycle a machine through various reboots without use of IPMI/Redfish/Vendor tools for power control.

It can't help you with the initial power on process - that requires "something" to control it ... either a "push the button", a smart PDU with power controls, or a Baseboard Management Control (BMC) to implement out-of-band capabilities.

1

u/KingFlizzy Aug 13 '19

So to move this along I went ahead and installed the Os with Foreman and I'm going to try and deploy with Ansible. I do want to check this out though as Foreman doesn't offer much for support. Can it do Windows as well?

1

u/sygibson Aug 13 '19

Yes. In addition to doing installations via standard kickstart and preseed via package mirrors (a pretty bad pattern, unless you have complete and tight control over your own package mirrors and versions) ... you can also do installs via Images. Images can be built any number of ways, including hashicorp Packer, manually, or other methods...

The image deploy plugin supports deployment of Windows images - along with proper partitions/filesystem resizing, and post-deploy bootstrap configuration changes.

Additionally, the Workflow agent (optionally) runs in Windows as a single statically linked/self contained binary, and allows you to (if desired) perform ongoing composable Workflow actions of Windows. (this path is true for Linux and Mac OS X as well).