The Command `pf9ctl cluster prep-node` Fails to Onboard The Host Due To Unavailability of The NTP Package on Host

Problem

  • The pf9ctl cluster prep-node command fails to prepare the node so that it can be added to the Platform9 Managed Kubernetes cluster.
  • The below errors are visible in the pf9ctl logs /root/pf9/log/pf9ctl.log.
Copy

Environment

  • Platform9 Managed Kubernetes - v4.0 and Higher

Cause

The active repository do not provide NTP package which is needed to onboard a node.

Resolution

  1. Follow the steps provided in the Fedora wiki to add the EPEL repository which contains the NTP package.
  2. You can also verify that the EPEL repository is enabled on the system by listing all active repositories using the following command.
Copy
  1. After adding the EPEL repository install NTP package by running the below command.
Copy
  1. Run the below command to onboard the node.
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard