Ask Your Question
2

Manage Openstack services

asked 2016-05-27 10:41:55 -0600

updated 2017-03-18 15:07:23 -0600

My questions relates to Openstack service management (list/stop/start/...) at the OS level and using openstack commands

Centos:
I'am using the following to track & monitor essential Openstack services:

 cd /etc/systemd/system/multi-user.target.wants/ &&  ls *.service

Where services are Openstack clearly identifiable

Ubuntu:

1- At the OS level

>   service --status-all
or 
> ls /usr/local/bin/glance* ls
> /usr/local/bin/heat*
> /usr/local/bin/neutron* ...

This lists too much binaries

2- Openstack commands
I cannot find consistent clear commands to control services, ex:

neutron
    neutron agent-list

    neutron neutron-metadata-agent 
    neutron neutron-l3-agent
    neutron neutron-openvswitch-agent
    neutron neutron-lbaas-agent
    neutron neutron-dhcp-agent

nova
    nova service-list
    nova service-delete
    nova service-disable
    nova service-enable
    nova service-force-down

cinder 
    cinder service-list 
    cinder service-disable
    cinder service-enable

heat 
    heat service-list

glance
    glance-control all status

keystone
    keystone service-list
    keystone catalog

Found nothing for swift, ceilometer

So, what is the most consistent & recommended way to mange & monitor (status/start/stop/enable at boot/...) the main Openstack services?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
4

answered 2016-07-16 16:54:15 -0600

updated 2016-10-18 22:05:19 -0600

environement  
    service mysql status  
    service mongodb status  
    rabbitmqctl status  
    service memcached status  
    service apache2 status  

nova  
    service nova-api status  
    service nova-consoleauth status  
    service nova-scheduler status  
    service nova-conductor status  
    service nova-novncproxy status  

neutron
    service neutron-server status  
    service neutron-linuxbridge-agent status  
    service neutron-dhcp-agent status  
    service neutron-metadata-agent status  
    service neutron-l3-agent status  

nova-compute
    service nova-compute status
    service neutron-linuxbridge-agent status

glance  
    glance-control all status
    service glance-registry status  
    service glance-api status  

cinder Block storage
    service nova-api status
    service cinder-scheduler status
    service cinder-api status
    service tgt status
    service cinder-volume status

ceilometer
    service ceilometer-agent-central status  
    service ceilometer-agent-notification status  
    service ceilometer-api status  
    service ceilometer-collector status  
            Mongo DB 
                    service mongodb status  
Swift
     service memcached status
     service swift-proxy status
     swift-init all status

DB
     service mysql status
edit flag offensive delete link more

Comments

Thanks for your answer

jherre gravatar imagejherre ( 2016-07-17 06:06:00 -0600 )edit

good summary.

bcollins gravatar imagebcollins ( 2016-09-15 22:17:28 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2016-05-27 10:41:55 -0600

Seen: 3,070 times

Last updated: Mar 18 '17