You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "yadvr (via GitHub)" <gi...@apache.org> on 2026/01/15 17:28:10 UTC

[I] VM Deployment using snapshot fails for local storage zone [cloudstack]

yadvr opened a new issue, #12443:
URL: https://github.com/apache/cloudstack/issues/12443

   ### problem
   
   VM deployment in a zone using snapshot copied from another zone fails when the zone has local only storage for user VMs with & the original snapshot's volume and storage pool was expunged:
   
   ```
   Request failed. (431)The versions of ACS, hypervisors, storage, network etc..
   Deployment of virtual machine is supported only for Zone-wide storage pools
   ```
   
   ### versions
   
   ACS 4.22 with multi-arch zones, adv zone KVM based; one zone with NFS & local storage, another zone with local storage only where this problem was seen
   
   ### The steps to reproduce the bug
   
   1. Create volume snapshot of root disk of a VM and then expunge the volume and the storage pool (delete the storage pool)
   2. Create another zone and copy this snapshot to that zone; such that only local storage is enabled in the new zone and one NFS based secondary storage
   3. Now, deploy the VM using the snapshot copied to the new local-storage only zone
   
   
   ### What to do about it?
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] VM Deployment using snapshot fails for local storage zone [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #12443:
URL: https://github.com/apache/cloudstack/issues/12443#issuecomment-4508320560

   @yadvr , we merged a PR for a simpler version of your issue. Can you verify your scenario with HEAD of 4.22?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] VM Deployment using snapshot fails for local storage zone [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #12443:
URL: https://github.com/apache/cloudstack/issues/12443#issuecomment-4395133434

   > Anybody working on this?
   
   no, but leave it if it is genuine.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] VM Deployment using snapshot fails for local storage zone [cloudstack]

Posted by "ingox (via GitHub)" <gi...@apache.org>.
ingox commented on issue #12443:
URL: https://github.com/apache/cloudstack/issues/12443#issuecomment-4485182920

   @DaanHoogland Using PR 13178 the error could not be reproduced.
   
   <img width="684" height="274" alt="Image" src="https://github.com/user-attachments/assets/6b51afa8-1021-4db0-8d0f-45f4fabd8eaa" />


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] VM Deployment using snapshot fails for local storage zone [cloudstack]

Posted by "yadvr (via GitHub)" <gi...@apache.org>.
yadvr commented on issue #12443:
URL: https://github.com/apache/cloudstack/issues/12443#issuecomment-4385826159

   Anybody working on this?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] VM Deployment using snapshot fails for local storage zone [cloudstack]

Posted by "ingox (via GitHub)" <gi...@apache.org>.
ingox commented on issue #12443:
URL: https://github.com/apache/cloudstack/issues/12443#issuecomment-3768939518

   @yadvr I've seen something similar using a cluster wide storage which still exists and was not deleted. Restoring a VM from snapshot gave me: "Request failed. (431) Deployment of virtual machine is supported only for Zone-wide storage pools"
   Using zone wide storage all was fine.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] VM Deployment using snapshot fails for local storage zone [cloudstack]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #12443:
URL: https://github.com/apache/cloudstack/issues/12443#issuecomment-4055550573

   ### 🏷️ Issue Triaged
   
   Hi `@yadvr`! I've categorized this issue as **bug** based on the following analysis:
   
   **Reasoning**: This describes an unexpected failure when deploying VMs from snapshots in local storage zones - the system incorrectly requires zone-wide storage pools even when the original pool was expunged.
   
   <details>
   <summary><b>View Triage Details</b></summary>
   
   #### Analysis
   - **Keywords detected**: "fails", "error message", "deployment fails", "snapshot copied"
   - **Issue type indicators**: Clear error condition (431), reproducible steps provided, unexpected behavior in production environment
   - **Confidence**: High
   
   #### Recommended Next Steps
   - Investigate the storage pool validation logic in VM deployment code
   - Review how snapshot metadata is preserved when original pool is expunged
   - Consider if this is related to zone-wide vs local storage pool type checking
   
   </details>
   
   **References**: [Triage run §23055193732](https://github.com/apache/cloudstack/actions/runs/23055193732)
   
   > Generated by [Issue Triage Agent](https://github.com/apache/cloudstack/actions/runs/23055193732)
   >
   > To install this workflow, run `gh aw add github/gh-aw/.github/workflows/issue-triage-agent.md@94662b1dee8ce96c876ba9f33b3ab8be32de82a4`. View source at [https://github.com/github/gh-aw/tree/94662b1dee8ce96c876ba9f33b3ab8be32de82a4/.github/workflows/issue-triage-agent.md](https://github.com/github/gh-aw/tree/94662b1dee8ce96c876ba9f33b3ab8be32de82a4/.github/workflows/issue-triage-agent.md).
   
   <!-- gh-aw-agentic-workflow: Issue Triage Agent, run: https://github.com/apache/cloudstack/actions/runs/23055193732 -->


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] VM Deployment using snapshot fails for local storage zone [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #12443:
URL: https://github.com/apache/cloudstack/issues/12443#issuecomment-4517119496

   come to think of it @yadvr , I’ll be closing this one. Please reopen or create a new issue if you feel more work needs to be done.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] VM Deployment using snapshot fails for local storage zone [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland closed issue #12443: VM Deployment using snapshot fails for local storage zone
URL: https://github.com/apache/cloudstack/issues/12443


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] VM Deployment using snapshot fails for local storage zone [cloudstack]

Posted by "ingox (via GitHub)" <gi...@apache.org>.
ingox commented on issue #12443:
URL: https://github.com/apache/cloudstack/issues/12443#issuecomment-4475958181

   @DaanHoogland : I'm using a cluster wide storage:
   
   ```
   cmk create snapshot volumeid=bc885115-baa3-410e-858f-92f9852cd6bc name=debian-volume-snap-1
   
   deploy virtualmachine name=restore-debian-from-snap snapshotid=6346af6a-0ba4-4c83-97f3-a4ea5d989976 zoneid=86b09d4a-a0b1-4baf-8300-2598d23da87f serviceofferingid=ba948a27-368d-4f07-9012-77724f55b345
   ```
   Error: (HTTP 431, error code 4350) Deployment of virtual machine is supported only for Zone-wide storage pools


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] VM Deployment using snapshot fails for local storage zone [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #12443:
URL: https://github.com/apache/cloudstack/issues/12443#issuecomment-4477408157

   > [@DaanHoogland](https://github.com/DaanHoogland) : I'm using a cluster wide storage:
   > 
   > ```
   > cmk create snapshot volumeid=bc885115-baa3-410e-858f-92f9852cd6bc name=debian-volume-snap-1
   > 
   > deploy virtualmachine name=restore-debian-from-snap snapshotid=6346af6a-0ba4-4c83-97f3-a4ea5d989976 zoneid=86b09d4a-a0b1-4baf-8300-2598d23da87f serviceofferingid=ba948a27-368d-4f07-9012-77724f55b345
   > ```
   > 
   > Error: (HTTP 431, error code 4350) Deployment of virtual machine is supported only for Zone-wide storage pools
   
   @ingox , you see any chance to try with #13178 ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] VM Deployment using snapshot fails for local storage zone [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #12443:
URL: https://github.com/apache/cloudstack/issues/12443#issuecomment-4475219416

   @yadvr @ingox I investigated a bit and am wondering about some of the parameters used to the deploy command. Did you specify a diskOfferingId, for instance. Can you give me the exact API call?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org