You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by "wangyuyang1985@163.com" <wa...@163.com> on 2015/03/24 08:00:29 UTC

CloudStack manger HyperV

HI, ALL

        I create vm in hyper-v(win2012 r2),but throw exception: *.vhdx miss.
        I found, while create vm,create *.vhd disk. but start vm founding *.vhdx disk.

       I hope to get some Suggestions for this error.
      Thank your very much!!!
       

ERROR LOG:

2015-03-24 14:12:00,890 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-337:ctx-4b7ac6bf) POST response is [{"com.cloud.agent.api.StartAnswer":{"result":false,"details":"com.cloud.agent.api.StartCommand fail on exceptioni-2-150-VM: non-existent volume, missing \\192.168.212.175\primary\b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhdx for drive { 
"data": { 
"org.apache.cloudstack.storage.to.VolumeObjectTO": { 
"uuid": "b0b6d56d-41ef-43a6-8ab2-2091854f6b1c", 
"volumeType": "ROOT", 
"dataStore": { 
"org.apache.cloudstack.storage.to.PrimaryDataStoreTO": { 
"uuid": "111102e4-3af1-3a31-8535-e557eff849da", 
"id": 14, 
"poolType": "SMB", 
"host": "192.168.212.175", 
"path": "/primary?user=administrator&domain=wh.com", 
"port": 445, 
"url": "SMB://192.168.212.175/primary?user=administrator&domain=wh.com/?ROLE=Primary&STOREUUID=111102e4-3af1-3a31-8535-e557eff849da" 
} 
}, 
"name": "ROOT-150", 
"size": 5368709120, 
"path": "\\\\192.168.212.175\\primary\\b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhd", 
"volumeId": 151, 
"vmName": "i-2-150-VM", 
"accountId": 2, 
"format": "VHDX", 
"id": 151, 
"deviceId": 0, 
"hypervisorType": "Hyperv" 
} 
}, 
"diskSeq": 0, 
"path": "\\\\192.168.212.175\\primary\\b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhd", 
"type": "ROOT", 
"_details": { 
"managed": "false", 
"storagePort": "445", 
"storageHost": "192.168.212.175", 
"volumeSize": "5368709120" 
} 
}","vm":{"id":150,"name":"i-2-150-VM","type":"User","cpus":1,"minSpeed":1000,"maxSpeed":1000,"minRam":1073741824,"maxRam":1073741824,"arch":"x86_64","os":"Red Hat Enterprise Linux 6.4 (64-bit)","bootArgs":"","rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"enableDynamicallyScaleVm":false,"vncPassword":"62a3a3c5e38d0c7a","params":{},"uuid":"da6990fe-f5b6-4f70-bae6-d80497468ee1","disks":[{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"b0b6d56d-41ef-43a6-8ab2-2091854f6b1c","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"111102e4-3af1-3a31-8535-e557eff849da","id":14,"poolType":"SMB","host":"192.168.212.175","path":"/primary?user=administrator&domain=wh.com","port":445,"url":"SMB://192.168.212.175/primary?user=administrator&domain=wh.com/?ROLE=Primary&STOREUUID=111102e4-3af1-3a31-8535-e557eff849da"}},"name":"ROOT-150","size":5368709120,"path":"\\192.168.212.175\primary\b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhd","volumeId":151,"vmName":"i-2-150-VM","accountId":2,"format":"VHDX","id":151,"deviceId":0,"hypervisorType":"Hyperv"}},"diskSeq":0,"path":"\\192.168.212.175\primary\b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhd","type":"ROOT","_details":{"managed":"false","storagePort":"445","storageHost":"192.168.212.175","volumeSize":"5368709120"}},{"data":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/2/202/202-2-186eb69f-4535-3ed0-8dd7-96805249aff0.iso","origUrl":"http://192.168.217.248/rhel-server-6.4-x86_64-dvd.iso","uuid":"a642a1d2-3ae6-4d9d-8321-45bc6a017903","id":202,"format":"ISO","accountId":2,"checksum":"467b53791903f9a0c477cbb1b24ffd1f","hvm":true,"displayText":"rhel6.4","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"cifs://192.168.212.175/secondary?user=administrator&domain=wh.com","_role":"Image"}},"name":"202-2-186eb69f-4535-3ed0-8dd7-96805249aff0","guestOsType":"Red Hat Enterprise Linux 6.4 (64-bit)","hypervisorType":"None"}},"diskSeq":3,"type":"ISO"}],"nics":[{"deviceId":0,"networkRateMbps":200,"defaultNic":true,"uuid":"1595c094-2d59-4167-93cd-86fcb79d90ae","ip":"192.168.216.10","netmask":"255.255.255.0","gateway":"192.168.216.254","mac":"06:6c:60:00:00:74","dns1":"8.8.8.8","dns2":"","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://216","isolationUri":"vlan://216","isSecurityGroupEnabled":false}]},"contextMap":{}}}]



wangyuyang1985@163.com

Re: Re: CloudStack manger HyperV

Posted by "wangyuyang1985@163.com" <wa...@163.com>.
thanks,i update the hyperv agent is ok.my cloudstack is 4.4.2 ,so i download the new agent 4.4.2。



wangyuyang1985@163.com
 
From: Anshul Gangwar
Date: 2015-03-24 15:25
To: dev@cloudstack.apache.org
Subject: Re: CloudStack manger HyperV
Which Cloudstack version you are using and from where you have downloaded the Hyper-V Agent?
 
Regards,
Anshul
 
 
 
 
On 24-Mar-2015, at 12:30 pm, wangyuyang1985@163.com<ma...@163.com> wrote:
 
HI, ALL
 
       I create vm in hyper-v(win2012 r2),but throw exception: *.vhdx miss.
       I found, while create vm,create *.vhd disk. but start vm founding *.vhdx disk.
 
      I hope to get some Suggestions for this error.
     Thank your very much!!!
 
 
ERROR LOG:
 
2015-03-24 14:12:00,890 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-337:ctx-4b7ac6bf) POST response is [{"com.cloud.agent.api.StartAnswer":{"result":false,"details":"com.cloud.agent.api.StartCommand fail on exceptioni-2-150-VM: non-existent volume, missing \\192.168.212.175\primary\b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhdx<smb://192.168.212.175/primary/b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhdx> for drive {
"data": {
"org.apache.cloudstack.storage.to.VolumeObjectTO": {
"uuid": "b0b6d56d-41ef-43a6-8ab2-2091854f6b1c",
"volumeType": "ROOT",
"dataStore": {
"org.apache.cloudstack.storage.to.PrimaryDataStoreTO": {
"uuid": "111102e4-3af1-3a31-8535-e557eff849da",
"id": 14,
"poolType": "SMB",
"host": "192.168.212.175",
"path": "/primary?user=administrator&domain=wh.com<http://wh.com>",
"port": 445,
"url": "SMB://192.168.212.175/primary?user=administrator&domain=wh.com/?ROLE=Primary&STOREUUID=111102e4-3af1-3a31-8535-e557eff849da"
}
},
"name": "ROOT-150",
"size": 5368709120,
"path": "\\\\192.168.212.175\\primary\\b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhd",
"volumeId": 151,
"vmName": "i-2-150-VM",
"accountId": 2,
"format": "VHDX",
"id": 151,
"deviceId": 0,
"hypervisorType": "Hyperv"
}
},
"diskSeq": 0,
"path": "\\\\192.168.212.175\\primary\\b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhd",
"type": "ROOT",
"_details": {
"managed": "false",
"storagePort": "445",
"storageHost": "192.168.212.175",
"volumeSize": "5368709120"
}
}","vm":{"id":150,"name":"i-2-150-VM","type":"User","cpus":1,"minSpeed":1000,"maxSpeed":1000,"minRam":1073741824,"maxRam":1073741824,"arch":"x86_64","os":"Red Hat Enterprise Linux 6.4 (64-bit)","bootArgs":"","rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"enableDynamicallyScaleVm":false,"vncPassword":"62a3a3c5e38d0c7a","params":{},"uuid":"da6990fe-f5b6-4f70-bae6-d80497468ee1","disks":[{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"b0b6d56d-41ef-43a6-8ab2-2091854f6b1c","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"111102e4-3af1-3a31-8535-e557eff849da","id":14,"poolType":"SMB","host":"192.168.212.175","path":"/primary?user=administrator&domain=wh.com<http://wh.com>","port":445,"url":"SMB://192.168.212.175/primary?user=administrator&domain=wh.com/?ROLE=Primary&STOREUUID=111102e4-3af1-3a31-8535-e557eff849da"}},"name":"ROOT-150","size":5368709120,"path":"\\192.168.212.175\primary\b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhd<smb://192.168.212.175/primary/b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhd>","volumeId":151,"vmName":"i-2-150-VM","accountId":2,"format":"VHDX","id":151,"deviceId":0,"hypervisorType":"Hyperv"}},"diskSeq":0,"path":"\\192.168.212.175\primary\b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhd<smb://192.168.212.175/primary/b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhd>","type":"ROOT","_details":{"managed":"false","storagePort":"445","storageHost":"192.168.212.175","volumeSize":"5368709120"}},{"data":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/2/202/202-2-186eb69f-4535-3ed0-8dd7-96805249aff0.iso","origUrl":"http://secure-web.cisco.com/1lvHyTMd1BD7fU8mhQcJxYVZfV577-WUFNR3YuwYEjwv1YEq_3q6OzbpEdpTkYUzTcSCIa_E2dxu2l36ib4c4BrrJcpmmcahQ6MsAsy8R2couk0rekrJM7xD7cp-Ca22wTzq669xi7Vfn8ZtW-9LENqR4LsBaiQvPdi7cmv15-oE/http%3A%2F%2F192.168.217.248%2Frhel-server-6.4-x86_64-dvd.iso","uuid":"a642a1d2-3ae6-4d9d-8321-45bc6a017903","id":202,"format":"ISO","accountId":2,"checksum":"467b53791903f9a0c477cbb1b24ffd1f","hvm":true,"displayText":"rhel6.4","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"cifs://192.168.212.175/secondary?user=administrator&domain=wh.com","_role":"Image"}},"name":"202-2-186eb69f-4535-3ed0-8dd7-96805249aff0","guestOsType":"Red Hat Enterprise Linux 6.4 (64-bit)","hypervisorType":"None"}},"diskSeq":3,"type":"ISO"}],"nics":[{"deviceId":0,"networkRateMbps":200,"defaultNic":true,"uuid":"1595c094-2d59-4167-93cd-86fcb79d90ae","ip":"192.168.216.10","netmask":"255.255.255.0","gateway":"192.168.216.254","mac":"06:6c:60:00:00:74","dns1":"8.8.8.8","dns2":"","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://216","isolationUri":"vlan://216","isSecurityGroupEnabled":false}]},"contextMap":{}}}]
 
 
 
wangyuyang1985@163.com<ma...@163.com>
 

Re: CloudStack manger HyperV

Posted by Anshul Gangwar <an...@citrix.com>.
Which Cloudstack version you are using and from where you have downloaded the Hyper-V Agent?

Regards,
Anshul




On 24-Mar-2015, at 12:30 pm, wangyuyang1985@163.com<ma...@163.com> wrote:

HI, ALL

       I create vm in hyper-v(win2012 r2),but throw exception: *.vhdx miss.
       I found, while create vm,create *.vhd disk. but start vm founding *.vhdx disk.

      I hope to get some Suggestions for this error.
     Thank your very much!!!


ERROR LOG:

2015-03-24 14:12:00,890 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-337:ctx-4b7ac6bf) POST response is [{"com.cloud.agent.api.StartAnswer":{"result":false,"details":"com.cloud.agent.api.StartCommand fail on exceptioni-2-150-VM: non-existent volume, missing \\192.168.212.175\primary\b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhdx<smb://192.168.212.175/primary/b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhdx> for drive {
"data": {
"org.apache.cloudstack.storage.to.VolumeObjectTO": {
"uuid": "b0b6d56d-41ef-43a6-8ab2-2091854f6b1c",
"volumeType": "ROOT",
"dataStore": {
"org.apache.cloudstack.storage.to.PrimaryDataStoreTO": {
"uuid": "111102e4-3af1-3a31-8535-e557eff849da",
"id": 14,
"poolType": "SMB",
"host": "192.168.212.175",
"path": "/primary?user=administrator&domain=wh.com<http://wh.com>",
"port": 445,
"url": "SMB://192.168.212.175/primary?user=administrator&domain=wh.com/?ROLE=Primary&STOREUUID=111102e4-3af1-3a31-8535-e557eff849da"
}
},
"name": "ROOT-150",
"size": 5368709120,
"path": "\\\\192.168.212.175\\primary\\b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhd",
"volumeId": 151,
"vmName": "i-2-150-VM",
"accountId": 2,
"format": "VHDX",
"id": 151,
"deviceId": 0,
"hypervisorType": "Hyperv"
}
},
"diskSeq": 0,
"path": "\\\\192.168.212.175\\primary\\b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhd",
"type": "ROOT",
"_details": {
"managed": "false",
"storagePort": "445",
"storageHost": "192.168.212.175",
"volumeSize": "5368709120"
}
}","vm":{"id":150,"name":"i-2-150-VM","type":"User","cpus":1,"minSpeed":1000,"maxSpeed":1000,"minRam":1073741824,"maxRam":1073741824,"arch":"x86_64","os":"Red Hat Enterprise Linux 6.4 (64-bit)","bootArgs":"","rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"enableDynamicallyScaleVm":false,"vncPassword":"62a3a3c5e38d0c7a","params":{},"uuid":"da6990fe-f5b6-4f70-bae6-d80497468ee1","disks":[{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"b0b6d56d-41ef-43a6-8ab2-2091854f6b1c","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"111102e4-3af1-3a31-8535-e557eff849da","id":14,"poolType":"SMB","host":"192.168.212.175","path":"/primary?user=administrator&domain=wh.com<http://wh.com>","port":445,"url":"SMB://192.168.212.175/primary?user=administrator&domain=wh.com/?ROLE=Primary&STOREUUID=111102e4-3af1-3a31-8535-e557eff849da"}},"name":"ROOT-150","size":5368709120,"path":"\\192.168.212.175\primary\b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhd<smb://192.168.212.175/primary/b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhd>","volumeId":151,"vmName":"i-2-150-VM","accountId":2,"format":"VHDX","id":151,"deviceId":0,"hypervisorType":"Hyperv"}},"diskSeq":0,"path":"\\192.168.212.175\primary\b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhd<smb://192.168.212.175/primary/b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhd>","type":"ROOT","_details":{"managed":"false","storagePort":"445","storageHost":"192.168.212.175","volumeSize":"5368709120"}},{"data":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/2/202/202-2-186eb69f-4535-3ed0-8dd7-96805249aff0.iso","origUrl":"http://secure-web.cisco.com/1lvHyTMd1BD7fU8mhQcJxYVZfV577-WUFNR3YuwYEjwv1YEq_3q6OzbpEdpTkYUzTcSCIa_E2dxu2l36ib4c4BrrJcpmmcahQ6MsAsy8R2couk0rekrJM7xD7cp-Ca22wTzq669xi7Vfn8ZtW-9LENqR4LsBaiQvPdi7cmv15-oE/http%3A%2F%2F192.168.217.248%2Frhel-server-6.4-x86_64-dvd.iso","uuid":"a642a1d2-3ae6-4d9d-8321-45bc6a017903","id":202,"format":"ISO","accountId":2,"checksum":"467b53791903f9a0c477cbb1b24ffd1f","hvm":true,"displayText":"rhel6.4","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"cifs://192.168.212.175/secondary?user=administrator&domain=wh.com","_role":"Image"}},"name":"202-2-186eb69f-4535-3ed0-8dd7-96805249aff0","guestOsType":"Red Hat Enterprise Linux 6.4 (64-bit)","hypervisorType":"None"}},"diskSeq":3,"type":"ISO"}],"nics":[{"deviceId":0,"networkRateMbps":200,"defaultNic":true,"uuid":"1595c094-2d59-4167-93cd-86fcb79d90ae","ip":"192.168.216.10","netmask":"255.255.255.0","gateway":"192.168.216.254","mac":"06:6c:60:00:00:74","dns1":"8.8.8.8","dns2":"","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://216","isolationUri":"vlan://216","isSecurityGroupEnabled":false}]},"contextMap":{}}}]



wangyuyang1985@163.com<ma...@163.com>