]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
teuthology/schedule.py: update parsed_yaml with base_config 2054/head
authorVallari Agrawal <val.agl002@gmail.com>
Thu, 12 Jun 2025 14:13:57 +0000 (19:43 +0530)
committerVallari Agrawal <val.agl002@gmail.com>
Thu, 12 Jun 2025 14:13:57 +0000 (19:43 +0530)
commit6c356472c37fc4334749d744738ff1ed4ebb031c
tree72466fc52b7816206611416aee619cfa011dc81a
parenteaeb97003cfc43fc86754e4e45e7b398c784dedf
teuthology/schedule.py: update parsed_yaml with base_config

In `schedule_suite` method,
`self.base_config` gets updated many times while backtracking
when using "--newest" flag. These changes were never updated
to `parsed_yaml` (job yaml) in `configs`.
As `configs` is intialised before backtracking.

Before, we used to write base_config to a tmp
file and pass that to teuthology-schedule
which used to take care of updates to base_config.
But this logic was removed in https://github.com/ceph/teuthology/pull/2008/files
so the updates to base_config then never make
it to job yaml anymore.

Fixes: https://tracker.ceph.com/issues/71612
Signed-off-by: Vallari Agrawal <val.agl002@gmail.com>
teuthology/suite/run.py