Home / OpenStack

Monitoring the node installation and Using Chef to Install OpenStack

Rating: 5.0Blog-star
Views: 1978
by Ravindra Savaram
Last modified: March 31st 2021

Once you have created and enabled the policy, nodes will begin to install. This may or may not take a long time depending on the size of your system. Razor provides a basic set of monitoring commands so you can tell when nodes have finished installing.

If you would like to become an OpenStack  Certified professional, then visit Mindmajix - A Global online training platform: " OpenStack Certification Training Course ". This course will help you to achieve excellence in this domain.

How to Install Node and Monitor by Using Chef

Log into the razor node and sudo to root.

vagrant ssh razor sudo su -

[ Related Article:- OpenStack Tutorial ]

To monitor the install progress of a node, execute the following command:

watch razor active_model logview

The razor active_model logview command will report on the activity of nodes as they progress through the various stages of an installation. You will know your first node has finished when you see “Broker Success”.

[ Related Article:- OpenStack Interview Question ]

Using Chef to install OpenStack

At this stage, we have a node with Ubuntu 12.04 installed by RAZOR. Additionally, that node has the 11.4.4 installed. At this stage, we need to tell Chef that this node will be an “all in one”, for example, that it will run Keystone, Nova Compute, Horizon, Glance, and a number of other services.

Chef to install 

To install OpenStack on to our node, log into the Chef Server as root:

vagrant ssh chef sudo su -

To tell Chef that our node is an all in one, execute the following command:

EDITOR=vim knife node edit node1.cook.book

Change the following line:

"chef_environment": "cookbook",

Add these lines:

"run_list": [ "role[allinone]"

Then exit vim with ‘:wq’.
Next log into the node and execute: chef-client.

Once logged into the Chef Server, we modified the definition of the node to place it into our OpenStack environment. Additionally, we assigned the node the “all in one” role, which contains all of the other roles and services necessary to build a self contained OpenStack environment. Finally, we execute CHEF-CLIENT, which pushes everything into motion.

Explore OpenStack Sample Resumes! Download & Edit, Get Noticed by Top Employers!  Download Now!

About Author

NameRavindra Savaram
Author Bio


Ravindra Savaram is a Content Lead at Mindmajix.com. His passion lies in writing articles on the most popular IT platforms including Machine learning, DevOps, Data Science, Artificial Intelligence, RPA, Deep Learning, and so on. You can stay up to date on all these technologies by following him on LinkedIn and Twitter.