Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

It can happen when one of the host is not running NTP and their time difference is two large. Installing ntp on each of them is likely to fix the problem:

 apt-get install ntp

The status of a service is based on the last time the cinder-volume daemon updated the matching entry in the service tables of the cinder database (see https://github.com/openstack/cinder/blob/stable/havana/cinder/utils.py#L718 for the actual code). If the time difference between the host running cinder-manage service list and the host running the cinder volume daemon is greater than 60 seconds (or the value set with the service_down_time configuration option http://docs.openstack.org/havana/config-reference/content/list-of-compute-config-options.html).