Closed IDeepakI closed 1 year ago
Thanks for opening your first issue here! Be sure to follow the issue template!
Can you try setting GUNICORN_CMD_ARGS
environment variable to --preload
@ephraimbuddy
[2022-11-14 14:22:23,795] {manager.py:585} INFO - Removed Permission menu access on Permissions to role Admin
[2022-11-14 14:22:27,362] {manager.py:543} INFO - Removed Permission View: menu_access on Permissions
[2022-11-14 14:22:38,215] {manager.py:508} INFO - Created Permission View: menu access on Permissions
[2022-11-14 14:22:39,752] {manager.py:568} INFO - Added Permission menu access on Permissions to role Admin
____________ _____________
____ |__( )_________ __/__ /________ __
____ /| |_ /__ ___/_ /_ __ /_ __ \_ | /| / /
___ ___ | / _ / _ __/ _ / / /_/ /_ |/ |/ /
_/_/ |_/_/ /_/ /_/ /_/ \____/____/|__/
Running the Gunicorn Server with:
Workers: 4 sync
Host: 0.0.0.0:8080
Timeout: 120
Logfiles: - -
Access Logformat:
=================================================================
[2022-11-14 14:23:23,887] {webserver_command.py:418} INFO - Received signal: 15. Closing gunicorn.
Environment:
AIRFLOW_VAR_S3_GET_BACKEND_URL: api/v1/s3/pre_signed
AIRFLOW_VAR_S3_UPLOAD_BACKEND_URL: api/v1/s3/pre_signed/upload
GUNICORN_CMD_ARGS: --preload --log-level DEBUG
AIRFLOW__DATABASE__SQL_ALCHEMY_CONN: <set to the key 'AIRFLOW__DATABASE__SQL_ALCHEMY_CONN' in secret 'airflow-metadata'> Optional: false
AIRFLOW__CELERY__RESULT_BACKEND: <set to the key 'AIRFLOW__CELERY__RESULT_BACKEND' in secret 'airflow-metadata'> Optional: false
AIRFLOW__CORE__FERNET_KEY: <set to the key 'fernet-key' in secret 'airflow-fernet-key'> Optional: false
AIRFLOW__CORE__SQL_ALCHEMY_CONN: <set to the key 'connection' in secret 'airflow-airflow-metadata'> Optional: false
AIRFLOW_CONN_AIRFLOW_DB: <set to the key 'connection' in secret 'airflow-airflow-metadata'> Optional: false
AIRFLOW__WEBSERVER__SECRET_KEY: <set to the key 'webserver-secret-key' in secret 'airflow-webserver-secret-key'> Optional: false
AIRFLOW__CELERY__CELERY_RESULT_BACKEND: <set to the key 'connection' in secret 'airflow-airflow-result-backend'> Optional: false
AIRFLOW__CELERY__BROKER_URL: <set to the key 'connection' in secret 'airflow-broker-url'> Optional: false
this issue got resolved when i updated livenessProbe for webserver
webserver:
service:
type: NodePort
livenessProbe:
initialDelaySeconds: 10
timeoutSeconds: 100
failureThreshold: 5
periodSeconds: 600
Even i added above config Still I am facing same issues
Official Helm Chart version
1.7.0 (latest released)
Apache Airflow version
2.3.1
Kubernetes Version
1.23.10
Helm Chart configuration
Docker Image customisations
No response
What happened
I was running simple airflow on kubernetes using helm with a configuration specified. But the webserver not getting initialized.
here are the kubernetes pod
here is webserver logs
these logs are keep on repeating. I have created postgresql externally and specified it with secrets.
What you think should happen instead
No response
How to reproduce
No response
Anything else
No response
Are you willing to submit PR?
Code of Conduct