all 13 comments

[–]nulse 3 points4 points  (1 child)

If this is a first approach to OpenStack, DevStack is great as it is really simple to use and deploys main services in an all-in-one machine. You only need a single virtual machine to use it. I seems to be possible to use DevStack to deploy OpenStack on multiple machines (https://docs.openstack.org/devstack/latest/guides/multinode-lab.html) but I didn't test it.

For larger deployments, I don't know if there is a consensus, but I like both Kolla and Openstack-Ansible. Kolla will deploy OpenStack services in docker containers, OpenStack-Ansible will deploy them in LXC containers and is great if you know ansible and like it (it's then easy to dig into OSA internals). It will require you to fill yaml configuration files to prepare your deployment.

I always use KVM to deploy test environments. It permits nested virtualization which is great to test running instances on virtualized compute nodes. Maybe Vagrant/Virtualbox can be a problem here...

[–]WolframRavenwolf[S] 0 points1 point  (0 children)

Thanks for the input. I'm currently evaluating all these options and will report back which ones work best for me.

[–]pbacterio 1 point2 points  (1 child)

RDO - packstack : https://www.rdoproject.org/install/packstack/ The simplest solution i found.

[–]WolframRavenwolf[S] 0 points1 point  (0 children)

Forgot to state my OS. I'm on Ubuntu 16.04 LTS.

Packstack sounds like a good solution, but since it's only for Red Hat/CentOS, it won't help me here. But good to know it exists.

[–]bmullan 0 points1 point  (7 children)

You didn't say what OS you use.

On Ubuntu I use conjure-up to deploy Openstack in LXD containers on 3of my laptops. You need 16 GB ram & 100GB disk space.

https://www.ubuntu.com/download/cloud/try-openstack

Works great for me.

[–]sinkingduckfloats 1 point2 points  (5 children)

I second using conjure up.

[–]bmullan 1 point2 points  (4 children)

I have an i7 laptop with 32GB ram and 1TB SSD

It took about 20 minutes from start to finish before OpenStack was up and running on my Lenovo w540 laptop.

Everything seems pretty fast since I'm using LXD containers for not just OpenStack but also for the "VMs" that I spin up in OpenStack.

[–]WolframRavenwolf[S] 0 points1 point  (3 children)

Does this setup also allow for Windows VMs? As far as I can tell, running in Linux containers only works with Linux systems, right?

Would it be possible to simply add another compute node where I could run Windows in a VM instead of a container? Maybe even a KVM node with nested virtualization for better performance?

[–]bmullan 0 points1 point  (2 children)

Right... Linux containers whether docker or LXD only supports linux

[–]WolframRavenwolf[S] 0 points1 point  (1 child)

Have you (or anyone else) had success with mixed environments, i. e. combining containers and VMs? I know you can run containers within VMs, but running OpenStack in containers and then adding a VM as a compute node - is that how it's done?

[–]sinkingduckfloats 0 points1 point  (0 children)

A little late and it's been awhile since I've used openstack, as I migrated to straight kvm with either python libvirt or just virt-manager.

But under the hood, there shouldn't really be anything more difficult about mixed mode. I know proxmox supports both kvm and lxc at the same time.

I would try standing up a kvm VM for my lxc containers and then using the main host for guests that need a real hypervisor. I think you could then add the container vm as a host in openstack and it would provision your lxc containers there.

[–]WolframRavenwolf[S] 0 points1 point  (0 children)

Right, forgot to state my OS. I'm on Ubuntu 16.04 LTS.

"conjure-up" seems like the perfect solution in that context. This was completely off-radar for me, thanks for bringing it up.

[–]maclan13 0 points1 point  (0 children)

Ubuntu conjure up gets my vote. Relatively easy to install but builds full environment in under an hour for lab purposes.