]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
qa/cephfs: lua to respect missing kernel in yaml
authorKyr Shatskyy <kyrylo.shatskyy@clyso.com>
Thu, 30 Oct 2025 11:58:05 +0000 (12:58 +0100)
committerKyr Shatskyy <kyrylo.shatskyy@clyso.com>
Mon, 2 Feb 2026 12:47:45 +0000 (13:47 +0100)
commitb410701b7c725605a641910873b488b37fbbca59
treec223059628d46934eea1ab6be890d6fb25ac1000
parent060b69c6605d88ad06bd1a3b81697abff2bd4ca5
qa/cephfs: lua to respect missing kernel in yaml

When teuthology-suite is called with '-k none' option, which is valid,
there is no kernel record in job config created.

However at some test cases the lua premerge dies with exception:
  KeyError: 'kernel'
and when branch is not set for '-k none' and kernel client is
overridden:
  KeyError: 'branch'
so teuthology-suite quits unexpectedly without scheduling any jobs.

Fixes: https://tracker.ceph.com/issues/73676
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
qa/cephfs/begin/3-kernel.yaml
qa/cephfs/mount/kclient/overrides/distro/testing/k-testing.yaml