Skip to content

fix: disk resizing and unexpected disk deletion #357

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

Merged
merged 2 commits into from
Jun 20, 2025

Conversation

gCyrille
Copy link
Collaborator

@gCyrille gCyrille commented Jun 16, 2025

This should fix #328 and #178 and #214

When attempting to expand a disk, the process actually deleted the disk and created a new one without shutting down the VM first.

This can result in data loss and the VM freezing unexpectedly.

To avoid this, the VM is now shut down before the attached disk is resized, and other changes should not delete the disk.

Disk migration from one storage repository to another is not supported by the provider and should not involve deleting and recreating the disk.

Related to vatesfr/xenorchestra-go-sdk#26

@gCyrille gCyrille merged commit 4d4559b into master Jun 20, 2025
4 checks passed
@gCyrille gCyrille deleted the fix-vm-disk-resizing branch June 20, 2025 10:15
This was referenced Jul 31, 2025
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.

Disk size does not expand
2 participants