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

View all comments

Show parent comments

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/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.