gbonazzoli commented on issue #34937:
URL: https://github.com/apache/airflow/issues/34937#issuecomment-1763709845

   @hussein-awala 
   
   looking at the events collected by the cluster during helm install
   
   ```
   kube@kube-console:~$ kubectl get events 
--sort-by='.metadata.creationTimestamp' -A | cut -c1-210
   NAMESPACE   LAST SEEN   TYPE      REASON              OBJECT                 
                           MESSAGE
   airflow     3m33s       Normal    ScalingReplicaSet   
deployment/airflow-scheduler                      Scaled up replica set 
airflow-scheduler-777f7947dc to 1
   airflow     3m33s       Warning   FailedScheduling    pod/airflow-redis-0    
                           0/4 nodes are available: pod has unbound immediate 
PersistentVolumeClaims. preemption: 0/4 nodes are avail
   airflow     3m33s       Normal    SuccessfulCreate    
statefulset/airflow-postgresql                    create Pod 
airflow-postgresql-0 in StatefulSet airflow-postgresql successful
   airflow     3m33s       Normal    Scheduled           
pod/airflow-statsd-786d447967-l9w72               Successfully assigned 
airflow/airflow-statsd-786d447967-l9w72 to kube-node03
   airflow     3m33s       Normal    SuccessfulCreate    
statefulset/airflow-redis                         create Claim 
redis-db-airflow-redis-0 Pod airflow-redis-0 in StatefulSet airflow-redis 
success
   airflow     9s          Normal    FailedBinding       
persistentvolumeclaim/redis-db-airflow-redis-0    no persistent volumes 
available for this claim and no storage class is set
   airflow     3m33s       Normal    Scheduled           
pod/airflow-run-airflow-migrations-thrwm          Successfully assigned 
airflow/airflow-run-airflow-migrations-thrwm to kube-node02
   airflow     101s        Normal    Pulled              
pod/airflow-run-airflow-migrations-thrwm          Container image 
"apache/airflow:2.7.1" already present on machine
   airflow     101s        Normal    Created             
pod/airflow-run-airflow-migrations-thrwm          Created container 
run-airflow-migrations
   airflow     3m33s       Warning   FailedScheduling    
pod/airflow-postgresql-0                          0/4 nodes are available: pod 
has unbound immediate PersistentVolumeClaims. preemption: 0/4 nodes are avail
   airflow     3m33s       Normal    SuccessfulCreate    
job/airflow-run-airflow-migrations                Created pod: 
airflow-run-airflow-migrations-thrwm
   airflow     3m33s       Normal    Scheduled           
pod/airflow-scheduler-777f7947dc-4l8bl            Successfully assigned 
airflow/airflow-scheduler-777f7947dc-4l8bl to kube-node03
   airflow     104s        Normal    Pulled              
pod/airflow-scheduler-777f7947dc-4l8bl            Container image 
"apache/airflow:2.7.1" already present on machine
   airflow     104s        Normal    Created             
pod/airflow-scheduler-777f7947dc-4l8bl            Created container 
wait-for-airflow-migrations
   airflow     104s        Normal    Started             
pod/airflow-scheduler-777f7947dc-4l8bl            Started container 
wait-for-airflow-migrations
   airflow     3m33s       Normal    SuccessfulCreate    
replicaset/airflow-scheduler-777f7947dc           Created pod: 
airflow-scheduler-777f7947dc-4l8bl
   airflow     3m33s       Normal    SuccessfulCreate    
statefulset/airflow-worker                        create Claim 
logs-airflow-worker-0 Pod airflow-worker-0 in StatefulSet airflow-worker success
   airflow     3m33s       Normal    SuccessfulCreate    
statefulset/airflow-postgresql                    create Claim 
data-airflow-postgresql-0 Pod airflow-postgresql-0 in StatefulSet 
airflow-postgresql success
   airflow     3m33s       Normal    SuccessfulCreate    
statefulset/airflow-redis                         create Pod airflow-redis-0 in 
StatefulSet airflow-redis successful
   airflow     9s          Normal    FailedBinding       
persistentvolumeclaim/logs-airflow-worker-0       no persistent volumes 
available for this claim and no storage class is set
   airflow     9s          Normal    FailedBinding       
persistentvolumeclaim/logs-airflow-triggerer-0    no persistent volumes 
available for this claim and no storage class is set
   airflow     3m33s       Normal    SuccessfulCreate    
replicaset/airflow-statsd-786d447967              Created pod: 
airflow-statsd-786d447967-l9w72
   airflow     3m33s       Normal    ScalingReplicaSet   
deployment/airflow-statsd                         Scaled up replica set 
airflow-statsd-786d447967 to 1
   airflow     3m33s       Warning   FailedScheduling    
pod/airflow-triggerer-0                           0/4 nodes are available: pod 
has unbound immediate PersistentVolumeClaims. preemption: 0/4 nodes are avail
   airflow     3m33s       Normal    SuccessfulCreate    
statefulset/airflow-triggerer                     create Claim 
logs-airflow-triggerer-0 Pod airflow-triggerer-0 in StatefulSet 
airflow-triggerer success
   airflow     3m33s       Normal    SuccessfulCreate    
statefulset/airflow-triggerer                     create Pod 
airflow-triggerer-0 in StatefulSet airflow-triggerer successful
   airflow     3m33s       Normal    Scheduled           
pod/airflow-webserver-54644b47bf-pd9mf            Successfully assigned 
airflow/airflow-webserver-54644b47bf-pd9mf to kube-node03
   airflow     103s        Normal    Pulled              
pod/airflow-webserver-54644b47bf-pd9mf            Container image 
"apache/airflow:2.7.1" already present on machine
   airflow     103s        Normal    Created             
pod/airflow-webserver-54644b47bf-pd9mf            Created container 
wait-for-airflow-migrations
   airflow     103s        Normal    Started             
pod/airflow-webserver-54644b47bf-pd9mf            Started container 
wait-for-airflow-migrations
   airflow     3m33s       Normal    SuccessfulCreate    
replicaset/airflow-webserver-54644b47bf           Created pod: 
airflow-webserver-54644b47bf-pd9mf
   airflow     3m33s       Normal    ScalingReplicaSet   
deployment/airflow-webserver                      Scaled up replica set 
airflow-webserver-54644b47bf to 1
   airflow     3m33s       Warning   FailedScheduling    pod/airflow-worker-0   
                           0/4 nodes are available: pod has unbound immediate 
PersistentVolumeClaims. preemption: 0/4 nodes are avail
   airflow     9s          Normal    FailedBinding       
persistentvolumeclaim/data-airflow-postgresql-0   no persistent volumes 
available for this claim and no storage class is set
   airflow     3m33s       Normal    SuccessfulCreate    
statefulset/airflow-worker                        create Pod airflow-worker-0 
in StatefulSet airflow-worker successful
   airflow     101s        Normal    Started             
pod/airflow-run-airflow-migrations-thrwm          Started container 
run-airflow-migrations
   airflow     3m32s       Normal    Started             
pod/airflow-statsd-786d447967-l9w72               Started container statsd
   airflow     3m32s       Normal    Created             
pod/airflow-statsd-786d447967-l9w72               Created container statsd
   airflow     3m32s       Normal    Pulled              
pod/airflow-statsd-786d447967-l9w72               Container image 
"quay.io/prometheus/statsd-exporter:v0.22.8" already present on machine
   ```
   
   I think that the problem is caused by:
   
   ```
   pod has unbound immediate PersistentVolumeClaims. preemption: 0/4 nodes are 
avail
   ```
   
   Actuallly the cluster does not have anything related to dinamically create 
PV from a block storage.
   
   It is now a requirement ?
   
   
   


-- 
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-unsubscr...@airflow.apache.org

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

Reply via email to