Install fails after an uninstall: INFO No exist...
# ask-ai
p
Install fails after an uninstall: INFO No existing cluster found, cluster 'airbyte-abctl' will be created SUCCESS Port 8000 appears to be available ERROR Cluster 'airbyte-abctl' could not be created ERROR unable to create kind cluster: failed to init node with kubeadm: command "docker exec --privileged airbyte-abctl-control-plane kubeadm init --config=/kind/kubeadm.conf --skip-token-print --v=6" failed with error: exit status 1: I1030 154046.437460 174 initconfiguration.go:261] loading configuration from "/kind/kubeadm.conf" W1030 154046.438537 174 common.go:101] your configuration file uses a deprecated API spec: "kubeadm.k8s.io/v1beta3" (kind: "ClusterConfiguration"). Please use 'kubeadm config migrate --old-config old.yaml --new-config new.yaml', which will write the new, similar spec using a newer API version.
k
The error message you’re seeing during Airbyte installation after an uninstall—specifically, the failure to create the kind cluster and the kubeadm warning about a deprecated API spec—has been reported by other users and is a known issue with abctl-based deployments. Key points from the knowledge sources: - The error
unable to create kind cluster: failed to init node with kubeadm: ... failed with error: exit status 1
is a common problem and is being investigated by the Airbyte team. It often appears after uninstall/reinstall cycles or on fresh installs in certain environments. - The warning about the deprecated API spec (`kubeadm.k8s.io/v1beta3`) is not the root cause of the failure, but rather a warning. The actual failure is the inability to initialize the Kubernetes node, which can be due to several factors, including Docker context issues, missing containers, or resource/permission problems. - In some cases, users have found that the control plane container (
airbyte-abctl-control-plane
) does not exist when the install script tries to run
kubeadm init
, leading to the "No such container" error. This can happen if the cluster creation failed earlier or if there are permission issues with the Airbyte directories. - A known workaround for permission-related issues is to ensure the abctl directory has the correct permissions. For example:
Copy code
sudo chmod -R 777 ~/.airbyte/abctl
This resolved the issue for at least one user after an uninstall/install cycle, as abctl may not have the necessary permissions to recreate or access its data directories after uninstalling and reinstalling Airbyte. Restarting the machine or Docker service has also helped some users in similar situations [GitHub Issue #64508](https://github.com/airbytehq/airbyte/issues/64508). - If the error persists, it is recommended to manually run the failing docker command to get more detailed error output, as suggested in the troubleshooting documentation. Also, verify that Docker is running correctly by executing
docker run hello-world
[Troubleshooting abctl](https://docs.airbyte.com/platform/1.8/deploying-airbyte/troubleshoot-deploy). Summary of steps to try: 1. Ensure Docker is running and healthy. 2. Check and fix permissions on `~/.airbyte/abctl`:
Copy code
sudo chmod -R 777 ~/.airbyte/abctl
3. Restart your machine or Docker service. 4. Try the install again. 5. If it fails, manually run the docker command shown in the error for more details. If these steps do not resolve the issue, it may be a bug or incompatibility in the current abctl version or your environment, and you may need to follow up on the relevant GitHub issues for updates or further troubleshooting steps. Note: The deprecated API warning is not the direct cause of the install failure, but updating your environment and abctl to the latest versions when available is recommended to avoid future compatibility issues. References: [GitHub Issue #64508](https://github.com/airbytehq/airbyte/issues/64508), [Troubleshooting abctl](https://docs.airbyte.com/platform/1.8/deploying-airbyte/troubleshoot-deploy)