Error installing Airbyte locally

Summary

The user is facing an error while trying to update their Airbyte instance locally. The error is related to another operation being in progress during the Helm Chart installation.


Question

hey guys! I’m having this error when I try to update my airbyte instance:

  INFO    Using Kubernetes provider:
            Provider: kind
            Kubeconfig: /home/ec2-user/.airbyte/abctl/abctl.kubeconfig
            Context: kind-airbyte-abctl
 SUCCESS  Found Docker installation: version 25.0.6                                                                         
 SUCCESS  Existing cluster 'airbyte-abctl' found                                                                            
 SUCCESS  Cluster 'airbyte-abctl' validation complete                                                                       
  INFO    Pulling image airbyte/bootloader:1.2.0                                                                            
  INFO    Pulling image airbyte/connector-builder-server:1.2.0                                                              
  INFO    Pulling image airbyte/connector-sidecar:1.2.0                                                                     
  INFO    Pulling image airbyte/container-orchestrator:1.2.0                                                                
  INFO    Pulling image airbyte/cron:1.2.0                                                                                  
  INFO    Pulling image airbyte/mc:latest                                                                                   
  INFO    Pulling image airbyte/server:1.2.0                                                                                
  INFO    Pulling image airbyte/webapp:1.2.0                                                                                
  INFO    Pulling image airbyte/worker:1.2.0                                                                                
  INFO    Pulling image airbyte/workload-api-server:1.2.0                                                                   
  INFO    Pulling image airbyte/workload-init-container:1.2.0                                                               
  INFO    Pulling image airbyte/workload-launcher:1.2.0                                                                     
  INFO    Pulling image bitnami/kubectl:1.28.9                                                                              
  INFO    Pulling image busybox:1.35                                                                                        
  INFO    Pulling image busybox:latest                                                                                      
  INFO    Pulling image curlimages/curl:8.1.1                                                                               
  INFO    Pulling image minio/minio:RELEASE.2023-11-20T22-40-07Z                                                            
  INFO    Pulling image temporalio/auto-setup:1.23.0                                                                        
  INFO    Namespace 'airbyte-abctl' already exists                                                                          
  INFO    Persistent volume 'airbyte-minio-pv' already exists                                                               
  INFO    Persistent volume 'airbyte-volume-db' already exists                                                              
  INFO    Persistent volume claim 'airbyte-minio-pv-claim-airbyte-minio-0' already exists                                   
  INFO    Persistent volume claim 'airbyte-volume-db-airbyte-db-0' already exists                                           
 SUCCESS  Secret from '/home/ec2-user/airbyte/secrets.yaml' created or updated                                              
  INFO    Starting Helm Chart installation of 'airbyte/airbyte' (version: 1.2.0)                                            
  ERROR   Failed to install airbyte/airbyte Helm Chart                                                                      
  ERROR   Unable to install Airbyte locally                                                                                 
  ERROR   unable to install airbyte chart: unable to install helm: another operation (install/upgrade/rollback) is in progress```
What can I do to cancel the previous deploy? I had an error due disk space that has been solved. Thanks!

<br>

---

This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. [Click here](https://airbytehq.slack.com/archives/C021JANJ6TY/p1732040866530249) if you want 
to access the original thread.

[Join the conversation on Slack](https://slack.airbyte.com)

<sub>
["error", "installing-airbyte", "local", "helm-chart", "disk-space"]
</sub>

you can use helm with your abctl deployment

Install kubectl (https://kubernetes.io/docs/tasks/tools/#kubectl) and kubectx + kubens (https://github.com/ahmetb/kubectx)

then execute commands:

KUBECONFIG=~/.airbyte/abctl/abctl.kubeconfig kubectl config view --flatten &gt; ~/.kube/config
kubectx kind-airbyte-abctl
kubens airbyte-abctl```
`helm ls` should display something like this
```NAME         	NAMESPACE    	REVISION	UPDATED                             	STATUS  	CHART                      	APP VERSION
airbyte-abctl	airbyte-abctl	1       	2024-11-13 10:54:53.460434 +0100 CET	deployed	airbyte-1.2.0              	1.2.0
ingress-nginx	ingress-nginx	1       	2024-11-13 10:55:47.348687 +0100 CET	deployed	ingress-nginx-4.12.0-beta.0	1.12.0-beta.0```
then you can run `helm rollback ...`
check `helm rollback --help` to know exactly what parameters to use

the other option is to check why deployment got stuck, I would use `k9s` (<https://k9scli.io/topics/install/>) to check pods

You could also run abctl local uninstall, this will uninstall the current attempt (keeping the persisted data), and then run abctl local install ... again.