r/openstack • • Aug 21 '22

Home Openstack

I am interested in creating something for my home. This would include running a plex server, file storage, home automation, stuff like that. Maybe some machine learning training jobs.

I have a few questions.

  1. What's a minimum in terms of hardware for a full non-production cluster that runs well? Preferably lower energy consumption hardware like NUCs.

  2. Can/should I add some of my current hardware into the cluster(5 raspberry pi 4s with 8gb, 2 NAS units)?

  3. Do I need everything right away or can I start minimal and add more nodes over time?

  4. Should the hardware be something like a RAID array, roughly equal power or the weakest will slow everything down?

Apologies if I asked a bunch of nooby questions.

10 Upvotes

10 comments sorted by

View all comments

2

u/lmux Oct 01 '22

I do consulting for private cloud deployments professionally and runs a very small (12u) rack at home for dogfooding. My tl;dr for OP is to go to vmware or proxmox unless you want aws-like capability, e.g. self service guest network, floating ip, resource rate limit and billing, multi node, multi region, etc. These features are mostly for scale out and multi-tenancy, and will get you into the deep end in terms of $$ and know-how very quickly.

If the OP still wants to go on, here's some pointers:

  1. Avoid hardware raid like the plague. Openstack goes well with SDS solutions like ceph. You will need to invest in enterprise grade ssd for good IOPs.

  2. Intra-node 10gig networking minimum.

  3. You can get started with a single node and scale out, but you may need to tear down your cluster to upgrade. Realistically, for an aio system you are looking at min 64g ram and 8 modern xeon e3 cores. The control plane workload will consume ~12 gig and more than 4 cores. The idea is to get more nodes later on that will be controlled by your first node. So, no a nuc won't cut it except for demo purposes.

  4. Kolla ansible is very flexible and potentially a good starting point. You can play with it in a vm on your PC first. There are other options too with different focuses. In my case, I run a customized version of starlingx and openstack-helm.

  5. You can create a vm flavor with passthru access to your host usb controller, and hook your Pi to the usb. That way you can launch a vm with serial access to your pi. Not so sure about youe nas...maybe as nfs share?

1

u/red_nibia Oct 01 '22

Thank you for this insight.

I have looked at proxmox and not 100% sure if it can cover my ambitions. I am coming from AWS land and love the ability to create infrastructure as code and event driven systems tied together through an eventbus.

It sounds like having 3 nodes each with spec: 64g ram and 8 modern xeon e3 cores - connected through a 10GB switch on a 12u rack should give me a powerful enough install for my needs, with the ability to add more nodes if somehow one of my learning projects gets a market and needs to scale up, no?

I should also be able to add my current low power gear to this cluster to get a little failover resiliency and extra lower speed storage it sounds like, if I am understanding correctly, as long as they aren't used as the control node.