r/openstack • • May 06 '19

How do you reliably deploy OpenStack?

I've been trying to get a working installation of OpenStack Rocky and Stein up and running and it seems like nothing really works.

The deployment is based on Ubuntu 18.04, with the Ubuntu Cloud archive repositories either for Rocky or Stein. Naturally I went with openstack-chef since we have a chef server running but that failed because the official chef modules seem to use an outdated version of the mariadb chef cookbook, so one has to wait or develop a fix for that.

Next I went through the official guide and that also goes down the drain. The basic install is fine but as soon as I want to deploy keystone, glance and the like I hit the documentation and the deployed configuration being greatly out of sync, as in every option you are supposed to configure except for database settings is marked as deprecated.

So finally being desperate I went for trying OpenStack-Chef with the supplied kitchen environment to at least see what this would do on Ubuntu 16.04 and guess what? Also fails because it expects a Python version not available in Ubuntu 16.04.

My question thus is: if you install OpenStack, how do you reliably install this in production? Any help would be appreciated as I was so desperate that I already youtube'd...

11 Upvotes

23 comments sorted by

7

u/Xykr May 06 '19

You either pay an OpenStack vendor or spend a LOT of time customizing your own deployment.

None of the deployment options are particularly appealing, but kolla and the Red Hat/TripleO stack suck the least.

1

u/[deleted] May 06 '19

That is what I was afraid of. In that case it will probably be the best option to fix one of the normal options. Going to try myself at fixing the Chef based deployment then.

1

u/Xykr May 06 '19

What's your use case? You might not want to use OpenStack.

If the Chef cookbook is in such a broken state, use one of the widely used deployment methods instead.

Unless you want to become an OpenStack developer, in which case, disregard the above.

2

u/[deleted] May 06 '19

We're looking for a virtualisation platform that is open source, and works well with tooling like Packer, and Terraform. On top of that we use Drone CI a lot, and that comes with an OpenStack based autoscaler. Let's just say, we're a development shop and most of our projects have to be run on private infrastructure for various compliance regulations. We went through various iterations with other environments such as VMware or Proxmox but in the end OpenStack seems to be the only variant which provides a working support for tooling on top.

From what I can see it's either fixing OpenStack deployment (we tried DevStack as well, does not work), or fixing the tools we need once a running virtualisation platform is available.

edit: we tried

- openstack-chef

- openstack-ansible

- devstack

It seems like we will have to contribute to OpenStack in the end, since we are kind of forced to go the Ubuntu route due to client requirements.

1

u/notsomaad May 06 '19

What about ovirt?

1

u/svilgelm May 06 '19

devstack works great, but you need to use a master branch, because it's for developers. As far as I remember, I tried to use openstacct-ansible 2 or 3 years ago and it had lots of problems. You can also try a Fuel, but it's almost died.

2

u/wahabicp May 14 '19

I have OpenStack (Rocky) on Ubuntu 18.04 installed and working fine. I followed the minimal deployment guide available at the official OpenStack website. I did manual installation of all the services.

1

u/[deleted] May 14 '19

But you surely modified the minimal install guide, no? I tried it, and not even the instructions that describe the requirements installation were correct, e.g. the chapter about chrony, and that repeats in others as well.

Later on, the guide also falls short to mention any firewall requirements, so for those with firewalls enabled it would also not work. Been there, openstack client tools not even give an error, the just drop silent and give zero replies when creating something.

6

u/R3D3MPT10N May 06 '19

openstack-ansible is pretty good. Or, give triple-o a try: http://tripleo.org/

Tripleo is the upstream version of Red Hat OpenStack Platform. The Rocky and Queens releases are pretty stable at the moment, would definitely recommend giving it a try.

1

u/jahm4l May 08 '19

Director aka TripleO

1

u/[deleted] May 09 '19

TripleO

Heard that a few times, sadly I am bound to Ubuntu for the host systems :-(

1

u/jahm4l May 09 '19

I've never tried but Maas and JuJu

1

u/[deleted] May 09 '19

Actually going to try that, provided I can integrate MAAS with our existing machine provisioning.

3

u/satishdotpatel May 07 '19

I have tried many deployment tools like you did and end up using openstack-ansible ( which i found most robust and easy to deploy ) again openstack is beast not something you click to install, it need some serious pre-planning like type of network, provider, LinuxBridge Vs OVS etc. mostly For development i don't care about them but in production yes.

currently i am running ~300 compute node customer with 3 controller and 5 ceph storage nodes running almost ~700 total instances in high performance application, it's been 1 year and zero downtime.

4

u/[deleted] May 06 '19

Openstack is a PITA to install.

This is changing however with the kola ansible scripts, which are built around containerisation of the various components needed to run a full environment. I'm not convinced though yet.

Personally, I follow the manual install guide (it is not forgiving of mistakes, and poorly written), and write my own python deployment system (for disaster recovery backups, datacenter scale-outs, etc.).

4

u/Hexusnoken May 06 '19

I’ve had good success with canonical’s juju. I like to use LXD for containers.

1

u/[deleted] May 07 '19

I second this. It's been amazingly stable and super scalable

1

u/Hexusnoken May 07 '19

I feel like I am going backwards when I’m forced to use terraform/packer on projects, waiting for people to get on the service modeling train, even k8.

2

u/[deleted] May 06 '19

Try kolla-ansible or kayobe.

1

u/Queez- May 06 '19

We went maas + juju route, got the openstack up and running rather quickly. Then slowly redeployed every component using ansible because the reliability and management didn't fit our needs. It was a really fast way to get it up, play around and understand the internals.

0

u/[deleted] May 06 '19

[deleted]

3

u/satishdotpatel May 07 '19

When i started playing with openstack-ansible i got frustrated gave up but when i started reading and diving deep to understand how files are layout what what and where i should change to make thing right then i realized it's fun to play. Yes it's not easy to reverse engineering someone work easily. I spent lots of time in IRC #openstack-ansible channel to get my all question answered right, people are very helpful.. Official Document website isn't enough for production deployment but yes good for POC. soon i am going to write up my blog about openstack-ansible deployment and design, hope it helps new folks.

0

u/[deleted] May 07 '19

[deleted]

1

u/satishdotpatel May 07 '19

I would highly encourage go to IRC #openstack-ansible and ask question. Yes documentation is big challenge everywhere.

There is a very nice book based on openstack-ansible deployment and very nice details about deployment plan: https://www.amazon.com/OpenStack-Cloud-Computing-Cookbook-networking/dp/1788398769/ref=sr_1_fkmrnull_3?keywords=james+denton+openstack&qid=1557238867&s=gateway&sr=8-3-fkmrnull

1

u/djhankb May 31 '19

I just read this book! I can confirm it's very Openstack-Ansible centric and has TONS of good info. It's available on the Pakt subscription, which you can get free for 10 days and read this.

I did the same as you as far as learning is concerned, hanging out on #Openstack-Ansible (In fact, we may have talked before on there, name is the same) and everything else as you've said. I've been working at it for months learning the ins and outs. I am now pretty comfortable in my Openstack skin so to speak, but there's still TONS more to learn!