r/openstack • u/red_nibia • 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.
What's a minimum in terms of hardware for a full non-production cluster that runs well? Preferably lower energy consumption hardware like NUCs.
Can/should I add some of my current hardware into the cluster(5 raspberry pi 4s with 8gb, 2 NAS units)?
Do I need everything right away or can I start minimal and add more nodes over time?
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.
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:
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.
Intra-node 10gig networking minimum.
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.
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.
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?