Repository navigation
Remove scheduler_hint and ephemeral_disk from CreateVM Struct - #367
Merged
Merged
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. WalkthroughThe CreateVM struct no longer declares the ephemeral_disk or scheduler_hints fields. Its instance_type, key_name, loadbalancer_pools, and root_disk fields remain. Priority: ⬇️ Low Merge Risk: ⚪ Minimal · up to The field removal matches the intended cleanup, and no affected Go callers were found. The change is mergeable after normal checks. 🚥 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 |
aramprice
approved these changes
Oct 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Remove unimplemented ephemeral_disk and scheduler_hints from CreateVM
The Go CPI's CreateVM struct declared ephemeral_disk and scheduler_hints fields that were parsed from cloud properties but never read or acted upon anywhere in the codebase. This gave operators false confidence that setting these properties would have an effect, when in reality they were silently ignored.
Error:
Operators configuring ephemeral_disk or scheduler_hints in their cloud config would see the properties accepted without error, but the CPI would not apply them during VM creation — no ephemeral Cinder volume would be attached, and no scheduler hints would be passed to OpenStack.
Changes: