Skip to content

chore: demonstrate missing logs in kuttl test - #834

Open
sweb wants to merge 1 commit into
mainfrom
chore/missing-logs-repro
Open

chore: demonstrate missing logs in kuttl test#834
sweb wants to merge 1 commit into
mainfrom
chore/missing-logs-repro

Conversation

@sweb

@sweb sweb commented Aug 4, 2026

Copy link
Copy Markdown
Member

Description

Demonstrates missing logs (both streaming while running and after task finishes) in kuttl smoke test.

To reproduce:

./scripts/run-tests --skip-release --parallel 1 --skip-delete \
  --namespace smoke-demo-2 \
  --test smoke_airflow-3.2.2_openshift-false_executor-celery

This will fail. You can also portforward onto the webserver, check the successful dags - the tasks don't have logs and instead state:

Log file not found on worker 'airflow-worker-default-0.airflow-worker-default-headless.smoke-demo-2.svc.cluster.local'...

In order to fix it, add the following envOverride to webserver, celeryExecutors, schedulers and dagProcessors in 40-install-airflow-cluster.yaml.j2:

    envOverrides:
      AIRFLOW__LOGGING__BASE_LOG_FOLDER: "/stackable/log/airflow"

Run the test again, now it passes and you see logs in the UI.

Definition of Done Checklist

  • Not all of these items are applicable to all PRs, the author should update this template to only leave the boxes in that are relevant
  • Please make sure all these things are done and tick the boxes

Author

  • Changes are OpenShift compatible
  • CRD changes approved
  • CRD documentation for all fields, following the style guide.
  • Helm chart can be installed and deployed operator works
  • Integration tests passed (for non trivial changes)
  • Changes need to be "offline" compatible
  • Links to generated (nightly) docs added
  • Release note snippet added

Reviewer

  • Code contains useful comments
  • Code contains useful logging statements
  • (Integration-)Test cases added
  • Documentation added or updated. Follows the style guide.
  • Changelog updated
  • Cargo.toml only contains references to git tags (not specific commits or branches)

Acceptance

  • Feature Tracker has been updated
  • Proper release label has been added
  • Links to generated (nightly) docs added
  • Release note snippet added
  • Add type/deprecation label & add to the deprecation schedule
  • Add type/experimental label & add to the experimental features tracker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant