Rate This Document
Findability
Accuracy
Completeness
Readability

Time Synchronization Problem of OpenStack & Ceph

Symptom

The time of the Ceph+OpenStack cluster is not synchronized. As a result, some services cannot run properly.

Key Process and Cause Analysis

In the Ceph+OpenStack cluster environment, the time must be synchronized. If there is a large time difference between different nodes, an alarm may be generated, and some Cinder and Cinder_backup components may be faulty.

Conclusion and Solution

  1. Run the date command on all nodes at the same time to check whether the time of each node is the same as that of the controller node.
    date
  2. Run the following command on the node whose time is different to enable NTP time synchronization again:
    timedatectl set-ntp no
    timedatectl set-ntp yes