> 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/generic/solution/management-cluster-creation-fails-due-to--etc-nodelet-folder-cre.md).

# Management Cluster Creation Fails Due to /etc/nodelet Folder Creation Failure.

## Problem

The Management cluster creation command `airctl advanced-ddu create-mgmt` is failing due to below mentioned permission error:

{% tabs %}
{% tab title="create-mgmt" %}

```javascript
#  airctl advanced-ddu create-mgmt --config /opt/pf9/airctl/conf/airctl-config.yaml
...

2023-11-17T16:54:13.460Z	info	Creating node state dir: /etc/nodelet/airctl-mgmt

2023-11-17T16:54:13.460Z	info	Failed to Parse Cluster Config: Failed to generate custom hosts file: Failed to create dir: mkdir /etc/nodelet: permission denied

Failed to create nodelet cluster: Failed to Parse Cluster Config: Failed to generate custom hosts file: Failed to create dir: mkdir /etc/nodelet: permission denied
Error: Failed to Parse Cluster Config: Failed to generate custom hosts file: Failed to create dir: mkdir /etc/nodelet: permission denied
Usage:
  airctl advanced-ddu create-mgmt [flags]

Flags:
  -h, --help   help for create-mgmt

Global Flags:
      --config string   config file (default is $HOME/airctl-config.yaml)
      --json            json output for commands (configure-hosts only currently)
      --quiet           disable spinners
      --verbose         print verbose logs to the console

Failed to Parse Cluster Config: Failed to generate custom hosts file: Failed to create dir: mkdir /etc/nodelet: permission denied
```

{% endtab %}
{% endtabs %}

## Environment

* Self Managed Cloud Platform9 v-5.9.1.

## Workaround

Manually create the folder `/etc/nodelet.`

## Answer

The mentioned issue is resolved in the SMCP-5.9.2 release.

## Additional Information

The jira associated with the above fix is AIR-1248.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://platform9.com/kb/generic/solution/management-cluster-creation-fails-due-to--etc-nodelet-folder-cre.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
