> For the complete documentation index, see [llms.txt](https://platform9.com/kb/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://platform9.com/kb/pmk/solutions/the-command-pf9ctl-cluster-prep-node-fails-to-onboard-the-host.md).

# The Command pf9ctl cluster prep-node Fails to Onboard The Host Due To Unavailability of The NTP Pack

## 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*.

{% tabs %}
{% tab title="None" %}

```none
TASK [ntp : Install NTP] ***************************************************************************************************************************************************************************************************************failed: [localhost] (item=ntp) => {"ansible_loop_var": "item", "changed": false, "failures": ["No package ntp available."], "item": "ntp", "msg": "Failed to install some of the specified packages", "rc": 1, "results": []}
```

{% endtab %}
{% endtabs %}

## 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](http://fedoraproject.org/wiki/EPEL) 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.

{% tabs %}
{% tab title="None" %}

```none
# yum repolist
```

{% endtab %}
{% endtabs %}

3. After adding the EPEL repository install NTP package by running the below command.

{% tabs %}
{% tab title="None" %}

```none
# yum install ntp
```

{% endtab %}
{% endtabs %}

4. Run the below command to onboard the node.

{% tabs %}
{% tab title="None" %}

```none
# pf9ctl cluster prep-node
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://platform9.com/kb/pmk/solutions/the-command-pf9ctl-cluster-prep-node-fails-to-onboard-the-host.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
