Got it

The Nova service is abnormal because the user frequently adjusts the time on the control node ntp-server

Latest reply: Nov 24, 2021 05:25:26 1428 3 4 0 0

Hello, everyone!

I will share with you how to deal with the Nova service is abnormal because the user frequently adjusts the time on the control node ntp-server.

Issue Description

The status of Nova and Cinder components go Down and Up repeatedly.


Handling Process

1. According to the experience, we first checked the clock synchronization status of the CPS.

2. The time of a control node is about 12 minutes. (Core components such as nova-api,cinder-api are deployed on the control node.)

3. Check the background by the ntp time-delta --host all command. It is found that the time of only one host is not synchronized.


4. Log in to the node and check the ntp-client log. It is found that the time difference reaches 560 seconds on August 6.



Confirm that a person has modified the time on this node: (there were multiple times, capture one of them.)


5. The node time is not synchronized because the user frequently modifies the time.

6. Why are the services of Nova and Cinder sometimes good and sometimes bad?

When you query the service list of Nova and Cinder, nova-api or cinder-api is required. In this case, the time of the master node of nova-api and cinder-api is incorrect.

7. Why cannot the ntp-client synchronize time with the ntp-server after the user modifies the time?

If the time difference is too large, the ntp-client cannot synchronize time.

Root Cause

The time of the control node is inconsistent with the control node.


1. Disable the HA function of VM.

cps template-params-update --parameter ha_enabled=False --service nova nova-compute

cps commit

2. Log in to the target host and shut down ntp-client function. (Use the ntp result-show command to inspection the result)


3. Forcibly synchronize the time with the faulty host. (Use the ntp result-show command to inspection the result)


4. Start up the ntp-client function. (Use the ntp result-show command to inspection the result)085150rv1biiv8b996ryvb.png?图片.png

5. Enable the HA function of VM.


Switch to chinese

This article contains more resources

You need to log in to download or view. No account? Register

  • x
  • convention:

Created Nov 5, 2021 01:46:14

View more
  • x
  • convention:

Created Nov 24, 2021 05:00:05

Thanks for sharing this post
View more
  • x
  • convention:

Created Nov 24, 2021 05:25:26

Thanks for sharing
View more
  • x
  • convention:


You need to log in to comment to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits


Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Please bind your phone number to obtain invitation bonus.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.