> 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/smcp/solution/nodelet-cluster-creation-failed-with-unknown-flag-bootstrap-con.md).

# The Nodelet(KDU Hosting) Cluster Creation Failed With "unknown flag: --bootstrap-config" Error.

## Problem:

* Management Plane Hosting nodelet cluster creation is failing when `--bootstrap-config` flag is used.

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

```javascript
[root@anik8s-ddu-lts2-2 ~]# /opt/pf9/airctl/airctl advanced-ddu create-mgmt --bootstrap-config /root/clusterSpec.yaml
Error: unknown flag: --bootstrap-config
```

{% endtab %}
{% endtabs %}

## Environment:

* Platform9 Edge Cloud - LTS2
* Nodelet Cluster(DDU hosting Cluster)

## Cause

* The flag `--bootstrap-config` is now replaced with the flag `--config` hence use of `--bootstrap-config` flag will result in such a kind of installation failures.
* Also one more thing to notice here is, the flag `--config` expects the airctl configuration file as the input or value.
* The example airctl configuration file can be found at the path `/opt/pf9/airctl/conf/airctl-config-example.yaml`
* Since this file has the parameter `bootstrapCfgPath` already defined in it hence there is no need to provide the bootstrap configuration file separately during creation of management plane.

```javascript
[root@anik8s-ddu-lts2-2 ~]# cat /opt/pf9/airctl/conf/airctl-config-example.yaml | grep -i bootstrapCfgPath
bootstrapCfgPath: /etc/nodelet/airctl-mgmt/airctl-mgmt.yaml
```

## Solution:

* The correct command to be used for the the Management Plane creation is as mentioned below.

{% tabs %}
{% tab title="Correct Command to create DU" %}

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

{% 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/smcp/solution/nodelet-cluster-creation-failed-with-unknown-flag-bootstrap-con.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.
