-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
abctl: install, uninstall, install fails #41992
Comments
Thanks for reporting the issue. @airbytehq/platform-deployments can someone take a look and try to reproduce the steps? |
@jonseymour could you run the docker command that is failing directly in your terminal and provide the results? docker exec --privileged airbyte-abctl-control-plane kubeadm init --skip-phases=preflight --config=/kind/kubeadm.conf --skip-token-print --v=6 The |
Thanks for the reply. I am not exactly sure which file system I am meant to be looking at.
Where would I find the persistent storage associated with this path? |
I'll have to create another test system, but I ran that docker command directly in the past
and it failed because at that point the I did have the log from its execution at one point but it didn't show any interesting (to me, anyway) errors. I will create another instance when I get a chance. |
I have added a link to a gist which contains the logs the control plan docker container and amended the issue description to include that link I confirmed that |
I ran into this too. When I run the This is the error
|
Running the command directly shows a permission error related to mounts:
I love blackboxes that you can't configure and control. So much better than Docker Compose! |
Yep. Same here. See my response about changing the permissions and re-running the install. It still ultimately fails, but for different/unknown reasons. |
That seems to be the case from your example, yes. I corrected the permissions on the directory and was able to progress further with the installation. I'll edit the comment with the results of the command once it completes. Edit: Installation completed successfully and Airbyte is accessible through the UI. The permission issue on the hidden folder is the cause for the initial failure as @justinmiller61 mentioned. Second Edit: Correcting the permission on
I tried setting |
Can confirm this issue remains on macos and I am trying the solutions above will report back if I encounter a bug when setting up source |
Setting the permissions on the If this isn’t related to the original issue, then let me know and I can open a separate issue. |
I experienced the same issue with Issue: ❯ abctl local install
INFO Using Kubernetes provider:
Provider: kind
Kubeconfig: /Users/heinm/.airbyte/abctl/abctl.kubeconfig
Context: kind-airbyte-abctl
SUCCESS Found Docker installation: version 27.0.3
SUCCESS Port 8000 appears to be available
INFO No existing cluster found, cluster 'airbyte-abctl' will be created
ERROR Cluster 'airbyte-abctl' could not be created
ERROR unable to create kind cluster: command "docker run --name airbyte-abctl-control-plane \
--hostname airbyte-abctl-control-plane --label io.x-k8s.kind.role=control-plane \
--privileged --security-opt seccomp=unconfined --security-opt apparmor=unconfined --tmpfs /tmp \
--tmpfs /run --volume /var --volume /lib/modules:/lib/modules:ro -e KIND_EXPERIMENTAL_CONTAINERD_SNAPSHOTTER \
--detach --tty --label io.x-k8s.kind.cluster=airbyte-abctl --net kind --restart=on-failure:1 --init=false \
--cgroupns=private --volume=/Users/heinm/.airbyte/abctl/data:/var/local-path-provisioner \
--publish=0.0.0.0:8000:80/TCP --publish=127.0.0.1:58566:6443/TCP -e KUBECONFIG=/etc/kubernetes/admin.conf \
kindest/node:v1.29.4@sha256:3abb816a5b1061fb15c6e9e60856ec40d56b7b52bcea5f5f1350bc6e2320b6f8" \
failed with error: exit status 126 I used the abctl local uninstall command to ensure everything was clean (I was hoping/assuming it would help...), then changed the directory permissions using: sudo chmod 755 /Users/heinm/.airbyte/abctl After these changes, reinstalling using the steps explained in the Quickstart ( |
@td-heinm Thanks! It works now. |
I believe this should be fixed in the release I just pushed v0.9.1. Note the callout in the release notes about removing the |
FWIW this is the cause of my helm timeout issue that I reported above: #38598 |
@colesnodgrass can we please have someone looked at #38598? i opened a PR to fix this months ago and it hasn't been looked at |
FWIW @colesnodgrass , AFAICT the issue that I reported with this issue (see description above) isn't fixed with v0.13.1 of abctl The issue persists even if I delete the .airbyte directory completely (which matches the initial condition of the directory). So, this issue appears to be independent of whatever issue was fixed in v0.9.1 |
Try with -v switch during install. I have a similar issue at #45105 but I only see that same error in the verbose output. Looks like it the control plane fails health check then it deletes it (at least on my end for the specific issue I'm having) |
FWIW: I have uprgaded from Amazon Linux 2 to Amazon Linux 2023 and the cycling issues with abctl seem to have abated which may indicate that there is a kernel or at least OS/distro factor involved. I am not having separate issues with pre-upgrade hook falures but I will raise a separate issue for that. |
Another potential fix is to temporarily upgrade the size of the EC2 instance. As suggested by Erik:
After this I was able to run abctl local install. |
Hi all, I was also able to resolve this errors by rebooting the EC2 instance |
What happened?
I can consistently cause abctl to fail by:
The second invocation of abctl local install consistently fails with:
A gist containg the logs of the control plane container can be found here:
https://gist.github.com/jonseymour/3e3e4e52c928ddde351b1244028228f6
AFAICT there are no other error messages of any kind. There doesn't appear to be any messages in the logs of the airbyte-abctl-control-plane
Things I have tried:
It isn't clear to me where the state that is preventing the second install from working is stored.
What did you expect to happen?
Both installs work as expected
Abctl Version
Docker Version
OS Version
The text was updated successfully, but these errors were encountered: