Ask Your Question
0

How to enable plugin in heat and reboot heat in devstack

asked 2015-06-04 10:28:37 -0500

stan gravatar image

I am trying to follow the instruction on http://docs.openstack.org/developer/heat/pluginguide.html (http://docs.openstack.org/developer/h...) to add a customized plugin, but I cannot find the plugin_dir in my heat.conf file. I use devstack to install my heat. Also, How to reboot the devstack services if I change the configurations?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-06-12 13:36:51 -0500

sunnyarora gravatar image

You may need to specify plugin_dirs in heat.conf check this answer

Find the folder that contains the plug-ins for the Heat engine. This folder is listed in the configuration file for the engine. The default location for this file is /etc/heat/heat.conf. In this file, the plugin_dirs parameter shows the location of the plug-in folder or folders. In the following example, the folders are /usr/lib64/heat and /usr/lib/heat:

plugin_dirs=/usr/lib64/heat,/usr/lib/heat

And On restarting the devstack services Please check this answer from sagar

Devstack does not run services. Its runs as screens. After successfully running stack.sh, if you want to restart any openstack service, get into screen using screen -r. For restarting nova network, go to nova network screen which is screen 9, using the command CTRL+A followed by 9. Then kill the nova network using CTRL+C and then restart it using "up" arrow and enter. Note if you reboot your machine running devstack, you need to rerun stack.sh


OR -> You can also this below solution for How to restart all services without unstack . You can manually restart any service you like in devstack by following the below procedure:

  1. In terminal type "screen -x stack" . Here stack is the screen name. you will be logged into the screens for all devstack services
  2. Browse to your selected service by pressing Ctrl+a and then n (Next screen). Ctrl+a and then p (Previous screen)
  3. When at the desired screen press Ctrl+c (This will stop the service)
  4. Press the UP key and press enter.

The service will restart.

For an automated restart you can copy the command (from 4th step) for restarting service and make a script that can re-start all such services.

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

Stats

Asked: 2015-06-04 10:28:37 -0500

Seen: 1,214 times

Last updated: Jun 12 '15