# Disable IPV6 On Airctl Management Cluster

## Problem

ETCD fails to start as it looks for IPV6, while the underlying node has IPV6 disabled.

* ETCD fails with the below errors

{% tabs %}
{% tab title="ETCD error logs" %}

```javascript
"level":"warn","ts":"2023-05-07T09:41:51.525Z","caller":"etcdmain/etcd.go:176","msg":"failed to start etcd","error":"listen tcp [::1]:2379: socket: address family not supported by protocol"}
{"level":"fatal","ts":"2023-05-07T09:41:51.525Z","caller":"etcdmain/etcd.go:271","msg":"discovery failed","error":"listen tcp [::1]:2379: socket: address family not supported by protocol","stacktrace":"go.etcd.io/etcd/etcdmain.startEtcdOrProxyV2<br>\t/tmp/etcd-release-3.4.14/etcd/release/etcd/etcdmain/etcd.go:271<br>go.etcd.io/etcd/etcdmain.Main<br>\t/tmp/etcd-release-3.4.14/etcd/release/etcd/etcdmain/main.go:46<br>main.main<br>\t/tmp/etcd-release-3.4.14/etcd/release/etcd/main.go:28<br>runtime.main<br>\t/usr/local/go/src/runtime/proc.go:200"}
```

{% endtab %}
{% endtabs %}

## Environment

* Platform9 Edge Cloud - 5.6.7 and higher.

## Cause

* IPV6 is disabled on the underlying nodes but the management cluster still points to the IPV6 address.

## Procedure

To disable IPV6 on the management cluster1, we need to delete the management cluster, disable IPV6 and recreate the cluster again.

1. Delete the management cluster using `$ airctl advanced-ddu delete-mgmt` .
2. Disable IPV6 by adding `**ipv6: false**` value in `_clusterSpec.yml_` located at `_/root_`
3. Recreate the management cluster using `$ airctl advanced-ddu create-mgmt` this should take latest `_clusterSpec.yml_` which has IPV6 disabled.
4. Verify if IPV6 address for ETCD is not reflected at "`_/etc/pf9/nodelet/config_sunpike.yaml_`" .


---

# 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/smcp/frequently-asked-questions/disable-ipv6-on-airctl-management-cluster.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.
