Skip to content

[reproducer] Refresh premetal config vars from resolved hostvars#4021

Draft
michburk wants to merge 1 commit into
openstack-k8s-operators:mainfrom
michburk:premetal-config-vars-v2
Draft

[reproducer] Refresh premetal config vars from resolved hostvars#4021
michburk wants to merge 1 commit into
openstack-k8s-operators:mainfrom
michburk:premetal-config-vars-v2

Conversation

@michburk

Copy link
Copy Markdown
Contributor

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.

@openshift-ci

openshift-ci Bot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci

openshift-ci Bot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign valkyrie00 for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

In premetal deployments, config variables updated between bootstrap
and pickup were not reflected in reproducer-variables.yml. Merge
the hypervisor's filtered hostvars over the existing bootstrap dump
so new/changed values win while bootstrap-time state is preserved.

Generated-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Michael Burke <michburk@redhat.com>
- name: Overwrite custom-params.yml
- name: Write merged custom-params.yml to controller-0
vars:
_merged: >-

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(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.

@openshift-ci

openshift-ci Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

PR needs rebase.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants