PowerVS : Create new powervs-sno lease#5290
Conversation
|
Pipeline controller notification For optional jobs, comment This repository is configured in: automatic mode |
|
PR needs rebase. 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. |
📝 WalkthroughWalkthroughAdds a new ChangesPOWERVS SNO cluster profile support
Estimated code review effort: 1 (Trivial) | ~3 minutes Related PRs: None identified from provided context. Suggested labels: none Suggested reviewers: none
🚥 Pre-merge checks | ✅ 16 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (16 passed)
✨ 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 |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mpkredhat 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 |
|
@mpkredhat: The following tests 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. |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
pkg/api/clusterprofile.go (1)
961-962: 🧹 Nitpick | 🔵 TrivialConfirm Boskos pool exists for the new lease type.
LeaseType()now returns"powervs-sno-quota-slice", but the openshift/release Boskos config doesn't yet define a matching pool (onlypowervs-1…powervs-9andpowervs-multi-1slices exist there). Without that pool, jobs using this profile will fail to acquire leases at runtime.Ensure
core-services/prow/02_config/_boskos.yamlin openshift/release is updated with apowervs-sno-quota-slicepool before this profile is used by any job.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@pkg/api/clusterprofile.go` around lines 961 - 962, The new LeaseType value returned by ClusterProfilePOWERVSSNO is not backed by a matching Boskos pool, so jobs will fail to acquire leases at runtime. Update the Boskos configuration to add a pool named powervs-sno-quota-slice in core-services/prow/02_config/_boskos.yaml, and make sure the ClusterProfilePOWERVSSNO path in LeaseType stays aligned with that pool name.Source: Linked repositories
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Nitpick comments:
In `@pkg/api/clusterprofile.go`:
- Around line 961-962: The new LeaseType value returned by
ClusterProfilePOWERVSSNO is not backed by a matching Boskos pool, so jobs will
fail to acquire leases at runtime. Update the Boskos configuration to add a pool
named powervs-sno-quota-slice in core-services/prow/02_config/_boskos.yaml, and
make sure the ClusterProfilePOWERVSSNO path in LeaseType stays aligned with that
pool name.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository YAML (base), Central YAML (inherited)
Review profile: CHILL
Plan: Enterprise
Run ID: 0b3b0a76-5ed2-4824-b156-f8b7ddd333a0
📒 Files selected for processing (1)
pkg/api/clusterprofile.go
🔗 Linked repositories identified
CodeRabbit considers these linked repositories for cross-repo context during reviews:
openshift/release(manual)openshift/ci-docs(manual)openshift/release-controller(manual)openshift/ci-chat-bot(manual)
Requesting powervs-sno lease within dal14 workspace and quota-slice as 2.
Adds support for a new PowerVS SNO cluster profile in the CI tooling. In practice, this lets CI operators request and classify a
powervs-snolease in thedal14workspace usingquota-slice 2, with the API now recognizing the new cluster type and automatically mapping it to the correspondingpowervs-sno-quota-slicelease type.