azimuth-cloud / azimuth-caas-operator

K8s operator to create ansible based clusters using K8s CRDs
Apache License 2.0
1 stars 2 forks source link

Can't get error logs on job timeout #55

Open JohnGarbutt opened 1 year ago

JohnGarbutt commented 1 year ago

When a job timeout hits, k8s delete's the pod, so we can't find it.

This then hits a coding issue where we return None instead of an empty list in _get_ansible_runner_events.

The fix for the coding issue is simple, but getting the logs is harder.