Skip to content

Conversation

@rebtoor
Copy link
Contributor

@rebtoor rebtoor commented Feb 9, 2026

The version filtering introduced in b1d8f70 correctly ensures the initial deploy only approves the InstallPlan matching the pinned deployment_version. However, the update role also calls install_plan.yml with the same deployment_version still set, causing it to filter for the already-approved old version's plan instead of the newer version's unapproved plan. This results in a timeout after 30 retries.

Fix by introducing cifmw_kustomize_deploy_installplan_target_version as an override variable. install_plan.yml checks this first, falling back to cifmw_ci_gen_kustomize_values_deployment_version when unset. The update role passes '' to disable version filtering, allowing it to approve whichever unapproved InstallPlan OLM has created for the next available version.

Behavior summary:

  • Initial deploy (target_version unset): filters by deployment_version
  • Update (target_version=''): approves first unapproved plan

Assisted-by: Cursor(claude-4.6-opus)

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 9, 2026

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

@rebtoor
Copy link
Contributor Author

rebtoor commented Feb 9, 2026

/test all

@rebtoor rebtoor requested a review from ciecierski February 9, 2026 10:08
@softwarefactory-project-zuul
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/a7edbf2f705745cf8dc492d5eba74308

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 15m 02s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 20m 17s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 39m 55s
cifmw-crc-podified-edpm-baremetal-minor-update FAILURE in 2h 01m 30s
✔️ cifmw-pod-zuul-files SUCCESS in 5m 33s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 11m 05s
✔️ cifmw-pod-pre-commit SUCCESS in 8m 54s
✔️ cifmw-architecture-validate-hci SUCCESS in 4m 59s
✔️ cifmw-molecule-kustomize_deploy SUCCESS in 4m 26s
✔️ cifmw-molecule-update SUCCESS in 4m 55s

@rebtoor
Copy link
Contributor Author

rebtoor commented Feb 9, 2026

recheck

@softwarefactory-project-zuul
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/803278bc5e1b4d36b99e58d569f47567

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 00m 57s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 24m 39s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 39m 02s
cifmw-crc-podified-edpm-baremetal-minor-update FAILURE in 1h 43m 21s
✔️ cifmw-pod-zuul-files SUCCESS in 4m 05s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 16s
✔️ cifmw-pod-pre-commit SUCCESS in 7m 16s
✔️ cifmw-architecture-validate-hci SUCCESS in 5m 07s
✔️ cifmw-molecule-kustomize_deploy SUCCESS in 4m 33s
✔️ cifmw-molecule-update SUCCESS in 5m 02s

@rebtoor
Copy link
Contributor Author

rebtoor commented Feb 9, 2026

recheck

@softwarefactory-project-zuul
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/453ee9dfa374468692b50a841e6b92aa

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 16m 50s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 19m 23s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 29m 24s
cifmw-crc-podified-edpm-baremetal-minor-update FAILURE in 2h 03m 15s
✔️ cifmw-pod-zuul-files SUCCESS in 5m 19s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 32s
✔️ cifmw-pod-pre-commit SUCCESS in 9m 48s
✔️ cifmw-architecture-validate-hci SUCCESS in 4m 55s
✔️ cifmw-molecule-kustomize_deploy SUCCESS in 4m 40s
✔️ cifmw-molecule-update SUCCESS in 5m 13s

The version filtering introduced in b1d8f70 correctly ensures the
initial deploy only approves the InstallPlan matching the pinned
deployment_version. However, the update role also calls
install_plan.yml with the same deployment_version still set, causing
it to filter for the already-approved old version's plan instead of
the newer version's unapproved plan. This results in a timeout after
30 retries.

Fix by introducing cifmw_kustomize_deploy_installplan_target_version
as an override variable. install_plan.yml checks this first, falling
back to cifmw_ci_gen_kustomize_values_deployment_version when unset.
The update role passes '' to disable version filtering, allowing it
to approve whichever unapproved InstallPlan OLM has created for the
next available version.

Behavior summary:
- Initial deploy (target_version unset): filters by deployment_version
- Update (target_version=''): approves first unapproved plan

Signed-off-by: Roberto Alfieri <ralfieri@redhat.com>
@rebtoor rebtoor force-pushed the update-install-plan branch from 26308ac to 6a1e1bf Compare February 10, 2026 17:55
@rebtoor rebtoor marked this pull request as ready for review February 10, 2026 17:56
# Description:
# Set of tasks to accept the latest Manual installPlan provided by OLM.
#
# Version filtering behavior:
Copy link
Contributor

Choose a reason for hiding this comment

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

do we need such comment?

@holser holser self-requested a review February 11, 2026 14:12
Copy link
Contributor

@holser holser left a comment

Choose a reason for hiding this comment

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

/lgtm

@evallesp
Copy link
Contributor

/approved

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 11, 2026

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by:

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

The pull request process is described 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

@openshift-merge-bot openshift-merge-bot bot merged commit b4bda4f into openstack-k8s-operators:main Feb 11, 2026
13 of 14 checks passed
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.

4 participants