{"action":"created","issue":{"url":"https://api.github.com/repos/zstackorg/zstack/issues/155","labels_url":"https://api.github.com/repos/zstackorg/zstack/issues/155/labels{/name}","comments_url":"https://api.github.com/repos/zstackorg/zstack/issues/155/comments","events_url":"https://api.github.com/repos/zstackorg/zstack/issues/155/events","html_url":"https://github.com/zstackorg/zstack/issues/155","id":118309933,"number":155,"title":"Unable to attach data volume to a vm, because cannot find pid for vm","user":{"login":"cenxinxing","id":15921585,"avatar_url":"https://avatars.githubusercontent.com/u/15921585?v=3","gravatar_id":"","url":"https://api.github.com/users/cenxinxing","html_url":"https://github.com/cenxinxing","followers_url":"https://api.github.com/users/cenxinxing/followers","following_url":"https://api.github.com/users/cenxinxing/following{/other_user}","gists_url":"https://api.github.com/users/cenxinxing/gists{/gist_id}","starred_url":"https://api.github.com/users/cenxinxing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cenxinxing/subscriptions","organizations_url":"https://api.github.com/users/cenxinxing/orgs","repos_url":"https://api.github.com/users/cenxinxing/repos","events_url":"https://api.github.com/users/cenxinxing/events{/privacy}","received_events_url":"https://api.github.com/users/cenxinxing/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-23T02:41:28Z","updated_at":"2015-11-23T06:28:12Z","closed_at":null,"body":"How to fill it ? the VM is OK\r\n\r\nREQUEST\r\n{\r\n  \"org.zstack.header.volume.APIAttachDataVolumeToVmMsg\": {\r\n    \"vmInstanceUuid\": \"0092892265ba4b038855be306ad42ca2\",\r\n    \"volumeUuid\": \"011b2437afe847419dd588bb0a5548b6\",\r\n    \"session\": {\r\n      \"uuid\": \"423ff57fead84fea8c66d6679c3d2c92\"\r\n    }\r\n  }\r\n}\r\n\r\nRESPONSE\r\n{\r\n  \"org.zstack.header.volume.APIAttachDataVolumeToVmEvent\": {\r\n    \"success\": false,\r\n    \"apiId\": \"0e55e3f0b6064ff68c6cd0f06b8c03bd\",\r\n    \"headers\": {\r\n      \"schema\": {}\r\n    },\r\n    \"error\": {\r\n      \"code\": \"VM.1005\",\r\n      \"cause\": {\r\n        \"code\": \"SYS.1006\",\r\n        \"description\": \"An operation failed\",\r\n        \"details\": \"failed to attach data volume[uuid:011b2437afe847419dd588bb0a5548b6, installPath:/home/BACKUP-STORAGE2/dataVolumes/acct-36c27e8ff05c4780bf6d2fa65700f22e/vol-011b2437afe847419dd588bb0a5548b6/011b2437afe847419dd588bb0a5548b6.qcow2] to vm[uuid:0092892265ba4b038855be306ad42ca2, name:VM3] on kvm host[uuid:b098e30d2fa24f3b94130b7196734108, ip:103.30.54.208], because cannot find pid for vm[uuid:0092892265ba4b038855be306ad42ca2]\"\r\n      },\r\n      \"description\": \"Unable to attach data volume to a vm\",\r\n      \"details\": \"failed to attach data volume[uuid:011b2437afe847419dd588bb0a5548b6, installPath:/home/BACKUP-STORAGE2/dataVolumes/acct-36c27e8ff05c4780bf6d2fa65700f22e/vol-011b2437afe847419dd588bb0a5548b6/011b2437afe847419dd588bb0a5548b6.qcow2] to vm[uuid:0092892265ba4b038855be306ad42ca2, name:VM3] on kvm host[uuid:b098e30d2fa24f3b94130b7196734108, ip:103.30.54.208], because cannot find pid for vm[uuid:0092892265ba4b038855be306ad42ca2]\"\r\n    },\r\n    \"id\": \"49acbb33aa4c49b2a6650be8afd93905\",\r\n    \"creatingTime\": 1448245333592\r\n  }\r\n}"},"comment":{"url":"https://api.github.com/repos/zstackorg/zstack/issues/comments/158861375","html_url":"https://github.com/zstackorg/zstack/issues/155#issuecomment-158861375","issue_url":"https://api.github.com/repos/zstackorg/zstack/issues/155","id":158861375,"user":{"login":"cenxinxing","id":15921585,"avatar_url":"https://avatars.githubusercontent.com/u/15921585?v=3","gravatar_id":"","url":"https://api.github.com/users/cenxinxing","html_url":"https://github.com/cenxinxing","followers_url":"https://api.github.com/users/cenxinxing/followers","following_url":"https://api.github.com/users/cenxinxing/following{/other_user}","gists_url":"https://api.github.com/users/cenxinxing/gists{/gist_id}","starred_url":"https://api.github.com/users/cenxinxing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cenxinxing/subscriptions","organizations_url":"https://api.github.com/users/cenxinxing/orgs","repos_url":"https://api.github.com/users/cenxinxing/repos","events_url":"https://api.github.com/users/cenxinxing/events{/privacy}","received_events_url":"https://api.github.com/users/cenxinxing/received_events","type":"User","site_admin":false},"created_at":"2015-11-23T06:28:12Z","updated_at":"2015-11-23T06:28:12Z","body":"need some logs info?"}}