# 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: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
