Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-45344

node-joiner tool does not honour additionalNTPSources

XMLWordPrintable

    • Moderate
    • None
    • Installer (PB) Sprint 263, Installer (PB) Sprint 265
    • 2
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, you could not add a new worker by using the `oc adm node-image create` command if the node date or time was inaccurate. With this release, the issue is resolved by applying the same NTP configuration that is in the target cluster `machineconfig chrony` resource to the node ephemeral live environment. (link:https://issues.redhat.com/browse/OCPBUGS-45344[*OCPBUGS-45344*])
      ====
      Before this patch it was not possible to add a new worker via the `oc adm node-image create` command in case the node date/time was inaccurate.
      The issue was resolved by applying also to the node ephemeral live environment the same NTP configuration found in the target cluster machineconfig chrony resource
      Show
      * Previously, you could not add a new worker by using the `oc adm node-image create` command if the node date or time was inaccurate. With this release, the issue is resolved by applying the same NTP configuration that is in the target cluster `machineconfig chrony` resource to the node ephemeral live environment. (link: https://issues.redhat.com/browse/OCPBUGS-45344 [* OCPBUGS-45344 *]) ==== Before this patch it was not possible to add a new worker via the `oc adm node-image create` command in case the node date/time was inaccurate. The issue was resolved by applying also to the node ephemeral live environment the same NTP configuration found in the target cluster machineconfig chrony resource
    • Bug Fix
    • Done

      Description of problem:

      node-joiner tool does not honour additionalNTPSources
      As mentioned in  https://docs.openshift.com/container-platform/4.16/installing/installing_with_agent_based_installer/installation-config-parameters-agent.html
      the setting of additionalNTPSources is  possible when adding nodes at day1, but the setting is not honoured at day2
      
      
          

      How reproducible:

      always
      
          

      Steps to Reproduce:

      Create a  agent config with
      
      AdditionalNTPSources:
        - 10.10.10.10
        - 10.10.10.11
      hosts:
          - hostname: extra-worker-0
            interfaces:
              - name: eth0
                macAddress:  0xDEADBEEF
          - hostname: extra-worker-1
            interfaces:
              - name: eth0
                macAddress: 00:02:46:e3:9e:8c
          - hostname:  0xDEADBEEF
            interfaces:
              - name: eth0
                macAddress:  0xDEADBEEF
      
          

      Actual results:

      NTP on added node cannot join the NTP server.
      ntp-synced Status:failure Message:Host couldn't synchronize with any NTP server
      
          

      NTP on added node can contact the NTP server.

              afasano@redhat.com Andrea Fasano
              rhn-support-ekasprzy Emmanuel Kasprzyk
              zhenying niu zhenying niu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: