Ask Your Question
0

Install on a single PC

asked 2015-12-14 03:53:48 -0500

Liviu gravatar image

I'm trying to learn OpenStack and of course, first thing first, trying to install this one. And here's where the problems start.

So my question is what is the best method to install OpenStack on a single machine, on just one PC. I want to fully install OpenStack, all it's projects (no Ironic), not all in the same time, just essentials ones first and then, after i will be familiar with this stack to start installing other modules. I was thinking of OpenStack nodes over ESXi, manually installing essential nodes (or if there's another better option, please tell me). This or something like this will be my ideal approach. I can try packstack, devstack or kolla, but i'm still in the beginning on understanding completely how OpenStack works so i'll prefer a more complex solution. I can use a distribution too, but i would like to start learning with official OpenStack.

So i want the BEST possible method, not the easiest one, i really want to learn while testing this (that's why i wan't to manually install projects, not auto-installers). I'm a newbie in this, with previous operations knowledge and others, and i just bought a 8core CPU and 16GB RAM just for learning OpenStack. If it's a must i can use my 4core CPU and 8GB RAM for extra testing. Any suggestion with links to tutorials is welcome.

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
3

answered 2015-12-14 07:34:34 -0500

Hi, as you said, first things first, so i will suggest you first to install an all in one environment with any of available tools( packstack, devstack, kolla, ansible openstack, puppet and so on), be familiar with core components and the usage.

Once you know enough to administer OpenStack, learn the core modules itself, that means that you must learn how the projects work to make the jobs you request and how they communicate with others components, this can be done via official documentation, summit sessions (available at the OpenStack foundation youtube channel) and via books. This second step can be mixed with manual installation, at this step, you will learn troubleshooting( probably a lot ;) ) and reinforce what you learned from the step two.

The road is not finished yet, now you are a pure OpenStack operator, but the business needs are with mixed environments, the next steps is learning about the ecosystem around OpenStack, an example can be different storage solutions like ceph, clustering, HA, security, SDN, hypervisors, tunning, monitoring, etc.

Regards

edit flag offensive delete link more

Comments

1

i will chose this as my best answer. it will be great if there's an openstack official first page and on it to say: easiest method to install openstack is trying one of these autoinstallers ( name and tutorial) and after you understand how they work you can start installing modules. thanks

Liviu gravatar imageLiviu ( 2015-12-22 03:03:29 -0500 )edit
3

answered 2015-12-14 14:05:51 -0500

I (and probably most of us) had the same problem at the beginning. I personally ended up reading the official install guide, and wrote a kind of "scripted version" of that guide, with some extra features (http://larrucea.eu/introducing_bomsi_...).

I called it BOMSI, and if you want to give it a try, you can install the core + horizon and heat in 3 commands (or 3 commands and one click), and some 15 minutes, without any configuration. And if you want to know how the stuff works, just read the content of the functions such as "install_keystone" in the bomsi_lib_conf file. You will see the same content of the install guide, but in BASH format.

The code is here: https://github.com/julenl/BOMSI

edit flag offensive delete link more

Comments

1

I just went through the script and it seems you have done a splendid work... Thank you!!

Prateek K gravatar imagePrateek K ( 2015-12-14 22:26:40 -0500 )edit
2

answered 2015-12-16 12:56:38 -0500

capsali gravatar image

Well it depends. In my case devstack, packstack, mirantis fuel gave me more headache then an ease.

So i started installing openstack mannualy from the official docs on several virtual machines hosted on my PC.

Started with 3 VM's with Ubuntu as guest OS. One for controller/network node, one compute node and a cinder (block storage) node and followed the docs.

It will take time and you will need patience, although the documentation is a lot better now than when i started.

You will spend hours looking for and at logs to see what went wrong, especially at first. But as you get better understanding of the system it will become much easier.

So my recommandation is to setup a virtual enveironmnet and start installing manually following the documentation at docs.openstack.org . And ofcourse lots of googling and youtube-ing.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2015-12-14 03:53:48 -0500

Seen: 603 times

Last updated: Dec 16 '15