You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "RohithkumarRavi (via GitHub)" <gi...@apache.org> on 2023/05/18 17:03:09 UTC

[GitHub] [airflow] RohithkumarRavi opened a new issue, #31394: Facing issue with database migrations while installing the chart using ArgoCD

RohithkumarRavi opened a new issue, #31394:
URL: https://github.com/apache/airflow/issues/31394

   ### Official Helm Chart version
   
   1.9.0 (latest released)
   
   ### Apache Airflow version
   
   2.5.0
   
   ### Kubernetes Version
   
   1.25.9
   
   ### Helm Chart configuration
   
   `
   apiVersion: argoproj.io/v1alpha1
   kind: Application
   metadata:
     name: airflow
     namespace: argocd
     finalizers:
       - resources-finalizer.argocd.argoproj.io
     labels:
       name: airflow
       namespace: dev
   spec:
     project: default
     source:
       repoURL: https://github.com/apache/airflow.git
       targetRevision: main
       path: chart
   
       helm:
         values: |
           createUserJob:
             useHelmHooks: false
             applyCustomEnv: false
           migrateDatabaseJob:
             useHelmHooks: false
             applyCustomEnv: false
           migrateDatabaseJob:
             jobAnnotations:
               "argocd.argoproj.io/hook": Sync
   
   
     destination:
       server: https://kubernetes.default.svc
       namespace: dev
   
     syncPolicy:
       automated:
         prune: true
         selfHeal: true
         allowEmpty: false
       syncOptions:
       - Validate=false
       - CreateNamespace=true
       - PrunePropagationPolicy=foreground
       - PruneLast=true
   
   `
   
   ### Docker Image customizations
   
   _No response_
   
   ### What happened
   
   The above one is the ArgoCD Template which I am using to install airflow chart using ArgoCD. I have followed the same steps mentioned in the below docs to avoid data migration errors: 
   [installing-the-chart-with-argo-cd-flux-rancher-or-terraform](https://airflow.apache.org/docs/helm-chart/stable/index.html#installing-the-chart-with-argo-cd-flux-rancher-or-terraform)
   
   Even after adding the values, I'm still getting data migration errors.
   
   
   ### What you think should happen instead
   
   _No response_
   
   ### How to reproduce
   
   Run ArgoCD on your cluster. Save the template in a .yaml file and run **kubectl apply -f file.yaml**
   
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] boring-cyborg[bot] commented on issue #31394: Facing issue with database migrations while installing the chart using ArgoCD

Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
boring-cyborg[bot] commented on issue #31394:
URL: https://github.com/apache/airflow/issues/31394#issuecomment-1553351444

   Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] RohithkumarRavi commented on issue #31394: Facing issue with database migrations while installing the chart using ArgoCD

Posted by "RohithkumarRavi (via GitHub)" <gi...@apache.org>.
RohithkumarRavi commented on issue #31394:
URL: https://github.com/apache/airflow/issues/31394#issuecomment-1554587218

   The above issue was resolved automatically after a sync in ArgoCD


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] hussein-awala commented on issue #31394: Facing issue with database migrations while installing the chart using ArgoCD

Posted by "hussein-awala (via GitHub)" <gi...@apache.org>.
hussein-awala commented on issue #31394:
URL: https://github.com/apache/airflow/issues/31394#issuecomment-1553406302

   > Even after adding the values, I'm still getting data migration errors.
   
   What are the data migration errors you are getting?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] RohithkumarRavi closed issue #31394: Facing issue with database migrations while installing the chart using ArgoCD

Posted by "RohithkumarRavi (via GitHub)" <gi...@apache.org>.
RohithkumarRavi closed issue #31394: Facing issue with database migrations while installing the chart using ArgoCD
URL: https://github.com/apache/airflow/issues/31394


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org