VMmanager Knowledge Base
en En
es Es

Error "Time is not synchronized" due to missing chrony or ntp packages

Problem

Time synchronization errors appear in the platform web interface:

  • in the cluster node status;
  • as an information banner.

Cause

The time synchronization package (chrony or ntp) is not installed on the cluster node. 

Diagnostics

To confirm the cause of the issue:

  1. Connect to the cluster node via SSH. For more information about connecting via SSH, see the article Workstation setup.
  2. Run the following commands on all nodes where the errors occur:
    sudo dpkg -l | grep chrony
    sudo apt list --installed | grep chrony

If both commands return an empty line, the cause is confirmed.

Solution

To solve the issue, install and enable the chrony package:

  1. Connect to the cluster node via SSH. For more information about connecting via SSH, see the article Workstation setup.
  2. Run the following commands on all nodes where the errors occur:
    sudo apt install chrony
    sudo systemctl enable --now chrony

If the chrony package is not available in your OS repositories, install ntp:

Ubuntu, Astra Linux versions earlier than 1.8
sudo apt install ntp
sudo systemctl enable --now ntp
Astra Linux versions later than 1.8
sudo apt install ntpsec
sudo systemctl enable --now ntpsec
Useful tips