{"action":"created","issue":{"url":"https://api.github.com/repos/zstackorg/zstack/issues/64","labels_url":"https://api.github.com/repos/zstackorg/zstack/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/zstackorg/zstack/issues/64/comments","events_url":"https://api.github.com/repos/zstackorg/zstack/issues/64/events","html_url":"https://github.com/zstackorg/zstack/issues/64","id":94026719,"number":64,"title":"Create Data Volume From Volume Snapshot failed when origianl voluem is deleted in Local Primary Storage","user":{"login":"youyk","id":2962014,"avatar_url":"https://avatars.githubusercontent.com/u/2962014?v=3","gravatar_id":"","url":"https://api.github.com/users/youyk","html_url":"https://github.com/youyk","followers_url":"https://api.github.com/users/youyk/followers","following_url":"https://api.github.com/users/youyk/following{/other_user}","gists_url":"https://api.github.com/users/youyk/gists{/gist_id}","starred_url":"https://api.github.com/users/youyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youyk/subscriptions","organizations_url":"https://api.github.com/users/youyk/orgs","repos_url":"https://api.github.com/users/youyk/repos","events_url":"https://api.github.com/users/youyk/events{/privacy}","received_events_url":"https://api.github.com/users/youyk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zstackorg/zstack/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/zstackorg/zstack/milestones/2","html_url":"https://github.com/zstackorg/zstack/milestones/0.8","labels_url":"https://api.github.com/repos/zstackorg/zstack/milestones/2/labels","id":1125810,"number":2,"title":"0.8","description":null,"creator":{"login":"zxwing","id":1362214,"avatar_url":"https://avatars.githubusercontent.com/u/1362214?v=3","gravatar_id":"","url":"https://api.github.com/users/zxwing","html_url":"https://github.com/zxwing","followers_url":"https://api.github.com/users/zxwing/followers","following_url":"https://api.github.com/users/zxwing/following{/other_user}","gists_url":"https://api.github.com/users/zxwing/gists{/gist_id}","starred_url":"https://api.github.com/users/zxwing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zxwing/subscriptions","organizations_url":"https://api.github.com/users/zxwing/orgs","repos_url":"https://api.github.com/users/zxwing/repos","events_url":"https://api.github.com/users/zxwing/events{/privacy}","received_events_url":"https://api.github.com/users/zxwing/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":7,"state":"open","created_at":"2015-05-22T15:09:38Z","updated_at":"2015-07-18T00:24:02Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-07-09T11:51:36Z","updated_at":"2015-07-18T00:24:02Z","closed_at":"2015-07-18T00:24:02Z","body":"The error log is like:\r\n\r\nApiError: API call[org.zstack.header.volume.APICreateDataVolumeFromVolumeSnapshotEvent] failed because [code: SYS.1006, description: An operation failed, details: all candidate primary storage can not handle hypervisor volume snapshot[hypervisorType:KVM, uuid:2d17ae96f3cd4e53a62145719f00490e]]\r\n\r\nThe reproduced step:\r\n\r\n1. Create VM\r\n2. Create Volume and attach to VM\r\n3. Create Volume snapshot\r\n4. backup volume snapshot\r\n5. Delete Volume\r\n6. Try to create new Volume from previous volume snapshot. "},"comment":{"url":"https://api.github.com/repos/zstackorg/zstack/issues/comments/122460048","html_url":"https://github.com/zstackorg/zstack/issues/64#issuecomment-122460048","issue_url":"https://api.github.com/repos/zstackorg/zstack/issues/64","id":122460048,"user":{"login":"zxwing","id":1362214,"avatar_url":"https://avatars.githubusercontent.com/u/1362214?v=3","gravatar_id":"","url":"https://api.github.com/users/zxwing","html_url":"https://github.com/zxwing","followers_url":"https://api.github.com/users/zxwing/followers","following_url":"https://api.github.com/users/zxwing/following{/other_user}","gists_url":"https://api.github.com/users/zxwing/gists{/gist_id}","starred_url":"https://api.github.com/users/zxwing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zxwing/subscriptions","organizations_url":"https://api.github.com/users/zxwing/orgs","repos_url":"https://api.github.com/users/zxwing/repos","events_url":"https://api.github.com/users/zxwing/events{/privacy}","received_events_url":"https://api.github.com/users/zxwing/received_events","type":"User","site_admin":false},"created_at":"2015-07-18T00:24:02Z","updated_at":"2015-07-18T00:24:02Z","body":"creating template from backup volume snapshot is considered to remove since local storage. This scenario is too complex to support if the backup storage and primary storage are separate storage system, because the primary storage needs a 'jumping storage' to download snapshots and do the merge operation, which are complicated and even impossible for some sotrage systems(e.g. commercial block-based iscsi storage, distributed storage system). We will dump this scenario."}}