feat(plan): add scsiReservation field - #2790
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Walkthrough
ChangesSCSI reservation configuration
Estimated code review effort: 1 (Trivial) | ~5 minutes Mergeability Score: ⚪ Minimal · up to This localized change adds optional SCSI reservation support to Plan resources without any identified merge-blocking risk; it is merge-ready after normal checks and review. Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 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 |
PR Summary by QodoAdd Plan.spec.scsiReservation support for vSphere shared RDM migrations
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
|
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
Cherry-pick Operations
Branch Management
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. |
|
/verified |
Code Review by Qodo
1. scsi_reservation docstring not Google-style
|
|
/lgtm |
Summary
Add support for the
spec.scsiReservationboolean field on the Plan CR.This field enables SCSI persistent reservations on shared RDM disks during migration. When set to
true, it configureslun.reservation: trueanderrorPolicy: reporton target VM disks.Changes
4 standard touch points in
ocp_resources/plan.py:__init__parameter (bool | None = None)selfassignmentto_dict()conditionalFollows the same pattern as
rdm_as_lun,run_preflight_inspection, etc.Ref
Summary by CodeRabbit