Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass existing disk CIDs to CPI in create-env command #664

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

selzoc
Copy link
Member

@selzoc selzoc commented Oct 2, 2024

The create_vm (ref https://bosh.io/docs/cpi-api-v2-method/create-vm/) CPI method takes an optional array of CIDs that feed into the VM placement strategy. The BOSH director sends these along, but the create-env command did not. This commit adds that functionality by reading the disks from the state file.

The create_vm (ref https://bosh.io/docs/cpi-api-v2-method/create-vm/)
CPI method takes an optional array of CIDs that feed into the VM
placement strategy.  The BOSH director sends these along, but the
create-env command did not.  This commit adds that functionality by
reading the disks from the state file.

[TPCF-27292]

Signed-off-by: Nader Ziada <[email protected]>
Copy link
Member

@xtreme-nitin-ravindran xtreme-nitin-ravindran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All unit-tests passed. LGTM

@rkoster rkoster requested review from a team, aramprice and nader-ziada and removed request for a team October 3, 2024 14:34
@rkoster rkoster merged commit 1a367b9 into main Oct 3, 2024
5 checks passed
@rkoster rkoster deleted the create-env-passed-disk-cids branch October 3, 2024 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

3 participants