Ask Your Question
0

How to delete the openstack services in devstack ?

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

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
1

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

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

Comments

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

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

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

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

Comments

@coolsvap : thank you so much !

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

@Deepak :does this resolve your issue?

coolsvap gravatar imagecoolsvap ( 2013-07-30 06:46:09 -0500 )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 ./stack.sh 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 -0500 )edit

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

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

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

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

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

jpichon gravatar image

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

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, ./unstack.sh and ./stack.sh.

However you should note that Horizon requires at least Nova, Glance and Keystone to function properly. http://docs.openstack.org/developer/horizon/quickstart.html

edit flag offensive delete link more

Comments

@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 -0500 )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

Stats

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

Seen: 2,371 times

Last updated: Jul 30 '13