r/openstack • u/Jalambakisa • Nov 03 '22
How long does it take to setup Openstack?
Hi, I have a task at work to create a test vms for open stack:
Deploy
Controlplane (3 ha nodes)
Compute (3 ha nodes)
Route server (2 nodes)
Monitoring
S3 Minio
Ceph (3 nodes) Me and my colleague never worked with it, but have some experience with Linux, kvm, proxmox, vmware. How many hours can we spend on this task?
2
Nov 03 '22
I'd say a day or three. Given you have a team/you know everything you need.
1
u/Jalambakisa Nov 03 '22
Interesting. Why do people usually write that they have wasted weeks on similar tasks?
3
u/Zoellner122 Nov 03 '22
OpenStack is...well, quite a complex beast. Looking at the list, though, you will get a good headstart if you follow the guide in the docs to get running before starting to customize the setup.
1
u/Jalambakisa Nov 03 '22
I'm asking 120 man hours for that. Is that enough, how do you think?
1
u/Zoellner122 Nov 03 '22
I solod the project during my freetime, so I can't really answer that question; it might be tight, you could ask for more, anything not spend is always good
1
1
Nov 03 '22
As I said, this time is only if done by a team who has already previously done it almost step to step. There could be a lot of stuff which could easily go wrong in the process. Leading to mooore delays.
And most of the time, they Google it. Nd make a Patch then and there.
The most ideal practice is to systematically design, test and then implement on top of real servers.
2
u/firestorm_v1 Nov 03 '22
If you are very comfortable with the deployment tools (MAAS, Juju), you can get it fully stood up in about three days. If you're comoletely new to the tools, maybe a week to a week and a half.
Juju creates as many problems as it solves, and I found the documentation on charmed openstack to be a bit lacking, requiring lots of research and rebuilding the cluster due to some undocumented bug or dependency.
If you're doing a simple proof of concept by installing the core services, you could have it running in two days or so easily.
Best of luck to your installation!
1
u/Jalambakisa Nov 03 '22
I used to work with ansible. Is it similar?
1
u/true-flint Nov 03 '22
Way different from what I was reading when I was setting up a cluster. OSA and Kolla work on OS level providing openstack services in containers (lxc and docker) where juju is a MaaS (from what I understood)
1
u/triplewho Nov 04 '22
TripleO heavily leverages Ansible:
https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/I have a bunch of videos that might be helpful if you wanted to check that out:
https://www.youtube.com/playlist?list=PLSsjlbQ1lz_Jd_HzbAk8FhKjYUqkTfIy21
u/firestorm_v1 Nov 04 '22
Kinda? (I don't know too much about ansible)
Juju is a configuration framework, in that you set up relations against various deployment packages (called units) so you could deploy a webapp unit and relate it to a mysql unit and it does all the DB config, init and setup. It's neat because setting up an HA mysql cluster is onlya few commands (deploy three units, set up three relations) and it just magically appears.
Juju also does deployment of charms/units and manages their configs, one example is to deploy keystone, then set up the relations for cinder, glance, nova, etc. is all done via juju commands. The configuration is live too, meaning if you alter a relation, the configs get broadcasted to the units affected by that relation automatically.
The problem is that it's really rigid in the deployment model, so if you have customizations that are outside of the charm's templates, it can get quite hairy. We ran into this issue with the cinder-netapp charm, it wasn't accepting our already established storage backend string and required them to release a charm update. In the interim, we had to chattr cinder.conf with our settings preserved just so our cluster would remain operational. Some of the common sense stuff doesn't work right, example is "juju status (unit_name)", you'd ezpect to see just (unit_name) and its dependent unit statuses, but it instead shows you every unt as if you just typed in "juju status". We usually have to grep for the unit in question to get a more concise list.
I have yet to build a charmed cluster on my own, the company hired a contractor to build out our installation and unfortunately, I was not part of that.
4
Nov 03 '22 edited Mar 24 '24
person act smile knee tender future overconfident shelter wrench crowd
This post was mass deleted and anonymized with Redact
1
2
u/MaximusDM22 Nov 03 '22
I used kolla-ansible and it took me a couple days. I am a novice in Linux and knew nothing about networking. I had to read up on a lot of stuff like network interfaces and floating IPs. If you have a whole team and are very experienced with this sort of thing then the 140 hours that you mentioned in another comment should be reasonable I think. I dont know if it would be production ready but you could get close.
1
Nov 03 '22
Outside setup the hardware, network, OS and basic configuration, you can get production ready in 1-3 days using kolla-ansible. The problem is Openstack is very complex project with hundreds buttons and knob. The most intriguing one is on network side.
If you just want to create proof-of-concept or test Vm, I suggest to use all-in-one of Kolla ansible and avoid the troubles with networking.
1
u/electrocucaracha Nov 03 '22 edited Nov 03 '22
Provision maybe three hours, learn how to do it in a right way... few months
I have this repo (https://github.com/electrocucaracha/openstack-multinode) which contains the instructions required to setup a OpenStack cluster with Kolla using Vagrant VMs.
1
Nov 15 '22
If you exclude Operating systems provisioning and configuration and network configuration on both switches and hosts it will take you somewhere between 1h and half a day for the first time using kolla/kolla-ansible.
5
u/g00pix Nov 03 '22
Sorry I'm not answering your question but why use Minio if you deploy Ceph? radosgw allows you to serve a S3 compatible API directly with Ceph.