Ask Your Question

Help(Beginner)-How to control KVMs in openstack

asked 2017-03-10 04:02:36 -0600

DaniSanchez gravatar image

updated 2017-03-13 04:13:37 -0600


Im a beginner in openstack. I want to build a computer(Controller) which controls Openstack. Then I have 20 more computers(Nodes) with debian with Virtual Machines(KVM).Also the Virtual machines have Debian. Could i controll and administrate these KVMs with Openstack in the controller? If yes, how?

Thank you so much

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2017-03-14 02:27:27 -0600

Vinoth gravatar image

From my understanding, You are looking to control the existing KVM hypervisors and its VMs through a new OpenStack setup.

If it is the case, Then the answer is NO. You can not control the existing VMs prior to Openstack installation.

OpenStack highly depends on its database. whenever the new VM is being created there are certain information about new VM created by OpenStack NOVA will be saved in the respective DB tables. OpenStack will manage those VMs using the available DB information.

In your case, all the KVM VMs created before the OpenStack controller installation has no info saved in the DB for the OpenStack to manage it.

edit flag offensive delete link more


Thank you so much, but there is no way to controll it or add to this database for example? (Sorry, maybe im ignorant)

DaniSanchez gravatar imageDaniSanchez ( 2017-03-14 03:19:04 -0600 )edit

It's hardly possible. Matching the DB entries for all the tables is impossible from my point. In short, my answer is NO!

Vinoth gravatar imageVinoth ( 2017-03-15 02:39:30 -0600 )edit

answered 2017-03-13 06:07:07 -0600

Short answer: Yes. OpenStack was designed for KVM, and it plays with Debian, at least until the previous release Newton. As far as the How is concerned, there are plenty of options. Here are a few.

You need to install several components of OpenStack on the controller node; at the minimum Keystone (Identity), Glance (Image Catalog), Nova (Compute service), Neutron (Networking). If you want OpenStack to control your storage volumes as well, you need Cinder.

On the compute nodes with KVM, you only install some components of Nova and Neutron to control the KVM virtual machines and their network connectivity.

If you want to do this from scratch, follow the installation tutorial. Caveat: This is not meant to produce a production-ready cloud. Unfortunately, there are no Debian instructions for the newest OpenStack release, Ocata. If it has to be Debian, use the previous release, Newton.

Alternatively, you can use an installation tool like Packstack for RHEL and Centos, or Autopilot for Ubuntu, or Mirantis to install your cloud. There are certainly other options, perhaps also with Debian. Autopilot and Mirantis install the operating system on the compute nodes, if I am not wrong, and it won't be Debian. Packstack expects an existing RHEL-like installation.

There are other alternatives that I don't know that well, such as installation with provisioning tools. Look for OpenStack/Ansible, OpenStack/Chef etc.

edit flag offensive delete link more


Thank you so much, the last question, could i install Devstack in the controller node? Or I need to install manually all the components.

DaniSanchez gravatar imageDaniSanchez ( 2017-03-13 07:13:03 -0600 )edit

You can use DevStack, but be aware: it's purpose is development and testing; it can't be rebooted; it has no high availability or security features; it uses a very nonstandard way to run the services. I don't recommend it for a newcomer.

Bernd Bausch gravatar imageBernd Bausch ( 2017-03-13 17:00:10 -0600 )edit

You can install OpenStack manually or use one of the many other deployment methods. My list above is not complete.

Bernd Bausch gravatar imageBernd Bausch ( 2017-03-13 17:00:47 -0600 )edit

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

1 follower


Asked: 2017-03-10 04:02:36 -0600

Seen: 170 times

Last updated: Mar 14 '17