Comments (4)
When it runs from the migration job, it does not populate some of the fields, If I execute into the scheduler, and do an airflow upgradedb
it populates the changes, and the scheduler works.
anyone is aware of this issue?
from airflow-chart.
Got it,
This happened due to https://github.com/astronomer/airflow-chart/blob/master/templates/run-airflow-migrations.yaml#L60 I did not change, and if do not, then it takes this value: https://github.com/astronomer/airflow-chart/blob/master/values.yaml#L83. In which case, dag_hash
does not exist probably.
if I change the default version from 1.10.10-buster
to 1.10.12-buster
, it worked.
from airflow-chart.
What was the solution for this issue? I'm experiencing this with airflow image on docker-compose. Should a migration be created to populate this column in the db?
from airflow-chart.
What was the solution for this issue? I'm experiencing this with airflow image on docker-compose. Should migration be created to populate this column in the DB?
Short Answer: Yes
replace this: https://github.com/astronomer/airflow-chart/blob/master/values.yaml#L89
with this: {{ template "airflow_image" . }}
the image core version used to run the migration is different (older) in my case than the one that I'm using for the workers and scheduler. in here: https://github.com/astronomer/airflow-chart/blob/master/values.yaml#L87
and that's why it was running the migration but for the older version.
when I have used the same image that I'm deploying for the scheduler and worker in-migration it worked.
from airflow-chart.
Related Issues (20)
- Spark binaries HOT 1
- Default ImagePullPolicy
- No gitSync config in values.yml HOT 1
- Astronomer maintenance of this repo? HOT 3
- Please update airflow version to 1.10.14 by default HOT 1
- If use 1.10.14-buster error alembic.script.revision.ResolutionError: No such revision or branch 'e959f08ac86c' HOT 1
- Can not change webserver.defaultUser.password when install by helm HOT 1
- Use helm-doc to generate parameter table
- Using Google Cloud Storage remote logging HOT 1
- Invalid image name when the image tag is integer HOT 6
- configmap sourced env values
- fernetKey when using airflow as dependency
- airflow command error: argument GROUP_OR_COMMAND: invalid choice: 'serve_logs' HOT 2
- Any helm upgrade with KEDA errors the scheduler HOT 1
- Syncing dags from multiple git-repos HOT 3
- Add imagePullSecret as a parameter to pull images from Private Container Registries HOT 1
- Help needed - additionalVolume not parsable by helm with version 0.25.8 HOT 1
- Unable to install chart "Deployment is not ready: airflow/airflow-scheduler" HOT 2
- Getting Airflow 404 = Lots of circles Error HOT 3
- Log Grooming script envvars HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from airflow-chart.