Repository navigation
Conversation
|
Important Review skippedIgnore keyword(s) in the title. ⛔ Ignored keywords: 1
Please check the settings in the CodeRabbit UI or the
|
|
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
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. |
|
Please resolve the conflicts (rebase/merge) — checks will run automatically on your next push. |
PR Summary by QodoAdd run-level toehold copy-appliance migration path
AI Description
Diagram
High-Level Assessment
Files changed (39)
|
|
Please resolve the conflicts (rebase/merge) — checks will run automatically on your next push. |
8ccae39 to
839eae1
Compare
|
Clean rebase detected — no code changes compared to previous head ( |
|
Please resolve the conflicts (rebase/merge) — checks will run automatically on your next push. |
Code Review by Qodo 1.
|
|
Please resolve the conflicts (rebase/merge) — checks will run automatically on your next push. |
|
/qodo The following review comments were reviewed and a decision was made:
|
|
/qodo The following review comments were reviewed and a decision was made:
|
Thanks for the update. The four review comments you addressed in 9dcdbd2 are marked resolved in the report: finding 1 (direct key access), finding 6 ( One item is still open: finding 5 (README misses the |
Your message reads as a summary of decisions on four review comments, not a question, so here is where each stands against the code in this PR.
I haven't changed any findings. If you want finding 5 dismissed as addressed, say so and I'll dismiss it (PR author only). |
|
Code review by qodo was updated up to the latest commit 9dcdbd2 |
|
/qodo The following review comments were reviewed and a decision was made:
|
|
Please resolve the conflicts (rebase/merge) — checks will run automatically on your next push. |
|
Code review by qodo was updated up to the latest commit ad2009e |
Your note checks out:
The published report still lists finding 7 as active because it predates ad2009e. I haven't changed its status. If you want the report refreshed, ask me to rerun the review. If you agree the finding is resolved, the PR author can dismiss it from the Qodo link on that finding. |
|
Please resolve the conflicts (rebase/merge) — checks will run automatically on your next push. |
|
/qodo Regarding the 'README misses the new --toehold flag' finding: README.md was updated in commit 9dcdbd2 (new 'Toehold (Copy Appliance) Runs' section documenting the flag, run examples, and the dedicated toehold provider entry) and again in commit ad2009e (the provider-configuration section now documents the vSphere toehold block alongside copyoffload/luks_passphrase and the other per-provider keys). Both the flag and the provider block are documented in the root README. Could you re-check against these commits and let us know if any specific README section is still missing the toehold documentation? |
|
/qodo The following review comments were reviewed and a decision was made:
|
The message you posted reads as a status update rather than a question, so I checked the claimed fixes against the checked-out code.
The published catalog still lists |
|
Code review by qodo was updated up to the latest commit 6692ac8 |
|
/qodo The following review comments were reviewed and a decision was made:
|
Thanks for the update. I read it as a status note on five review threads, not a question, so I haven't changed anything. The five findings are still
I didn't re-read the code to confirm those fixes in this turn. The catalog status won't change until a new review runs. If you want, I can:
|
|
Code review by qodo was updated up to the latest commit bd75503 |
|
/qodo The following review comments were reviewed and a decision was made:
|
Your last message lists seven review comments and the fixes you say you made. Here is how they map to the published report, with the catalog status and what I found in the checkout:
The catalog statuses only change when the findings are re-evaluated or closed. Your replies don't close them. I haven't dismissed anything, since you didn't ask me to. I can:
|
|
Code review by qodo was updated up to the latest commit e67b028 |
|
/qodo The following review comments were reviewed and a decision was made:
|
Thanks for the update. I checked one of the replies against the code, and it holds up:
I did not re-verify the other replies line by line. The published report and findings list still show several items as active, including the ones you replied to ( |
|
Code review by qodo was updated up to the latest commit 374e8d3 |
|
/qodo The following review comments were reviewed and a decision was made:
|
|
Code review by qodo was updated up to the latest commit 40a0851 |
|
/wip |
|
/qodo The following review comments were reviewed and a decision was made:
|
Your latest message doesn't include a direct question, so here's where the review thread stands based on your replies and the findings catalog. Replies you marked as addressed (fixed in
If you meant something else, such as a specific finding, a re-review, or a fix, tell me which one and I'll act on it. |
|
/wip cancel |
|
/verified |
|
/verified cancel |
|
/wip |
What
Adds toehold (copy appliance) transfer path support (VIRTSTRAT-757, MTV 5.0
feature_copy_appliance): instead of VDDK direct transfer, MTV deploys a copy appliance VM inside vSphere, exposes the source disks over NBD, and migrates through it (pipeline stages ApplianceDeployment → … → ApplianceTeardown).The path is a run-level CLI toggle, not a per-test marker: passing
--toeholdattaches a session-scopedtoehold_pre_setupfixture to every collected test, so the entire tier0 suite can run through the appliance path unchanged; without the flag, everything runs the regular transfer path.conftest.py:--toeholdoption + collection-time fixture attachment. Flag and provider config must agree —--toeholdwithout a providertoeholdblock (or a toehold provider without the flag) exits with a usage error instead of silently running the wrong path.utilities/toehold.py: pre-setup/teardown — ForkliftControllerfeature_copy_appliancegate + template config, providercopyAppliance*placement settings,CopyApplianceTemplatecreation and build wait, optional controller/CDI dev-image overrides (restored on session end via ResourceEditor backups), fail-fastCopyApplianceCheckcondition verification (block onCopyApplianceCheckFailed, tolerateCopyApplianceCheckPending).toeholdblock in.providers.json(schema + example + docs updated together) — keep a dedicated vSphere entry for toehold runs.docs/pytest-options-and-markers.md,docs/provider-config-file.md, docsite regenerated.Why a separate commit for the workaround
fe8ebe9(grant the automation SA pull access to the nbd imagestream) works around MTV-7457 — the namespace default ServiceAccount cannot pull thecopy-appliance-nbdimagestream the appliance import needs. It is isolated in its own commit with a RoleBinding created per-run infixture_store(auto-deleted by teardown) so it can be reverted cleanly once the product fix ships.Evidence
Two green end-to-end runs on a PSI cluster (qemtv-05, vSphere 7.0.3 source, OCS RBD destination, MTV 5.0 dev controller): 5/5 pass including full teardown. Plan pipeline confirmed the appliance path (ApplianceDeployment/DiskTransferV2v/ApplianceTeardown all Completed), post-migration checks pass (serial, firmware, NICs, guest agent), and teardown restores all cluster modifications (feature gate intentionally left on — inert without a provider template).
Notes for reviewers
docs/provider-config-file.md).feature_copy_appliancesupport and a vSphere source provider.