Skip to content
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

onevm restore not detecting disks from the backup when restoring specific disk through FSunstone #6739

Closed
3 tasks
Franco-Sparrow opened this issue Sep 26, 2024 · 1 comment · Fixed by OpenNebula/docs#3067

Comments

@Franco-Sparrow
Copy link

Franco-Sparrow commented Sep 26, 2024

Description

Restoring specific disk of the Virtual Machine (in POWEROFF state) from the backup Image, is not detecting disks on FSunstone when restore directly to VM disks. You cant restore specifying the disk to restore, directly to the VM.

To Reproduce

  • Create a new VM with more than one disk: vda and vdb.
  • Partitionate and format the 2nd disk.
  • Mount the 2nd disk and make it persistent (/mn/vdb/data/).
  • Configure the VM fort Single VM backups: BACKUP_VOLATILE: YES, INCREMENT_MODE: CBT, FS_FREEZE: AGENT, KEEP_LAST: 3, MODE: INCREMENT.
  • Before create a backup, create the following files in the VM:
touch inc0 && touch /mnt/vda/data/inc0
  • Perform the first backup.

  • Perform the 2nd backup.

  • Poweroff the VM, in order to restore directly on same VM.

  • Restore the backup directly to same VM using FSunstone.
    WhatsApp Image 2024-09-26 at 5 08 13 PM
    WhatsApp Image 2024-09-26 at 5 08 41 PM

  • There is no disk detected to select for restore:
    WhatsApp Image 2024-09-26 at 5 09 01 PM

Expected behavior

There should be enable the selection of disks to restore. It works using the CLI:

WhatsApp Image 2024-09-26 at 5 00 59 PM

Details

  • Affected Component: [e.g. Sunstone, Storage]
  • Hypervisor: [KVM]
  • Version: [6.10.0]

Additional context
Add any other context about the problem here.

Progress Status

  • Code committed
  • Testing - QA
  • Documentation (Release notes - resolved issues, compatibility, known issues)
@Franco-Sparrow Franco-Sparrow changed the title onevm restore not implemented from Fsunstone when restoring specific disk that is not the first disk of the VM onevm restore not detecting disks from the backup when restoring specific disk through FSunstone Sep 26, 2024
vichansson added a commit to OpenNebula/docs that referenced this issue Sep 27, 2024
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
@vichansson vichansson linked a pull request Sep 27, 2024 that will close this issue
2 tasks
tinova pushed a commit to OpenNebula/docs that referenced this issue Sep 27, 2024
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
@vichansson
Copy link
Contributor

Hi @Franco-Sparrow!

This was indeed a bug when invoking the restore dialog from the VM action menu. However it works as expected if you try to restore a backup image from the Storage->Backups tab.

Fix will be included in 6.10.1, thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants