Skip to content

Managing Glance Services

Following are the primary services which should be running on the openstack server :

  • glance-registry
  • glance-api

glance-registry

Check the status of the service

root@ubuntudevstack02022017-091801:~# glance-control registry status
glance-registry is stopped
root@ubuntudevstack02022017-091801:~# 

Start the service

root@ubuntudevstack02022017-091801:~# glance-control registry status
glance-registry is stopped
root@ubuntudevstack02022017-091801:~# 

In the same way you can also stop the service.

glance-api

Check the status of the service

root@ubuntudevstack02022017-091801:~# glance-control api status
glance-api is stopped
root@ubuntudevstack02022017-091801:~#

Start the service

root@ubuntudevstack02022017-091801:~# glance-control api start
Starting glance-api
root@ubuntudevstack02022017-091801:~# glance-control api status
glance-api (pid 22803) is running...
root@ubuntudevstack02022017-091801:~#

In the same way you can also stop the service.

We can also validate the running processes

root@ubuntudevstack02022017-091801:~# ps aux | grep -i image
root     27578  0.0  0.0  10460   940 pts/34   S+   12:26   0:00 grep --color=auto -i image
root@ubuntudevstack02022017-091801:~# ps aux | grep -i glance
stack    11451  0.0  1.0 167108 83024 pts/11   S+   09:47   0:02 /usr/bin/python /usr/local/bin/glance-registry --config-file=/etc/glance/glance-registry.conf
stack    11713  0.0  0.9 167108 79808 pts/11   S+   09:47   0:00 /usr/bin/python /usr/local/bin/glance-registry --config-file=/etc/glance/glance-registry.conf
stack    11714  0.0  1.0 169924 83416 pts/11   S+   09:47   0:00 /usr/bin/python /usr/local/bin/glance-registry --config-file=/etc/glance/glance-registry.conf
stack    11792  0.6  1.1 203016 94716 pts/12   S+   09:47   0:57 /usr/bin/python /usr/local/bin/glance-api --config-file=/etc/glance/glance-api.conf
stack    11976  0.0  1.1 207880 95588 pts/12   S+   09:47   0:01 /usr/bin/python /usr/local/bin/glance-api --config-file=/etc/glance/glance-api.conf
stack    11977  0.0  1.1 207880 95696 pts/12   S+   09:47   0:01 /usr/bin/python /usr/local/bin/glance-api --config-file=/etc/glance/glance-api.conf
root     27586  0.0  0.0  10464   944 pts/34   S+   12:26   0:00 grep --color=auto -i glance
root@ubuntudevstack02022017-091801:~#
Back to top