Skip to content

Fix allow cached shared image to grow - #3504

Merged
stgraber merged 2 commits into
lxc:mainfrom
DarkressX:fix-allow-cached-shared-image-to-grow
Jun 17, 2026
Merged

stgraber merged 2 commits into
lxc:mainfrom
DarkressX:fix-allow-cached-shared-image-to-grow

Conversation

@DarkressX

Copy link
Copy Markdown
Contributor

The Bug:
When the virtual size of a image is larger than the configures volume.size on a pool, instance creation fails because it does not have enough space to unpack the shared cached image.
This adds another check which is hit during the EnsureImage function, which pushes the image to the desired storage-pool and allows the shared image to grow to its desired size.

โ€ฆeeded size and not be restricted by pool size config.

Signed-off-by: Leon Schoch <lschoch@anexia.com>
Signed-off-by: Leon Schoch <lschoch@anexia.com>
@DarkressX
DarkressX marked this pull request as ready for review June 16, 2026 08:35
@DarkressX
DarkressX requested a review from stgraber as a code owner June 16, 2026 08:35
@stgraber
stgraber merged commit d74f65d into lxc:main Jun 17, 2026
105 of 108 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants