Red Hat Satellite 6: After RHEL 9 host provisioning, syntax issue found in chrony.conf file when defining multiple NTP servers in a "Global parameter"
Environment
Red Hat Satellite 6
Issue
- Defining multiple ntp server in a Global parameter, separated with (comma) , breaks the syntax in the
/etc/chrony.conffile onRHEL 9host provisioned throughRed Hat Satellite 6
Resolution
-
This issue has been reported to the Red Hat Engineering team via JIRA SAT-40736 and is under investigation at present.
-
As a workaround, modify the Kickstart Default provisioining template and update the os_major from
<9to<=10as shown below:<% if rhel_compatible && os_major <=10 -%> timezone -utc <%= host_param('time-zone') || 'UTC' %> <%= host_param('ntp-server') ? "-ntpservers # {host_param('ntp-server')} " : '' %> <% else -%> -
Reach out to the Red Hat Technical Support, if the issue still persists and further investigation is required.
For more KB articles/solutions related to Red Hat Satellite 6.x Provisioning Issues, please refer to the Consolidated Troubleshooting Article for Red Hat Satellite 6.x Provisioning related Issues
Diagnostic Steps
-
After provisioning the
RHEL 9host with two ntp-server defined in a singleGlobal Parameter, it creates the ntp server entry in a single line in/etc/chrony.confinstead of multiple lines.# cat /etc/chrony.conf ... server ntpserver1.example.com, ntpserver2.example.com
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments