OSAC-1657: fix e2e-vmaas-full-setup-helm values file path#80834
Conversation
The e2e-vmaas-full-setup-helm periodic job has been failing since June 8 with "Error: open values/vmaas-ci.yaml: no such file or directory". Root cause: The osac-installer repository restructured values files on June 20, 2026 (PR openshift#296) from flat layout (values/<env>.yaml) to per-environment directories (values/<env>/values.yaml). The CI step registry was not updated. Fix: Update VALUES_FILE default path in osac-project-installer-ref.yaml from values/vmaas-ci.yaml to values/vmaas-ci/values.yaml to match the osac-installer repository structure. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> rh-pre-commit.version: 2.4.0 rh-pre-commit.check-secrets: ENABLED
|
@amej: This pull request references OSAC-1657 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
WalkthroughThe default value of the ChangesHelm values path update
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: amej, omer-vishlitzky The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
[REHEARSALNOTIFIER]
Prior to this PR being merged, you will need to either run and acknowledge or opt to skip these rehearsals. Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
/pj-rehearse |
|
@amej: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/hold |
Summary: Rehearsal Test Results Status: ❌ Failed (infrastructure issue, not our fix) Failure cause: The job failed during the ofcir-acquire step (bare metal server provisioning) with SSH connection errors to IBM Cloud. This happens before the osac-project-installer step What this means:
This is expected for rehearsal jobs that require bare metal infrastructure - they can fail due to provider issues unrelated to code changes. Recommendation: The PR is ready to merge. The fix will be validated by the actual periodic job after merge. |
|
/pj-rehearse periodic-ci-osac-project-osac-test-infra-main-e2e-vmaas-full-setup-helm |
|
@amej: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
@amej: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. I understand the commands that are listed here. |
|
Ref: https://redhat-internal.slack.com/archives/CBN38N3MW/p1782136661162139?thread_ts=1782121123.166539&cid=CBN38N3MW The previous origin-cli container build error is resolved — assisted-common-setup-infra succeeded this time (18m21s). The job progressed much further but hit a new, different failure in the osac-project-installer step. Step execution:
Root Cause: Helm ownership metadata conflict The osac-project-installer step failed when Helm tried to install the osac release. A Kubernetes Secret config-as-code-ig already exists in the osac-e2e-ci namespace but is missing Helm ownership labels/annotations: Error: Unable to continue with install: Secret "config-as-code-ig"
This means the secret config-as-code-ig was created by a prior step (likely during assisted-common-setup-prepare or assisted-common-test) without Helm ownership metadata. When the Helm chart in osac-project-installer later tries to install, it finds this pre-existing secret and refuses to adopt it. There was also a transient CertManager CRD issue earlier (the CertManager custom resource wasn't found in Is this related to your PR? This failure is quite possibly directly related to your PR's change. Your PR fixes the values file path for the Helm chart (OSAC-1657). If the previous (incorrect) values file path caused the Helm chart to skip creating the config-as-code-ig secret itself — while another step created it without Helm metadata — then fixing the path could surface this ownership conflict. This looks like it may be a pre-existing issue in the test pipeline that your fix is now exposing by correctly configuring the Helm chart. This is something the OSAC team would need to address in their Helm chart or test setup — for example by adding --force or adopting the existing secret with proper labels before the Helm install. Next steps:
|
Investigation Complete: Helm Ownership Conflict AnalysisThanks for the detailed feedback @amej! I've completed a multi-agent investigation of the rehearsal failure. TL;DR✅ The values file path fix in this PR is correct and necessary. Root CauseThe
Why This Wasn't Visible BeforeTimeline:
The values path fix allowed the job to progress far enough to expose this downstream issue. Fix OptionsImmediate fix (recommended for CI): oc delete secret config-as-code-ig -n "${INSTALLER_NAMESPACE}" --ignore-not-found=trueLong-term fix (proper architecture): Next StepsOption A (fastest):
Option B (cleanest):
Which approach would you recommend? 📋 Detailed investigation report: helm-ownership-investigation.md |
OSAC-1657: fix e2e-vmaas-full-setup-helm values file path
Summary
Updates the
VALUES_FILEdefault path in theosac-project-installerstep registry to match the osac-installer repository's directory structure change from June 20, 2026.The
e2e-vmaas-full-setup-helmperiodic job has been failing since June 8 with:Root Cause
The osac-installer repository restructured values files on June 20, 2026 (commit 5e1e886, PR #296):
values/<env>.yamlvalues/<env>/values.yamlThe CI step registry was not updated, causing the Helm deployment to fail when it couldn't find the values file at the old path.
Timeline:
e2e-vmaas-full-setup-helmjob introduced withVALUES_FILE=values/vmaas-ci.yaml(correct at the time)Changes
File:
ci-operator/step-registry/osac-project-installer/osac-project-installer-ref.yaml:32Testing
make registry-metadatapassedmake jobspassed (sanitize-prow-jobs succeeded)Post-merge verification:
The next nightly run (0:00 UTC) of
periodic-ci-osac-project-osac-test-infra-main-e2e-vmaas-full-setup-helmwill validate the fix by successfully passing theosac-project-installerstep.Impact
Before: Nightly Helm-based VMaaS full-setup periodic job failing at installer step
After: Job will complete successfully through installation and testing
Scope: Single periodic job (
e2e-vmaas-full-setup-helm)Risk: Minimal - only updates a default value; jobs that override
VALUES_FILEare unaffectedRelated
Checklist
Summary by CodeRabbit
This PR fixes a broken CI configuration in the OpenShift release repository that has been causing the
e2e-vmaas-full-setup-helmperiodic job to fail since June 8, 2026. The job failed with "Error: open values/vmaas-ci.yaml: no such file or directory" due to a directory structure change in the osac-installer repository that was not reflected in the release repository's CI configuration.What changed:
The
osac-project-installerstep registry definition has been updated to reflect the new directory layout in the osac-installer repository. TheVALUES_FILEenvironment variable's default value inci-operator/step-registry/osac-project/installer/osac-project-installer-ref.yaml(line 32) is changed fromvalues/vmaas-ci.yamltovalues/vmaas-ci/values.yaml. This aligns the CI configuration with the osac-installer repository's updated file structure where values files are organized in per-environment directories rather than at the root values directory.Impact:
The fix is minimal and focused—only the default value for the
VALUES_FILEconfiguration variable is updated. The change directly affects periodic jobs that use this step, with the vmaas-ci Helm-based setup job being the primary beneficiary. Jobs that explicitly override theVALUES_FILEparameter are unaffected.