Failed to Configure NTP servers on Aria Automation 8.x
search cancel

Failed to Configure NTP servers on Aria Automation 8.x

book

Article ID: 345965

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

To Configure NTP server in Aria Automation cluster

Symptoms:

When we try to configure NTP we get the following error from CLI and also from the in the Aria Suite Lifecycle.
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

Aria Automation  8.x

Cause

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

Resolution

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

Workaround:

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

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