René's URL Explorer Experiment


Title: Backup restore of VM fails after ROOT volume migration (wrong disk id used) · Issue #12517 · apache/cloudstack · GitHub

Open Graph Title: Backup restore of VM fails after ROOT volume migration (wrong disk id used) · Issue #12517 · apache/cloudstack

X Title: Backup restore of VM fails after ROOT volume migration (wrong disk id used) · Issue #12517 · apache/cloudstack

Description: problem Restoring a virtual machine from a backup fails if the VM’s ROOT volume has been migrated to another primary storage. After migration, the ROOT volume’s identifiers in the database change (disk id and path id), but the backup res...

Open Graph Description: problem Restoring a virtual machine from a backup fails if the VM’s ROOT volume has been migrated to another primary storage. After migration, the ROOT volume’s identifiers in the database change (...

X Description: problem Restoring a virtual machine from a backup fails if the VM’s ROOT volume has been migrated to another primary storage. After migration, the ROOT volume’s identifiers in the database change (...

Opengraph URL: https://github.com/apache/cloudstack/issues/12517

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Backup restore of VM fails after ROOT volume migration (wrong disk id used)","articleBody":"### problem\n\nRestoring a virtual machine from a backup fails if the VM’s ROOT volume has been migrated to another primary storage.\nAfter migration, the ROOT volume’s identifiers in the database change (disk id and path id), but the backup restore process still tries to use the old disk id in the file name, which no longer exists on disk.\nIf a symbolic link is created from the actual qcow2 file (with the new path id) to the expected file name (with the old disk id), the restore completes successfully.\n\n\n\n### versions\n\nApache CloudStack version: 4.21.0.0\n\nHypervisor: KVM\n\nStorage Type: NFS \n\nVM state during restore: Stopped\n\nBackup type: VM backup with ROOT-disk\n\n### The steps to reproduce the bug\n\nSteps to Reproduce\n\n1. Create a virtual machine.\n\n2. Create a ROOT volume for this VM on one primary storage.\n\n3. Migrate the ROOT volume to another primary storage.\n\n4. Observe that in the database the ROOT volume identifiers change, for example:\n\n   disk_id = 6e75d391-9368-4a1e-ad9d-ba53eb37721c\n\n   path_id = f9f56997-8dee-4dab-b497-db7594dc9df5\n\n5. Try to restore the VM from a backup.\n\n6. Check the KVM/agent logs on the host performing the restore.\n\nObserved Behavior\n\nDuring restore, the system runs a command similar to:\n\n```bash\n/bin/bash -c rsync -az \\\n/usr/share/cloudstack-agent/tmp/csbackup.DpswS6644565578867592234/i-280-1642-VM/2026.01.26.15.07.27/root.6e75d391-9368-4a1e-ad9d-ba53eb37721c.qcow2 \\\n/mnt/e99ab53f-5b3a-36b6-ab01-86725eb45d4b/4f070e46-9b54-42d4-8b79-42a58edf5197\n```\n\nIn this directory, the file root.6e75d391-9368-4a1e-ad9d-ba53eb37721c.qcow2 does not exist, but the file root.f9f56997-8dee-4dab-b497-db7594dc9df5.qcow2 is present.\n\nThe backup restore process fails with an error similar to:\n\n```\nVM: {'errorcode': 533, 'errortext': 'No destination found for a deployment for VM instance {\"id\":1577,\"instanceName\":\"i-280-1577-VM\",\"state\":\"Stopped\",\"type\":\"User\",\"uuid\":\"1421efbe-76a5-4f74-ab67-9e40385bcf88\"}'}\n```\n\nIf, before the restore proceeds, you manually create a hard link in:\n\n```\n/usr/share/cloudstack-agent/tmp/csbackup.DpswS6644565578867592234/i-280-1642-VM/2026.01.26.15.07.27/\n```\n\nlike this\n\n```\nln root.f9f56997-8dee-4dab-b497-db7594dc9df5.qcow2 \\\n   root.6e75d391-9368-4a1e-ad9d-ba53eb37721c.qcow2\n```\n\nthen the restore from backup completes successfully.\n\nExpected Behavior\n\nThe backup restore process should use the correct, current identifier of the ROOT volume file (e.g., the path_id-based file name) after volume migration, without requiring manual hard links or any manual intervention.\n\n\n### What to do about it?\n\n_No response_","author":{"url":"https://github.com/beezzlot","@type":"Person","name":"beezzlot"},"datePublished":"2026-01-26T12:58:11.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/12517/cloudstack/issues/12517"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:be5cc39c-5a21-fe6a-f8b0-39580fccc941
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC6F8:2CFBC2:F6BD4F:1555B45:6A4DF2B8
html-safe-nonce4f2963ed4c5cca6293d8507b2836bfe06d53dde631c6c4c13ae4f07dca5c6455
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNkY4OjJDRkJDMjpGNkJENEY6MTU1NUI0NTo2QTRERjJCOCIsInZpc2l0b3JfaWQiOiI2MzM5NTkwOTAyODYwNjA4MTg0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac3f932e804524902bc186293624f054c50533b61eb67e65552f6fb3e6e8ecfa90
hovercard-subject-tagissue:3855873239
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/apache/cloudstack/12517/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7844482c88d714f8c1cfc5f3c85331b29094d70639a77e202b95ef462d1aaba5/apache/cloudstack/issues/12517
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7844482c88d714f8c1cfc5f3c85331b29094d70639a77e202b95ef462d1aaba5/apache/cloudstack/issues/12517
og:image:altproblem Restoring a virtual machine from a backup fails if the VM’s ROOT volume has been migrated to another primary storage. After migration, the ROOT volume’s identifiers in the database change (...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebeezzlot
hostnamegithub.com
expected-hostnamegithub.com
None5818716c93c6a2925b815402541a32814e43a7b1261c322b0c2df75224289566
turbo-cache-controlno-preview
go-importgithub.com/apache/cloudstack git https://github.com/apache/cloudstack.git
octolytics-dimension-user_id47359
octolytics-dimension-user_loginapache
octolytics-dimension-repository_id9759448
octolytics-dimension-repository_nwoapache/cloudstack
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id9759448
octolytics-dimension-repository_network_root_nwoapache/cloudstack
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef4bb89367ca678f057d79b1abc45d6675b1bd5b2
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/apache/cloudstack/issues/12517#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Fcloudstack%2Fissues%2F12517
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Fcloudstack%2Fissues%2F12517
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=apache%2Fcloudstack
Reloadhttps://github.com/apache/cloudstack/issues/12517
Reloadhttps://github.com/apache/cloudstack/issues/12517
Reloadhttps://github.com/apache/cloudstack/issues/12517
Please reload this pagehttps://github.com/apache/cloudstack/issues/12517
apache https://github.com/apache
cloudstackhttps://github.com/apache/cloudstack
Notifications https://github.com/login?return_to=%2Fapache%2Fcloudstack
Fork 1.3k https://github.com/login?return_to=%2Fapache%2Fcloudstack
Star 3k https://github.com/login?return_to=%2Fapache%2Fcloudstack
Code https://github.com/apache/cloudstack
Issues 536 https://github.com/apache/cloudstack/issues
Pull requests 268 https://github.com/apache/cloudstack/pulls
Discussions https://github.com/apache/cloudstack/discussions
Actions https://github.com/apache/cloudstack/actions
Projects https://github.com/apache/cloudstack/projects
Wiki https://github.com/apache/cloudstack/wiki
Security and quality 0 https://github.com/apache/cloudstack/security
Insights https://github.com/apache/cloudstack/pulse
Code https://github.com/apache/cloudstack
Issues https://github.com/apache/cloudstack/issues
Pull requests https://github.com/apache/cloudstack/pulls
Discussions https://github.com/apache/cloudstack/discussions
Actions https://github.com/apache/cloudstack/actions
Projects https://github.com/apache/cloudstack/projects
Wiki https://github.com/apache/cloudstack/wiki
Security and quality https://github.com/apache/cloudstack/security
Insights https://github.com/apache/cloudstack/pulse
Bughttps://github.com/apache/cloudstack/issues?q=type:"Bug"
#12549https://github.com/apache/cloudstack/pull/12549
Backup restore of VM fails after ROOT volume migration (wrong disk id used)https://github.com/apache/cloudstack/issues/12517#top
#12549https://github.com/apache/cloudstack/pull/12549
https://github.com/Pearl1594
4.20.3https://github.com/apache/cloudstack/milestone/43
https://github.com/beezzlot
beezzlothttps://github.com/beezzlot
on Jan 26, 2026https://github.com/apache/cloudstack/issues/12517#issue-3855873239
Pearl1594https://github.com/Pearl1594
Bughttps://github.com/apache/cloudstack/issues?q=type:"Bug"
4.20.3https://github.com/apache/cloudstack/milestone/43
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.