[reproducer] Refresh premetal config vars from resolved hostvars#4021
[reproducer] Refresh premetal config vars from resolved hostvars#4021michburk wants to merge 1 commit into
Conversation
|
Skipping CI for Draft Pull Request. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
94a2d45 to
24be294
Compare
| - name: Overwrite custom-params.yml | ||
| - name: Write merged custom-params.yml to controller-0 | ||
| vars: | ||
| _merged: >- |
There was a problem hiding this comment.
(non-blocking) suggestion: I think we can move this to the block vars level, as _merged is the same used at L52. So we don't need to calculate it twice.
24be294 to
12448a0
Compare
The premetal pickup phase overwrite_zuul_vars.yml previously merged only zuul_vars.yaml into the stale reproducer-variables.yml, missing scenario file changes (e.g. test skip lists in 05-tests.yaml). Dump current hostvars through the same filter as configure_controller.yml and deep-merge over the stale file, preserving premetal provision-time computed values. Generated-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Michael Burke <michburk@redhat.com>
12448a0 to
d6039bb
Compare
In premetal deployments, config variables updated between bootstrap and pickup were not reflected in reproducer-variables.yml. Overwrite it at pickup time by dumping the hypervisor's filtered hostvars using the same filter chain as configure_bm_ocp_controller.yml.