fix: add OCS virtualization SC to AWS global_config for gating#5456
fix: add OCS virtualization SC to AWS global_config for gating#5456lukas-bednar wants to merge 2 commits into
Conversation
|
Report bugs in Issues Welcome! 🎉This pull request will be automatically processed with the following features: 🔄 Automatic Actions
📋 Available CommandsPR Status Management
Review & Approval
Testing & Validation
Container Operations
Cherry-pick Operations
Branch Management
Custom Commands
Label Management
✅ Merge RequirementsThis PR will be automatically approved when the following conditions are met:
📊 Review ProcessApprovers and ReviewersApprovers:
Reviewers:
Available Labels
AI Features
Security Checks
💡 Tips
For more information, please refer to the project documentation or contact the maintainers. |
Investigation findings (CNV-91960 / AWS gating health check)Hi maintainers — we traced a verify-cnv-4.19.z-build failure on AWS after the RHOS→AWS gating migration and would appreciate guidance on the right fix before we proceed further. Context
Symptom: Cluster Health Check pytest collection fails with: Root cause (as we understand it): Gating passes This PR (#5456) approachAdds OCS to cnv-4.20 behavior (no OCS in
|
|
this change was reverted in #3341 |
4630e3e to
9afddab
Compare
|
Updated per @jeniapeimer's feedback:
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ 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 |
Tier0 verify jobs on AWS IPI use tests/global_config_aws.py for storage class matrix. Replace cnv-4.19 copy with exact main branch version per maintainer feedback from @jeniapeimer (align with RedHatQE#3341 / post-RedHatQE#3309 main state). Signed-off-by: Lukas Bednar <lbednar@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
2336e98 to
521d104
Compare
|
Updated per @jeniapeimer's feedback:
This aligns with @rnetser's note that the earlier approach diverged from |
for more information, see https://pre-commit.ci
| storage_class_a = StorageClassNames.IO2_CSI | ||
| storage_class_b = StorageClassNames.IO2_CSI |
There was a problem hiding this comment.
Oops, saying we need the exact copy was too far-fetched; this should stay:
| storage_class_a = StorageClassNames.IO2_CSI | |
| storage_class_b = StorageClassNames.IO2_CSI | |
| storage_class_for_storage_migration_a = StorageClassNames.IO2_CSI | |
| storage_class_for_storage_migration_b = StorageClassNames.IO2_CSI |
| from utilities.constants.storage import StorageClassNames | ||
|
|
||
| from utilities.constants import Images, StorageClassNames | ||
| from utilities.constants import Images |
There was a problem hiding this comment.
These imports also need to stay as they were
| from utilities.constants.storage import StorageClassNames | |
| from utilities.constants import Images, StorageClassNames | |
| from utilities.constants import Images | |
| from utilities.constants import Images, StorageClassNames |
|
|
||
| for _dir in dir(): | ||
| if not config: # noqa: F821 | ||
| if not config: |
There was a problem hiding this comment.
And this needs to be reverted to please the pre-commit
| continue | ||
|
|
||
| config[_dir] = locals()[_dir] # noqa: F821 | ||
| config[_dir] = locals()[_dir] |
Summary
ocs-storagecluster-ceph-rbd-virtualization(CEPH_RBD_VIRTUALIZATION) totests/global_config_aws.pyon thecnv-4.19branchProblem
After contra/cnv MR !8802 migrated tier0 gating to AWS IPI, Cluster Health Check fails pytest collection:
Health check runs with
--tc-file=tests/global_config_aws.py --storage-class-matrix=ocs-storagecluster-ceph-rbd-virtualization, butcnv-4.19AWS config only had Portworx/Trident/IO2 entries.Example: verify-cnv-4.19.z-build #697 — deploy AWS OK, health check exit 2 (44 collection errors).
Not caused by
set-default-storage-class(skipped for 4.19 verify jobs).Jira
Test plan
cnv-4.19and publishopenshift-virtualization-tests:cnv-4.19imageverify-cnv-4.19.z-buildon AWS — Cluster Health Check should collect tests (exit 0)cnv-4.20before/at 4.99 AWS migrationMade with Cursor