Ask Your Question
0

Cannot start/stop/restart nova services?

asked 2014-07-18 04:30:39 -0500

anhdenday gravatar image

updated 2014-07-18 04:30:59 -0500

I've installed OpenStack by DevStack on Ubuntu 14.04 for Development purpose, I want to debug the source code so that sometime I change something i have to restart the services. There are several essential components for Nova service: nova-api, nova-scheduler, nova-conductor, nova-compute, nova-novncproxy and nova-consoleauth. But I cannot start/stop/restart them? For example:

service nova-api restart

It's return

nova-api: unrecognized service

The same result with another nova's services :(

Please help me, thanks in advances :-(

edit retag flag offensive close merge delete

Comments

1
Syed Awais Ali gravatar imageSyed Awais Ali ( 2014-07-18 05:19:23 -0500 )edit

1 answer

Sort by » oldest newest most voted
0

answered 2014-07-18 04:59:42 -0500

9lives gravatar image

Hi anhdenday,

if you are using devstack, the service cannot be restart by the service restart pattern, for the reason devstack is using screen to manage all the services, just run the following command and you will get what you want.

1. cd to devstack home
2. run ./rejoin-stack
3. find the nova-api service by press crl+a +" then select the nova-api eg: n-api then press enter key
4. kill the nova-service by crl+ c then press up arrow key to find the command to start the nova api and press enter, you will see the nova-api service restarted.

Hope that helps!

Vic

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-07-18 04:30:39 -0500

Seen: 2,746 times

Last updated: Jul 18 '14