kapopken opened a new issue #19007:
URL: https://github.com/apache/airflow/issues/19007
### Apache Airflow version
2.2.0 (latest released)
### Operating System
apache/airflow:2.2.0-python3.8
### Versions of Apache Airflow Providers
```
RUN pip install --user Flask-OpenID && \
pip install --user authlib && \
pip install --user cryptography && \
pip install --user apache-airflow[crypto] && \
pip install --user apache-airflow['wasb'] && \
pip install --user azure-storage-blob===12.7.1 && \
pip install --user lib && \
pip install --user apache-airflow['kubernetes'] && \
pip install --user pyodbc===4.0.30 && \
pip install --user pyrecord==1.0.1 && \
pip install --user requests===2.25.1 && \
pip install --user plyvel
```
### Deployment
Other 3rd-party Helm chart
### Deployment details
Deploy to kubernetes using a custom helm chart.
Using a pod template for the jobs themselves
```
apiVersion: v1
kind: Pod
metadata:
name: dummy-name # required by airflow. Will be replace at run time
labels:
aadpodidbinding: airflow
spec:
serviceAccountName: bm-airflow-service
restartPolicy: Never
containers:
- name: base # required by airflow. Will be replace at run time
volumeMounts:
- name: bm
mountPath: /opt/airflow/bm
- name: kv-secrets
mountPath: "/mnt/secrets-store"
readOnly: true
envFrom:
- configMapRef:
name: bm-airflow
- secretRef:
name: bm-airflow-secrets
volumes:
- name: bm
persistentVolumeClaim:
claimName: bm-airflow-pvc
- name: kv-secrets
csi:
driver: secrets-store.csi.k8s.io
readOnly: true
volumeAttributes:
secretProviderClass: bmcl-service-airflow-bmcl-airflow-kv
```
### What happened
Upgraded to 2.2.0 and suddenly received this error
airflow tasks run command error: argument execution_date: invalid parse
value: 'scheduled__2021-10-15T10:53:49.851441+00:00', see help above.
rendered template is
```
containers:
- name: base
image: 'opsbmclacr.azurecr.io/bm-airflow:latest'
args:
- airflow
- tasks
- run
- tutorial
- print_date
- 'scheduled__2021-10-14T11:15:54.266329+00:00'
- '--local'
- '--subdir'
- DAGS_FOLDER/sample.py
```
### What you expected to happen
The dag should run
### How to reproduce
I am using this dag:
https://airflow.apache.org/docs/apache-airflow/stable/_modules/airflow/example_dags/tutorial.html
run it on version 2.2.0 that was upgraded from an older version of airflow.
Trigger task
### Anything else
Happens every time. No dags are runnable
### 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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]