Ask Your Question
3

Is there any command to check the health of openstack setup and the status of its services?

asked 2014-09-15 00:23:00 -0600

Ankur gravatar image

I want to know if there is any command through which I could identify the health of overall openstack cluster and the summarize status information of all of its components (Eg: Glance, cinder, nova etc..)

OR

Component wise status inquiry command??

edit retag flag offensive close merge delete

6 answers

Sort by ยป oldest newest most voted
5

answered 2014-09-15 01:05:10 -0600

Anand TS gravatar image

Hello,

You can use command $ openstack-status if you are running OpenStack on RHEL-based Linux distributions.

edit flag offensive delete link more

Comments

I basically have below query- For (ubuntu + openstack multinode setup) and (ubuntu + devstack) both, I want a top level status summary for Glance, nova, tempest, keystone, cinder etc as- whether they are installed and configured correctly and ready to use or not ??

Ankur gravatar imageAnkur ( 2014-09-15 01:57:21 -0600 )edit
3

answered 2014-09-15 00:37:51 -0600

updated 2014-09-15 00:38:40 -0600

"keystone service-list" lists all services in service catalog

"nova service-list" displays a list of all running services related to nova component and their status and state.

check out the link http://docs.openstack.org/user-guide/... for other component commands

edit flag offensive delete link more

Comments

I basically have below query- For (ubuntu + openstack multinode setup) and (ubuntu + devstack) both, I want a top level status summary for Glance, nova, tempest, keystone, cinder etc as- whether they are installed and configured correctly and ready to use or not ??

Ankur gravatar imageAnkur ( 2014-09-15 02:00:26 -0600 )edit

I have a single node devstack setup and I login into Horizon and navigate to the "Admin->System Panel -> System Info" to look up the status of the different components and their services

vishwanathj gravatar imagevishwanathj ( 2014-09-15 14:45:25 -0600 )edit
1

answered 2014-09-15 01:41:51 -0600

Ankur gravatar image

updated 2014-09-15 01:51:08 -0600

Anand, Vishwanath,

Thanks for your answers!!

Actually I am running openstack on ubuntu and I want to know the working status of all the openstack components. Eg: glance, nova, keystone, tempest etc.. are working fine and are ready to perform their task.

I don't want to check the list of services of each component like below-

necadmin@nechldcst-PowerEdge-2950:~$ keystone service-list

| id | name | type | description |

| a42a44fcdf134492bba873b5d213b8f3 | cinder | volume | OpenStack Block Storage | | 21aa123452c84520843b1a26e46a80fb | cinderv2 | volumev2 | OpenStack Block Storage v2 |

necadmin@nechldcst-PowerEdge-2950:~$ nova service-list

| Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |

| nova-consoleauth | nechldcst-PowerEdge-2950 | internal | enabled | up | 2014-09-15T06:33:02.000000 | - |

| nova-cert | nechldcst-PowerEdge-2950 | internal | enabled | up | 2014-09-15T06:33:02.000000 | - |

I have two queries basically-

  1. I want a top level status summary for Glance, nova, tempest, keystone, cinder etc as- whether they are installed and configured correctly and ready to use or not??

  2. I also want to know if any command is available to check the status of devstack and openstack individual component's summarize status under devstack??

edit flag offensive delete link more

Comments

Did you find any command which gives you status of different service?

Aarti gravatar imageAarti ( 2015-05-15 10:57:38 -0600 )edit
1

answered 2016-01-30 11:07:06 -0600

sheel rana gravatar image

Hey Ankur and Aarti,

You can simply check service's status through below

screen -x stack

It will open different screens in one terminal which you can navigate using ctrl+a or ctrl+p for getting status of different services.

edit flag offensive delete link more
0

answered 2018-02-02 06:41:44 -0600

Jrp gravatar image

Hey

Check all the services of openstack,use this command(If it is RHEL basis)

systemctl | grep openstack*

edit flag offensive delete link more
0

answered 2018-02-06 23:56:30 -0600

TijoV gravatar image

updated 2018-02-06 23:58:01 -0600

Hello, if you have used juju as your modeling tool on ubuntu openstack cloud, then running command

"juju status" will list you status of all services which you are using in your openstack cloud. make sure you source the admin tenant credentials "openstack endpoint list --long" is also useful command.

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

2 followers

Stats

Asked: 2014-09-15 00:23:00 -0600

Seen: 28,109 times

Last updated: Feb 06 '18