Skip to content

Conversation

@parkinr
Copy link

@parkinr parkinr commented Jun 9, 2025

Problem:
Volume expansion function called c.volume.getVolumebyId() that results in no volume found, this caused volume expansion failure. The reason is to find volume, cloudstack API require projectID.

Fix:
The fix is to use the volume returned by the native getVolumebyId() function that passed the projectID to the cloudstack API call.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@hrak hrak self-requested a review July 22, 2025 10:05
Copy link
Member

@hrak hrak left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution!

@hrak hrak merged commit 30c0051 into leaseweb:master Jul 22, 2025
hrak added a commit that referenced this pull request Jul 22, 2025
Project ID was not considered in ExpandVolume(). The expandVolume API doesnt have a projectID parameter so we need to fetch the volume before calling ExpandVolume

---------

Co-authored-by: hrak <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants