pgagnon commented on issue #5547: [AIRFLOW-4911] Silence the FORBIDDEN errors 
from the KubernetesExecutor
URL: https://github.com/apache/airflow/pull/5547#issuecomment-509272785
 
 
   The traceback is not very useful but the return message body is:
   
   > HTTP response body: 
{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"pods
 \"exampledagprintdate8-6410e1abd4ca47898f5ed304c280912b\" is forbidden: 
exceeded quota: cometary-rings-2689-resource-quota, requested: 
limits.cpu=100m,limits.memory=384Mi,requests.cpu=100m,requests.memory=384Mi, 
used: 
limits.cpu=1800m,limits.memory=6912Mi,requests.cpu=1800m,requests.memory=6912Mi,
 limited: 
limits.cpu=1600m,limits.memory=6Gi,requests.cpu=1600m,requests.memory=6Gi","reason":"Forbidden","details":{"name":"exampledagprintdate8-6410e1abd4ca47898f5ed304c280912b","kind":"pods"},"code":403}
   
   I think it would be better if this were exposed in the log as it shows *why* 
the ApiException occured.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to