Ask Your Question
0

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

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

anonymous user

Anonymous

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

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
0

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

dbaxps gravatar image

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

Follow the guide http://sayalilunkad.github.io/posts/D...

  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 
    or
    /etc/init.d/nova-api start | stop | restart
edit flag offensive delete link more

Comments

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

Run ./unstack.sh
Then, reboot your machine
Run ./rejoin-stack.sh
Check services status one more time

dbaxps gravatar imagedbaxps ( 2014-06-10 01:43:18 -0500 )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 -0500 )edit

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

dbaxps gravatar imagedbaxps ( 2014-06-10 03:37:31 -0500 )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 -0500 )edit
0

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

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: https://github.com/nextrevision/openstack-scripts (https://github.com/nextrevision/opens...)

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

1 follower

Stats

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

Seen: 3,265 times

Last updated: Jun 18 '14