liquidmetal-dev / liquidmetal-dev/flintlock

cloud-hypervisor: adopt /vm.resize-disk endpoint

Open
#1,183 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
1.5k
Forks
73
Avg merge
17h 24m
Merged PRs (30d)
30

Description

Cloud Hypervisor v50.0 added a `/vm.resize-disk` REST endpoint (live-resize a block device backed by a raw image while the guest is running). It's not currently supported by flintlock's cloud-hypervisor client.

## Work
- Add `PathVMResizeDisk = "vm.resize-disk"` to `pkg/cloudhypervisor/client.go`
- Add a `VMResizeDisk` struct to `pkg/cloudhypervisor/types.go`
- Add a `ResizeDisk` method to the `Client` interface and implementation
- Wire up any provider-level plumbing needed to expose this to callers

Filed as part of the v53.0 compatibility review — see # for context. This was deliberately scoped out of that PR to keep it a minimal version bump.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with pkg/cloudhypervisor/client.go and pkg/cloudhypervisor/types.go, then inspect the existing client methods and provider plumbing for similar VM operations. Implement the endpoint support and expose it to callers through the provider layer; done means callers can request live disk resizing through the cloud-hypervisor client.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
infrastructure
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
70/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.