Failed to Configure NTP servers on vRA 8.x
search cancel

Failed to Configure NTP servers on vRA 8.x

book

Article ID: 345965

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

To Set up an external NTP source to vRA cluster

Symptoms:

When we try to configure ntp we get the following error from CLI and also from the in the vRLCM.
logs:

Failed to set NTP server(s) - <OUR NTP> to the host . Error stream: executing /usr/local/bin/vracli on 
xxxxxx.xxxx.corp failed: b'command terminated with exit code 1\n' executing /usr/local/bin/vracli on 
xxxxxx.xxxx.corp  failed: b'command terminated with exit code 1\n' executing /usr/local/bin/vracli on 
xxxxxx.xxxx.corp  failed: b'command terminated with exit code 1\n' 
The same error comes up if we try to run the 'vracli ntp systemd --set <<OUR NTP>' command.


Environment

VMware vRealize Automation 8.x

Cause

This is a known issue where the ntp sync conf file has a stale entry causing  NTP configuration failure

Resolution

There is a workaround. 


Workaround:

Workaround:

1. Login to the Primary vRA node as root 
2. Navigate to /etc/systemd/ntpsyncd.conf
3. Using vi editor remove all the stale entries from the ntpsyncd.conf file :
     image.png

4 .save the file. 
5. Try now to setup the new NTP source:
     vracli ntp systemd --set "NTP_Server"
6. Repeat steps 1 -5 on all the nodes. 


Additional Information

https://docs.vmware.com/en/vRealize-Automation/8.6/Administering/GUID-16397200-544F-40F0-85CC-E19F0C9D3570.html

Impact/Risks:
Unable to configure an NTP source on a vRA cluster