Ask Your Question

How to delete the openstack services in devstack ?

asked 2013-07-29 19:43:28 -0600

Deepak gravatar image

can someone please tell me how to deactivate the openstack services in devstack ? I just need horizon and keystone how to delete other services ? Do I do it in stackrc ?

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted

answered 2013-07-29 22:52:50 -0600

Deleting/Stopping services in devstack is quite easy,

  1. you can do a screen -x with stack user to get the screens. Each screen has the service name given at bottom.

  2. navigate between screens with Ctrl + A + N (next screen) or Ctrl + A + P(previous screen)

  3. use Ctrl + C to stop the service.

  4. use the previous command in each service to start the service again.

hope this helps :). cheers!!!

edit flag offensive delete link more


@coolsvap : thank you so much !

Deepak gravatar imageDeepak ( 2013-07-30 06:08:51 -0600 )edit

@Deepak :does this resolve your issue?

coolsvap gravatar imagecoolsvap ( 2013-07-30 06:46:09 -0600 )edit

@coolsvap: yes it did ! But my problem is I have cloned federated keystone!! for my development. I did few changes int the keystone.conf file and saved it. But when I run ./ in devstack environment. The changes I made returns back to its old values and shows me error. Please help me out

Deepak gravatar imageDeepak ( 2013-07-30 08:12:45 -0600 )edit

@Deepak, I believe your problem is with re-running after restart, if I understood correctly. Dont run again, use script with stack user.

coolsvap gravatar imagecoolsvap ( 2013-07-30 09:25:49 -0600 )edit

You can also alter this script to run only the selected components by skipping the others. run will always change your settings to default as it picks the code from repo.

coolsvap gravatar imagecoolsvap ( 2013-07-30 09:26:04 -0600 )edit

answered 2013-07-30 04:17:06 -0600

jpichon gravatar image

updated 2013-07-30 07:55:56 -0600

You can update your devstack localrc file with "disable_service" for each service. You can see the service names by doing screen -r and Ctrl + a then " in an existing stack instance.

e.g. adding to your localrc:

disable_service c-api c-sch c-vol # Disable Cinder service
disable_service g-api g-reg # Disable Glance services

and so on. Then, ./ and ./

However you should note that Horizon requires at least Nova, Glance and Keystone to function properly.

edit flag offensive delete link more


@jpichon: thank you so much for the response. I have posted the exact problem of mine please help me sorting it out

Deepak gravatar imageDeepak ( 2013-07-30 06:08:31 -0600 )edit

answered 2017-07-02 02:21:39 -0600

Pranay Sagar gravatar image

To delete openstack service this work for me ....

1 openstack service delete Service ID|Service Name

edit flag offensive delete link more


Thank you so much..It is working now..

Jeetendra gravatar imageJeetendra ( 2017-07-02 12:06:00 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-07-29 19:43:28 -0600

Seen: 2,847 times

Last updated: Jul 30 '13