Ask Your Question

how to start all services separately in openstack using command line?

asked 2014-06-10 00:30:51 -0600

anonymous user


updated 2014-06-10 00:32:51 -0600

i am a newbie, i need to check what all services are there and which one are running? i am using devstack

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2014-06-10 01:14:21 -0600

dbaxps gravatar image

updated 2014-06-10 01:18:07 -0600

Follow the guide

  regarding services defined by default and required to be enabled
    You can check services  registered in system via `service --status-all | grep nova`,`service --status-all | grep neutron`
    If service nova-api (for instance) is registered :
    # service nova-api start| stop| restart 
    /etc/init.d/nova-api start | stop | restart
edit flag offensive delete link more


the /etc/init.d/nova-api start command gives me the error. - " unrecognized service "

SAHIL_BHAGAT gravatar imageSAHIL_BHAGAT ( 2014-06-10 01:32:35 -0600 )edit

Run ./
Then, reboot your machine
Run ./
Check services status one more time

dbaxps gravatar imagedbaxps ( 2014-06-10 01:43:18 -0600 )edit

where do i have to check the openstack services ? i think i am looking in system services.

SAHIL_BHAGAT gravatar imageSAHIL_BHAGAT ( 2014-06-10 03:20:49 -0600 )edit

$ sudo service --status-all | grep nova
$ sudo apt-get -y install bum
$ sudo bum
bum - boot up manager

dbaxps gravatar imagedbaxps ( 2014-06-10 03:37:31 -0600 )edit

what is the command to get in keystone service and then check the registered services?

SAHIL_BHAGAT gravatar imageSAHIL_BHAGAT ( 2014-06-10 04:29:25 -0600 )edit

answered 2014-06-18 04:54:00 -0600

You can write something like:

for svc in neutron-dhcp-agent neutron-l3-agent neutron-lbaas-agent neutron-metadata-agent neutron-openvswitch-agent neutron-server; do service $svc restart done

for svc in nagios openstack-ceilometer-alarm-evaluator openstack-heat-api-cloudwatch openstack-swift-account openstack-ceilometer-alarm-notifier openstack-heat-engine openstack-swift-account-auditor openstack-ceilometer-api openstack-keystone openstack-swift-account-reaper openstack-ceilometer-central openstack-nova-api openstack-swift-account-replicator openstack-ceilometer-collector openstack-nova-cert openstack-swift-container openstack-ceilometer-compute openstack-nova-compute openstack-swift-container-auditor openstack-cinder-api openstack-nova-conductor openstack-swift-container-replicator openstack-cinder-backup openstack-nova-console openstack-swift-container-updater openstack-cinder-scheduler openstack-nova-consoleauth openstack-swift-object openstack-cinder-volume openstack-nova-metadata-api openstack-swift-object-auditor openstack-glance-api openstack-nova-novncproxy openstack-swift-object-expirer openstack-glance-registry openstack-nova-scheduler openstack-swift-object-replicator openstack-glance-scrubber openstack-nova-spicehtml5proxy openstack-swift-object-updater openstack-heat-api openstack-nova-xvpvncproxy openstack-swift-proxy openstack-heat-api-cfn openstack-savanna-api ; do service $svc restart done

Check the scripts coming up at: (

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-06-10 00:30:51 -0600

Seen: 3,393 times

Last updated: Jun 18 '14