Title: Failed to Move VM to Another Account · Issue #13406 · apache/cloudstack · GitHub
Open Graph Title: Failed to Move VM to Another Account · Issue #13406 · apache/cloudstack
X Title: Failed to Move VM to Another Account · Issue #13406 · apache/cloudstack
Description: problem Up on stopping an Instance and trying to move it to another account... ...it does not make clear what caused the failure. Even as a Root Admin, there is no explanation of what prevented the move from happening. By looking at the ...
Open Graph Description: problem Up on stopping an Instance and trying to move it to another account... ...it does not make clear what caused the failure. Even as a Root Admin, there is no explanation of what prevented the...
X Description: problem Up on stopping an Instance and trying to move it to another account... ...it does not make clear what caused the failure. Even as a Root Admin, there is no explanation of what prevented the...
Opengraph URL: https://github.com/apache/cloudstack/issues/13406
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Failed to Move VM to Another Account","articleBody":"### problem\n\nUp on stopping an Instance and trying to move it to another account...\n\n\u003cimg width=\"665\" height=\"122\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/a9224af7-abb8-44e9-93f6-b17e43eeba9d\" /\u003e\n\n...it does not make clear what caused the failure.\n\n\u003cimg width=\"423\" height=\"190\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/402ca103-d569-4f00-b1d5-5a056b22b62e\" /\u003e\n\nEven as a Root Admin, there is no explanation of what prevented the move from happening.\n\nBy looking at the logs, the message is clear but it is followed by an unhandled exception.\n\nSanitized fragments of the logs:\n\n\u003cimg width=\"365\" height=\"41\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/82b3aa0c-3589-453a-a7b9-e3f7109bc161\" /\u003e \n\n```\n2026-06-11 20:07:53,953 ERROR [o.a.c.a.c.a.v.AssignVMCmd] (qtp1404565079-58786:[ctx-e08ee8a2, ctx-7b35ebda]) (logid:46523a5c) Failed to move VM [4944]. com.cloud.exception.InvalidParameterValueException: Snapshots exist for volume [ROOT-4944]. Detach volume or remove snapshots for the volume before assigning VM to another user.\n\tat com.cloud.vm.UserVmManagerImpl.validateIfVolumesHaveNoSnapshots(UserVmManagerImpl.java:7961)\n\tat com.cloud.vm.UserVmManagerImpl.moveVmToUser(UserVmManagerImpl.java:7871)\n```\n\n\u003cimg width=\"496\" height=\"45\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/2b2a4f6b-0012-439a-bb56-d85927ca970e\" /\u003e \n\n```\n2026-06-11 19:58:58,841 ERROR [o.a.c.a.c.a.v.AssignVMCmd] (qtp1404565079-58786:[ctx-b7b9a764, ctx-86b9f79a]) (logid:1096b7f6) Failed to move VM [4944]. com.cloud.exception.InvalidParameterValueException: Remove any Port Forwarding rules for VM [VM instance {\"id\":4944,\"instanceName\":\"i-73-4944-VM\",\"state\":\"Stopped\",\"type\":\"User\",\"uuid\":\"*\"}] before assigning it to another user.\n\tat com.cloud.vm.UserVmManagerImpl.validateIfVmHasNoRules(UserVmManagerImpl.java:7934)\n\tat com.cloud.vm.UserVmManagerImpl.moveVmToUser(UserVmManagerImpl.java:7868)\n```\n\n### versions\n\nACS 4.22.0.1\n\n### The steps to reproduce the bug\n\n1.\n2.\n3.\n...\n\n\n### What to do about it?\n\n_No response_","author":{"url":"https://github.com/daviftorres","@type":"Person","name":"daviftorres"},"datePublished":"2026-06-11T21:15:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/13406/cloudstack/issues/13406"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2ea655d5-e9fa-98e5-56dc-a70677d321ac |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 90C4:3D21AE:E6A318:138B9A9:6A4D5D32 |
| html-safe-nonce | ca20dc1d99a7cf814eb4fdb5eb8ab4ce69734c91c6e0612efa16af89ed6abd68 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MEM0OjNEMjFBRTpFNkEzMTg6MTM4QjlBOTo2QTRENUQzMiIsInZpc2l0b3JfaWQiOiI5MTc2NTUxMDM2Nzc2NDM5MDkwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2cb132f60018a47b1013e45014241ceb0470f56554f3b73a703b89c7cbccc451 |
| hovercard-subject-tag | issue:4644268015 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/apache/cloudstack/13406/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c43dc38dca96a250a791acea981f853b53a62e8e6294d8afa6c2a6e439d5945c/apache/cloudstack/issues/13406 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c43dc38dca96a250a791acea981f853b53a62e8e6294d8afa6c2a6e439d5945c/apache/cloudstack/issues/13406 |
| og:image:alt | problem Up on stopping an Instance and trying to move it to another account... ...it does not make clear what caused the failure. Even as a Root Admin, there is no explanation of what prevented the... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | daviftorres |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2a1443ff9733a3016431263ea73c93d8fe00c195eb4a7670ac30e7848f045441 |
| turbo-cache-control | no-preview |
| go-import | github.com/apache/cloudstack git https://github.com/apache/cloudstack.git |
| octolytics-dimension-user_id | 47359 |
| octolytics-dimension-user_login | apache |
| octolytics-dimension-repository_id | 9759448 |
| octolytics-dimension-repository_nwo | apache/cloudstack |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 9759448 |
| octolytics-dimension-repository_network_root_nwo | apache/cloudstack |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f3bdd3157ea1f0fd738d408eceeead721acf1dc3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width