r/openstack • u/unicornopenstack • Jan 06 '20
Openstack HELP!
I've been spending weeks on and off trying to get a basic openstack deployment to work on my own hardware (4 nodes with IPMI2 cards. I keep falling down on the virtual network configuration, I've tried both centos (packstack) and most recently with Ubuntu (MAAS, JuJu -> Openstack). Every guide I try to follow either has omissions which leads me down blind alleys or just doesn't seem to work even if I follow the steps.
Most recently I followed this guide to get Openstack installed:
https://ubuntu.com/openstack/install#cluster-deployment
I finally got the installation to complete on the 3rd attempt, when I tried to contact Ubuntu for further guidance I got a call from a saleperson wanting to know the size of my deployment and if I wanted to buy consulting. I'm just a Joe trying to teach myself something outside of work in my own time, I don't have a consulting budget! Some documentation I could follow to prove this product actually works would be a good first step.
Red Hat are even worse everything seems to be behind a pay wall, I get it that companies have to make money, all I'm trying to do here is get enough knowledge to get to the point where I might be able to get a POC environment going at my employer,
I had stupidly thought the Ubuntu deployment tools would give me a basic functional configuration where my instance would be able to get to the internet. I need guidance on getting my flat network piped into the VM, I can ping the router and floating IP from the VM but can't see those addresses from the "real" physical network. I have looked at the openstack.org docs but they don't seem to offer much in the way of troubleshooting help.
4
u/fire00m Jan 07 '20
if it is your first time with Openstack, the best thing is not to install a recent Release. I recommend you deploy the Mikata or Ocata Release in CentOS 7 with remi repo.
4
u/imsundee Jan 07 '20
I'd stay away from Vendor built ones, look at the Openstack Ansible project and its documentation, usually can spin up a AIO cloud in an hour using that. It also guides you through the networking.
3
u/woojay Jan 07 '20
After a few days of tweaking, I was able to complete a two-node installation w/ Kolla Ansible (https://docs.openstack.org/kolla-ansible/latest/). It uses Ansible to deploy containerized OpenStack services. Once it's all setup and downloaded, booting up a brand new cluster takes only about 20 minutes. I did this about a month ago. The doc wasn't perfect but pretty good. You can also try its all-in-one mode just to check it out first before trying multi-node setup.
1
u/djhankb Jan 07 '20
I had good luck with Openstack Ansible on Debian. The folks over on freenode #openstack-Ansible are quite helpful too.
Networking is an absolute bitch. I ultimately ended up going with Open VSwitch which was a bit of a pain in and of itself but once I got it going it’s been pretty nice. Iirc I had put together my own scripts and such to pre-configure the networking before running the playbooks to build out the infrastructure.
I hate coming to you with yet another, different deployment model but their deployment guide is pretty complete. I’ll admit it’s not 100% but that’s what irc is for.
1
u/Eric3710 Jan 07 '20
I’ve been working through this course on Udemy.com and its been fairly easy to understand. They have a New Years sale on until Jan 9 where most courses are under 15 bucks. Not free, but super cheap and lots of great resources. Walks through step by step how to set up an open stack cloud first using VMs, then on bare metal, then into automating deployment with Kolla-ansible and vagrant on VMs and then also on baremetal.
1
u/usertm Jan 07 '20
Start with a simple deployment, either with packstack or kolla-ansible or (ideally) manual components installation.
https://www.rdoproject.org/networking/networking-in-too-much-detail/ - this should help understand networking part.
(Packstack all-in-one is quite straightforward and should work out of the box)
If you're still stuck: ask for help here, on IRC or just DM me.
1
u/pmatulis Jan 08 '20
This is the best Ubuntu OpenStack guide I know of. It has been entirely refreshed over the last month. I use it all the time.
https://docs.openstack.org/project-deploy-guide/charm-deployment-guide
1
8
u/phiber232 Jan 06 '20
OpenStack is a complicated beast and requires lots of trial and error. Networking is the most complicated. Post your ml2_conf.ini and maybe someone can help you