Skip to content

Implement block device live resize as a PUT /actions #280

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

Closed
alxiord opened this issue May 17, 2018 · 0 comments
Closed

Implement block device live resize as a PUT /actions #280

alxiord opened this issue May 17, 2018 · 0 comments

Comments

@alxiord
Copy link

alxiord commented May 17, 2018

Currently, to resize a block device while the guest is running, a PUT must be issued to /drives, with the ID of the block device in question, and the same parameters used when it was created. This PUT does not recreate the resource, but instead triggers a rescan of the device. This goes against RESTful practices and complicates the code that handles PUT requests. The solution is to trigger the rescan from a PUT to /operations instead, in which case the resource would be the operation and not the drive.

@alxiord alxiord self-assigned this May 17, 2018
@andreeaflorescu andreeaflorescu added this to the Customer 2 Production milestone Jun 7, 2018
@alxiord alxiord changed the title Implement block device live resize as a PUT /operations Implement block device live resize as a PUT /actions Jul 27, 2018
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

No branches or pull requests

2 participants