答复: hyper-v VR does not have management network
The status of VR in Infrastructure In cloudstack is starting for a long time, then Stopped. When the status is starting, we log on the VR from hyper-v host, then we find that it can not ping from management of cloudstack successfully. So we checked the networks of VR, and mailed to this list for help. Thank you very much. -邮件原件- 发件人: Rajesh Battala [mailto:rajesh.batt...@citrix.com] 发送时间: 2014年12月19日 17:18 收件人: dev@cloudstack.apache.org 主题: RE: hyper-v VR does not have management network Network configuration in DB is correct. What I mean to convey is, even linklocal network is present hyperv won't use that linklocal network . Can you please let us know what is that actual problem you are facing when deploying the VR in Hyper-V setup. So that we can help you looking at the logs and solve the issue. Thanks Rajesh Battala -Original Message- From: 穆凯辉 [mailto:k...@landhightech.com] Sent: Friday, December 19, 2014 2:44 PM To: dev@cloudstack.apache.org Subject: 答复: hyper-v VR does not have management network Do you mean our configuration about cloudstack has something wrong? This network "linkLocal" exists in our cloudstack networks table in DB, which has traffic_type "Control", broadcast_domain_type "LinkLocal", gateway "169.254. 0.0/16" How can we make the right configuration? -邮件原件- 发件人: Rajesh Battala [mailto:rajesh.batt...@citrix.com] 发送时间: 2014年12月19日 16:54 收件人: dev@cloudstack.apache.org 主题: RE: hyper-v VR does not have management network For Hyper-V "linkLocal" network is never used and configured. -Original Message- From: 穆凯辉 [mailto:k...@landhightech.com] Sent: Friday, December 19, 2014 2:14 PM To: dev@cloudstack.apache.org Subject: 答复: hyper-v VR does not have management network Sorry, SSVM with this parameter: {"deviceId":0,"networkRateMbps":-1,"defaultNic":false,"uuid":"25d5daa8-7ee0- 494c-93c9-05d2125778e6","ip":"169.254.2.132","netmask":"255.255.0.0","gatewa y":"169.254.0.1","mac":"0e:00:a9:fe:02:84","broadcastType":"LinkLocal","type ":"Control","isSecurityGroupEnabled":false} -邮件原件- 发件人: 穆凯辉 [mailto:k...@landhightech.com] 发送时间: 2014年12月19日 16:40 收件人: 'dev@cloudstack.apache.org' 主题: 答复: hyper-v VR does not have management network There is no failure in agent and mgmt. logs. We checked the cpvm,ssvm and VR vm creation parameters, and found that: Cpvm with devcieID 0 nic: {"deviceId":0,"networkRateMbps":-1,"defaultNic":false,"uuid":"25d5daa8-7ee0- 494c-93c9-05d2125778e6","ip":"169.254.3.155","netmask":"255.255.0.0","gatewa y":"169.254.0.1","mac":"0e:00:a9:fe:03:9b","broadcastType":"LinkLocal","type ":"Control","isSecurityGroupEnabled":false} Ssvm with device ID 0 nic: {"deviceId":0,"networkRateMbps":-1,"defaultNic":false,"uuid":"25d5daa8-7ee0- 494c-93c9-05d2125778e6","ip":"169.254.3.155","netmask":"255.255.0.0","gatewa y":"169.254.0.1","mac":"0e:00:a9:fe:03:9b","broadcastType":"LinkLocal","type ":"Control","isSecurityGroupEnabled":false} VR with device ID 1 nic: {"deviceId":1,"networkRateMbps":-1,"defaultNic":false,"uuid":"25d5daa8-7ee0- 494c-93c9-05d2125778e6","ip":"192.168.10.117","netmask":"255.255.255.0","gat eway":"192.168.10.254","mac":"02:00:72:a9:00:01","broadcastType":"Native","t ype":"Control","isSecurityGroupEnabled":false} The broadcastType of VR is "Native", but the broadcastType of the other two is "LinkLocal". Is this the problem? -邮件原件- 发件人: Rajesh Battala [mailto:rajesh.batt...@citrix.com] 发送时间: 2014年12月19日 12:22 收件人: dev@cloudstack.apache.org 主题: RE: hyper-v VR does not have management network It works completely different for VMWare and HyperV. Currently on which virtual switch the control nic of hyperv is present? Is there any failure while creating VR on hyper-V? Share the agent and mgmt. logs at the time of failure. Thanks Rajesh Battala -Original Message- From: 穆凯辉 [mailto:k...@landhightech.com] Sent: Friday, December 19, 2014 9:21 AM To: dev@cloudstack.apache.org Subject: 答复: hyper-v VR does not have management network Hyper-v nics without name parameter: {"deviceId":1,"networkRateMbps": -1,"defaultNic":false,"uuid":"dbc356b5-79ca-4f83-9df9-038f8929
答复: hyper-v VR does not have management network
Do you mean our configuration about cloudstack has something wrong? This network "linkLocal" exists in our cloudstack networks table in DB, which has traffic_type "Control", broadcast_domain_type "LinkLocal", gateway "169.254. 0.0/16" How can we make the right configuration? -邮件原件- 发件人: Rajesh Battala [mailto:rajesh.batt...@citrix.com] 发送时间: 2014年12月19日 16:54 收件人: dev@cloudstack.apache.org 主题: RE: hyper-v VR does not have management network For Hyper-V "linkLocal" network is never used and configured. -Original Message- From: 穆凯辉 [mailto:k...@landhightech.com] Sent: Friday, December 19, 2014 2:14 PM To: dev@cloudstack.apache.org Subject: 答复: hyper-v VR does not have management network Sorry, SSVM with this parameter: {"deviceId":0,"networkRateMbps":-1,"defaultNic":false,"uuid":"25d5daa8-7ee0- 494c-93c9-05d2125778e6","ip":"169.254.2.132","netmask":"255.255.0.0","gatewa y":"169.254.0.1","mac":"0e:00:a9:fe:02:84","broadcastType":"LinkLocal","type ":"Control","isSecurityGroupEnabled":false} -邮件原件- 发件人: 穆凯辉 [mailto:k...@landhightech.com] 发送时间: 2014年12月19日 16:40 收件人: 'dev@cloudstack.apache.org' 主题: 答复: hyper-v VR does not have management network There is no failure in agent and mgmt. logs. We checked the cpvm,ssvm and VR vm creation parameters, and found that: Cpvm with devcieID 0 nic: {"deviceId":0,"networkRateMbps":-1,"defaultNic":false,"uuid":"25d5daa8-7ee0- 494c-93c9-05d2125778e6","ip":"169.254.3.155","netmask":"255.255.0.0","gatewa y":"169.254.0.1","mac":"0e:00:a9:fe:03:9b","broadcastType":"LinkLocal","type ":"Control","isSecurityGroupEnabled":false} Ssvm with device ID 0 nic: {"deviceId":0,"networkRateMbps":-1,"defaultNic":false,"uuid":"25d5daa8-7ee0- 494c-93c9-05d2125778e6","ip":"169.254.3.155","netmask":"255.255.0.0","gatewa y":"169.254.0.1","mac":"0e:00:a9:fe:03:9b","broadcastType":"LinkLocal","type ":"Control","isSecurityGroupEnabled":false} VR with device ID 1 nic: {"deviceId":1,"networkRateMbps":-1,"defaultNic":false,"uuid":"25d5daa8-7ee0- 494c-93c9-05d2125778e6","ip":"192.168.10.117","netmask":"255.255.255.0","gat eway":"192.168.10.254","mac":"02:00:72:a9:00:01","broadcastType":"Native","t ype":"Control","isSecurityGroupEnabled":false} The broadcastType of VR is "Native", but the broadcastType of the other two is "LinkLocal". Is this the problem? -邮件原件- 发件人: Rajesh Battala [mailto:rajesh.batt...@citrix.com] 发送时间: 2014年12月19日 12:22 收件人: dev@cloudstack.apache.org 主题: RE: hyper-v VR does not have management network It works completely different for VMWare and HyperV. Currently on which virtual switch the control nic of hyperv is present? Is there any failure while creating VR on hyper-V? Share the agent and mgmt. logs at the time of failure. Thanks Rajesh Battala -Original Message- From: 穆凯辉 [mailto:k...@landhightech.com] Sent: Friday, December 19, 2014 9:21 AM To: dev@cloudstack.apache.org Subject: 答复: hyper-v VR does not have management network Hyper-v nics without name parameter: {"deviceId":1,"networkRateMbps": -1,"defaultNic":false,"uuid":"dbc356b5-79ca-4f83-9df9-038f89290c89","ip":"19 2.168.10.110","netmask":"255.255.255.0","gateway":"192.168.10.254","mac":"02 :00:40:6f:00:06","broadcastType":"Native","type":"Control","isSecurityGroupE nabled":false} VMware exsi nics with name parameter vSwitch0. {"deviceId":1,"networkRateMbps":-1,"d efaultNic":false,"uuid":"f1ea1c22-e4fa-4a25-9e75-221920982c76","ip":"192.168 .10.150","netmask":"255.255.255.0","gateway":"192.168.10.254","mac":"02:00:5 d:40:00:07","broadcastType":"Native","type":"Control","isSecurityGroupEnable d":false,"name":"vSwitch0"} We have management virtual switch in Hyper-v host for the management and storage network traffic. Thank you very much -邮件原件- 发件人: Rajesh Battala [mailto:rajesh.batt.
答复: hyper-v VR does not have management network
Sorry, SSVM with this parameter: {"deviceId":0,"networkRateMbps":-1,"defaultNic":false,"uuid":"25d5daa8-7ee0- 494c-93c9-05d2125778e6","ip":"169.254.2.132","netmask":"255.255.0.0","gatewa y":"169.254.0.1","mac":"0e:00:a9:fe:02:84","broadcastType":"LinkLocal","type ":"Control","isSecurityGroupEnabled":false} -邮件原件- 发件人: 穆凯辉 [mailto:k...@landhightech.com] 发送时间: 2014年12月19日 16:40 收件人: 'dev@cloudstack.apache.org' 主题: 答复: hyper-v VR does not have management network There is no failure in agent and mgmt. logs. We checked the cpvm,ssvm and VR vm creation parameters, and found that: Cpvm with devcieID 0 nic: {"deviceId":0,"networkRateMbps":-1,"defaultNic":false,"uuid":"25d5daa8-7ee0- 494c-93c9-05d2125778e6","ip":"169.254.3.155","netmask":"255.255.0.0","gatewa y":"169.254.0.1","mac":"0e:00:a9:fe:03:9b","broadcastType":"LinkLocal","type ":"Control","isSecurityGroupEnabled":false} Ssvm with device ID 0 nic: {"deviceId":0,"networkRateMbps":-1,"defaultNic":false,"uuid":"25d5daa8-7ee0- 494c-93c9-05d2125778e6","ip":"169.254.3.155","netmask":"255.255.0.0","gatewa y":"169.254.0.1","mac":"0e:00:a9:fe:03:9b","broadcastType":"LinkLocal","type ":"Control","isSecurityGroupEnabled":false} VR with device ID 1 nic: {"deviceId":1,"networkRateMbps":-1,"defaultNic":false,"uuid":"25d5daa8-7ee0- 494c-93c9-05d2125778e6","ip":"192.168.10.117","netmask":"255.255.255.0","gat eway":"192.168.10.254","mac":"02:00:72:a9:00:01","broadcastType":"Native","t ype":"Control","isSecurityGroupEnabled":false} The broadcastType of VR is "Native", but the broadcastType of the other two is "LinkLocal". Is this the problem? -邮件原件- 发件人: Rajesh Battala [mailto:rajesh.batt...@citrix.com] 发送时间: 2014年12月19日 12:22 收件人: dev@cloudstack.apache.org 主题: RE: hyper-v VR does not have management network It works completely different for VMWare and HyperV. Currently on which virtual switch the control nic of hyperv is present? Is there any failure while creating VR on hyper-V? Share the agent and mgmt. logs at the time of failure. Thanks Rajesh Battala -Original Message- From: 穆凯辉 [mailto:k...@landhightech.com] Sent: Friday, December 19, 2014 9:21 AM To: dev@cloudstack.apache.org Subject: 答复: hyper-v VR does not have management network Hyper-v nics without name parameter: {"deviceId":1,"networkRateMbps": -1,"defaultNic":false,"uuid":"dbc356b5-79ca-4f83-9df9-038f89290c89","ip":"19 2.168.10.110","netmask":"255.255.255.0","gateway":"192.168.10.254","mac":"02 :00:40:6f:00:06","broadcastType":"Native","type":"Control","isSecurityGroupE nabled":false} VMware exsi nics with name parameter vSwitch0. {"deviceId":1,"networkRateMbps":-1,"d efaultNic":false,"uuid":"f1ea1c22-e4fa-4a25-9e75-221920982c76","ip":"192.168 .10.150","netmask":"255.255.255.0","gateway":"192.168.10.254","mac":"02:00:5 d:40:00:07","broadcastType":"Native","type":"Control","isSecurityGroupEnable d":false,"name":"vSwitch0"} We have management virtual switch in Hyper-v host for the management and storage network traffic. Thank you very much -邮件原件- 发件人: Rajesh Battala [mailto:rajesh.batt...@citrix.com] 发送时间: 2014年12月19日 11:37 收件人: dev@cloudstack.apache.org 主题: RE: hyper-v VR does not have management network When I checked in the pasted log, In the nic json details all the nics have names . Name value is present in each nic details. All the nics have either "public" or "guest" names. Thanks Rajesh Battala -Original Message- From: 穆凯辉 [mailto:k...@landhightech.com] Sent: Friday, December 19, 2014 6:11 AM To: dev@cloudstack.apache.org Subject: 答复: hyper-v VR does not have management network We also check the cloud agent status in VR vm, the process of which also exists in VR. -邮件原件- 发件人: Rajesh Battala [mailto:rajesh.batt...@citrix.com] 发送时间: 2014年12月18日 22:17 收件人: dev@cloudstack.a
答复: hyper-v VR does not have management network
There is no failure in agent and mgmt. logs. We checked the cpvm,ssvm and VR vm creation parameters, and found that: Cpvm with devcieID 0 nic: {"deviceId":0,"networkRateMbps":-1,"defaultNic":false,"uuid":"25d5daa8-7ee0- 494c-93c9-05d2125778e6","ip":"169.254.3.155","netmask":"255.255.0.0","gatewa y":"169.254.0.1","mac":"0e:00:a9:fe:03:9b","broadcastType":"LinkLocal","type ":"Control","isSecurityGroupEnabled":false} Ssvm with device ID 0 nic: {"deviceId":0,"networkRateMbps":-1,"defaultNic":false,"uuid":"25d5daa8-7ee0- 494c-93c9-05d2125778e6","ip":"169.254.3.155","netmask":"255.255.0.0","gatewa y":"169.254.0.1","mac":"0e:00:a9:fe:03:9b","broadcastType":"LinkLocal","type ":"Control","isSecurityGroupEnabled":false} VR with device ID 1 nic: {"deviceId":1,"networkRateMbps":-1,"defaultNic":false,"uuid":"25d5daa8-7ee0- 494c-93c9-05d2125778e6","ip":"192.168.10.117","netmask":"255.255.255.0","gat eway":"192.168.10.254","mac":"02:00:72:a9:00:01","broadcastType":"Native","t ype":"Control","isSecurityGroupEnabled":false} The broadcastType of VR is "Native", but the broadcastType of the other two is "LinkLocal". Is this the problem? -邮件原件- 发件人: Rajesh Battala [mailto:rajesh.batt...@citrix.com] 发送时间: 2014年12月19日 12:22 收件人: dev@cloudstack.apache.org 主题: RE: hyper-v VR does not have management network It works completely different for VMWare and HyperV. Currently on which virtual switch the control nic of hyperv is present? Is there any failure while creating VR on hyper-V? Share the agent and mgmt. logs at the time of failure. Thanks Rajesh Battala -Original Message- From: 穆凯辉 [mailto:k...@landhightech.com] Sent: Friday, December 19, 2014 9:21 AM To: dev@cloudstack.apache.org Subject: 答复: hyper-v VR does not have management network Hyper-v nics without name parameter: {"deviceId":1,"networkRateMbps": -1,"defaultNic":false,"uuid":"dbc356b5-79ca-4f83-9df9-038f89290c89","ip":"19 2.168.10.110","netmask":"255.255.255.0","gateway":"192.168.10.254","mac":"02 :00:40:6f:00:06","broadcastType":"Native","type":"Control","isSecurityGroupE nabled":false} VMware exsi nics with name parameter vSwitch0. {"deviceId":1,"networkRateMbps":-1,"d efaultNic":false,"uuid":"f1ea1c22-e4fa-4a25-9e75-221920982c76","ip":"192.168 .10.150","netmask":"255.255.255.0","gateway":"192.168.10.254","mac":"02:00:5 d:40:00:07","broadcastType":"Native","type":"Control","isSecurityGroupEnable d":false,"name":"vSwitch0"} We have management virtual switch in Hyper-v host for the management and storage network traffic. Thank you very much -邮件原件- 发件人: Rajesh Battala [mailto:rajesh.batt...@citrix.com] 发送时间: 2014年12月19日 11:37 收件人: dev@cloudstack.apache.org 主题: RE: hyper-v VR does not have management network When I checked in the pasted log, In the nic json details all the nics have names . Name value is present in each nic details. All the nics have either "public" or "guest" names. Thanks Rajesh Battala -Original Message- From: 穆凯辉 [mailto:k...@landhightech.com] Sent: Friday, December 19, 2014 6:11 AM To: dev@cloudstack.apache.org Subject: 答复: hyper-v VR does not have management network We also check the cloud agent status in VR vm, the process of which also exists in VR. -邮件原件- 发件人: Rajesh Battala [mailto:rajesh.batt...@citrix.com] 发送时间: 2014年12月18日 22:17 收件人: dev@cloudstack.apache.org 主题: RE: hyper-v VR does not have management network Are you using traffic lables? Hyperv will work only in dedicated zone only , you cannot replace esx host with hyperv host and make the zone to work. There are no issues with VR to run on Hyperv. It works well. If you are using traffic lables, make sure the traffic lable matches to vswitch name on the hyperv host. If there is not matching vswitch name it can fail creating the VM. Thanks Rajesh Battala -Original Message- From: 穆凯辉 [mailto:k...@landhightech.com] Sent: Thursday, December 18, 2014 3:38 PM To: dev@cloudstack.apache.org Subject: hyper-v VR does not have management network Hi, We use hy
答复: hyper-v VR does not have management network
Hyper-v nics without name parameter: {"deviceId":1,"networkRateMbps": -1,"defaultNic":false,"uuid":"dbc356b5-79ca-4f83-9df9-038f89290c89","ip":"19 2.168.10.110","netmask":"255.255.255.0","gateway":"192.168.10.254","mac":"02 :00:40:6f:00:06","broadcastType":"Native","type":"Control","isSecurityGroupE nabled":false} VMware exsi nics with name parameter vSwitch0. {"deviceId":1,"networkRateMbps":-1,"d efaultNic":false,"uuid":"f1ea1c22-e4fa-4a25-9e75-221920982c76","ip":"192.168 .10.150","netmask":"255.255.255.0","gateway":"192.168.10.254","mac":"02:00:5 d:40:00:07","broadcastType":"Native","type":"Control","isSecurityGroupEnable d":false,"name":"vSwitch0"} We have management virtual switch in Hyper-v host for the management and storage network traffic. Thank you very much -邮件原件- 发件人: Rajesh Battala [mailto:rajesh.batt...@citrix.com] 发送时间: 2014年12月19日 11:37 收件人: dev@cloudstack.apache.org 主题: RE: hyper-v VR does not have management network When I checked in the pasted log, In the nic json details all the nics have names . Name value is present in each nic details. All the nics have either "public" or "guest" names. Thanks Rajesh Battala -Original Message- From: 穆凯辉 [mailto:k...@landhightech.com] Sent: Friday, December 19, 2014 6:11 AM To: dev@cloudstack.apache.org Subject: 答复: hyper-v VR does not have management network We also check the cloud agent status in VR vm, the process of which also exists in VR. -邮件原件- 发件人: Rajesh Battala [mailto:rajesh.batt...@citrix.com] 发送时间: 2014年12月18日 22:17 收件人: dev@cloudstack.apache.org 主题: RE: hyper-v VR does not have management network Are you using traffic lables? Hyperv will work only in dedicated zone only , you cannot replace esx host with hyperv host and make the zone to work. There are no issues with VR to run on Hyperv. It works well. If you are using traffic lables, make sure the traffic lable matches to vswitch name on the hyperv host. If there is not matching vswitch name it can fail creating the VM. Thanks Rajesh Battala -Original Message- From: 穆凯辉 [mailto:k...@landhightech.com] Sent: Thursday, December 18, 2014 3:38 PM To: dev@cloudstack.apache.org Subject: hyper-v VR does not have management network Hi, We use hyper-v as the hypervisor for cloudstack 4.4.1. The ssvm and cpvm start successfully. But the VR vm can not connect to the cloudstack management. We found that the VR vm used guest virtual switch for the first and second network, and public virtual switch for the third network, and several network without virtual switch. So we checked the log in cloudstack management, and found the parameters to create the CR vm, shown as follows: 2014-12-18 16:48:21,045 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-152:ctx-17dca502) POST response is [{"com.cloud.agent.api.StartAnswer":{"result":true,"details":null,"vm":{"id" :27,"name":"r-27-VM","type":"DomainRouter","cpus":1,"minSpeed":500,"maxSpeed ":500,"minRam":134217728,"maxRam":134217728,"arch":"x86_64","os":"Debian GNU/Linux 5.0 (64-bit)","bootArgs":" template=domP name=r-27-VM eth2ip=192.168.20.154 eth2mask=255.255.255.0 gateway=192.168.20.254 eth0ip=10.1.1.1 eth0mask=255.255.255.0 domain=cs2cloud.internal cidrsize=24 dhcprange=10.1.1.1 eth1ip=192.168.10.110 eth1mask=255.255.255.0 mgmtcidr=192.168.20.0/24 localgw=192.168.10.254 type=router disable_rp_filter=true extra_pubnics=2 dns1=61.177.7.1 dns2=192.168.10.3 nic_macs=02:00:3d:47:00:02|02:00:40:6f:00:06|06:96:80:00:00:37|02:00:48:ab:0 0:1a|02:00:18:2f:00:1b|02:00:78:3c:00:1c|02:00:1b:aa:00:1d|02:00:79:37:00:1e ","rebootOnCrash":false,"enableHA":true,"limitCpuUse":false,"enableDynamical lyScaleVm":false,"vncPassword":"aa9ef9b5fb278d27","params":{},"uuid":"af08f8 42-49a9-4c24-8eb9-9e8fb89aea7c","disks":[{"data":{"org.apache.cloudstack.sto rage.to.VolumeObjectTO":{"uuid":"22b14554-2172-4502-a125-4b2a4e0228c1","volu meType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataSto reTO":{"uuid":"88e26dcb-f058-36a7-a616-1f876b837977","id":4,"poolType":"SMB" ,"host":"192.168.10.6","path":"/primary?user=cloudadmin&domain=clo
答复: hyper-v VR does not have management network
We also check the cloud agent status in VR vm, the process of which also exists in VR. -邮件原件- 发件人: Rajesh Battala [mailto:rajesh.batt...@citrix.com] 发送时间: 2014年12月18日 22:17 收件人: dev@cloudstack.apache.org 主题: RE: hyper-v VR does not have management network Are you using traffic lables? Hyperv will work only in dedicated zone only , you cannot replace esx host with hyperv host and make the zone to work. There are no issues with VR to run on Hyperv. It works well. If you are using traffic lables, make sure the traffic lable matches to vswitch name on the hyperv host. If there is not matching vswitch name it can fail creating the VM. Thanks Rajesh Battala -Original Message- From: 穆凯辉 [mailto:k...@landhightech.com] Sent: Thursday, December 18, 2014 3:38 PM To: dev@cloudstack.apache.org Subject: hyper-v VR does not have management network Hi, We use hyper-v as the hypervisor for cloudstack 4.4.1. The ssvm and cpvm start successfully. But the VR vm can not connect to the cloudstack management. We found that the VR vm used guest virtual switch for the first and second network, and public virtual switch for the third network, and several network without virtual switch. So we checked the log in cloudstack management, and found the parameters to create the CR vm, shown as follows: 2014-12-18 16:48:21,045 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-152:ctx-17dca502) POST response is [{"com.cloud.agent.api.StartAnswer":{"result":true,"details":null,"vm":{"id" :27,"name":"r-27-VM","type":"DomainRouter","cpus":1,"minSpeed":500,"maxSpeed ":500,"minRam":134217728,"maxRam":134217728,"arch":"x86_64","os":"Debian GNU/Linux 5.0 (64-bit)","bootArgs":" template=domP name=r-27-VM eth2ip=192.168.20.154 eth2mask=255.255.255.0 gateway=192.168.20.254 eth0ip=10.1.1.1 eth0mask=255.255.255.0 domain=cs2cloud.internal cidrsize=24 dhcprange=10.1.1.1 eth1ip=192.168.10.110 eth1mask=255.255.255.0 mgmtcidr=192.168.20.0/24 localgw=192.168.10.254 type=router disable_rp_filter=true extra_pubnics=2 dns1=61.177.7.1 dns2=192.168.10.3 nic_macs=02:00:3d:47:00:02|02:00:40:6f:00:06|06:96:80:00:00:37|02:00:48:ab:0 0:1a|02:00:18:2f:00:1b|02:00:78:3c:00:1c|02:00:1b:aa:00:1d|02:00:79:37:00:1e ","rebootOnCrash":false,"enableHA":true,"limitCpuUse":false,"enableDynamical lyScaleVm":false,"vncPassword":"aa9ef9b5fb278d27","params":{},"uuid":"af08f8 42-49a9-4c24-8eb9-9e8fb89aea7c","disks":[{"data":{"org.apache.cloudstack.sto rage.to.VolumeObjectTO":{"uuid":"22b14554-2172-4502-a125-4b2a4e0228c1","volu meType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataSto reTO":{"uuid":"88e26dcb-f058-36a7-a616-1f876b837977","id":4,"poolType":"SMB" ,"host":"192.168.10.6","path":"/primary?user=cloudadmin&domain=cloud","port" :445,"url":"SMB://192.168.10.6/primary?user=cloudadmin&domain=cloud/?ROLE=Pr imary&STOREUUID=88e26dcb-f058-36a7-a616-1f876b837977"}},"name":"ROOT-27","si ze":1124355072,"path":"22b14554-2172-4502-a125-4b2a4e0228c1","volumeId":28," vmName":"r-27-VM","accountId":2,"format":"VHD","id":28,"deviceId":0,"hypervi sorType":"Hyperv"}},"diskSeq":0,"path":"22b14554-2172-4502-a125-4b2a4e0228c1 ","type":"ROOT","_details":{"managed":"false","storagePort":"445","storageHo st":"192.168.10.6","volumeSize":"1124355072"}}],"nics":[{"deviceId":2,"netwo rkRateMbps":200,"defaultNic":true,"uuid":"be7dc9f2-eff8-4a7e-8229-ffb3be8f04 af","ip":"192.168.20.154","netmask":"255.255.255.0","gateway":"192.168.20.25 4","mac":"06:96:80:00:00:37","dns1":"61.177.7.1","dns2":"192.168.10.3","broa dcastType":"Vlan","type":"Public","broadcastUri":"vlan://untagged","isolatio nUri":"vlan://untagged","isSecurityGroupEnabled":false,"name":"public"},{"de viceId":0,"networkRateMbps":200,"defaultNic":false,"uuid":"b31abe5f-5f6d-414 3-9581-05f7ab68906a","ip":"10.1.1.1","netmask":"25
答复: hyper-v VR does not have management network
Besides the zone for vmware esxi, we set up another zone for hyper-v with windows smb for primary and secondary storage. We use three lables for management, public and guest networks. The cpvm and ssvm also have the correct management lable for management network traffic. We set trunk port for the guest network in physical switch, access ports for the management and public network traffic. The traffic lables also match the virtual switch names in hyper-v host. Thank you very much. khmu -邮件原件- 发件人: Rajesh Battala [mailto:rajesh.batt...@citrix.com] 发送时间: 2014年12月18日 22:17 收件人: dev@cloudstack.apache.org 主题: RE: hyper-v VR does not have management network Are you using traffic lables? Hyperv will work only in dedicated zone only , you cannot replace esx host with hyperv host and make the zone to work. There are no issues with VR to run on Hyperv. It works well. If you are using traffic lables, make sure the traffic lable matches to vswitch name on the hyperv host. If there is not matching vswitch name it can fail creating the VM. Thanks Rajesh Battala -Original Message- From: 穆凯辉 [mailto:k...@landhightech.com] Sent: Thursday, December 18, 2014 3:38 PM To: dev@cloudstack.apache.org Subject: hyper-v VR does not have management network Hi, We use hyper-v as the hypervisor for cloudstack 4.4.1. The ssvm and cpvm start successfully. But the VR vm can not connect to the cloudstack management. We found that the VR vm used guest virtual switch for the first and second network, and public virtual switch for the third network, and several network without virtual switch. So we checked the log in cloudstack management, and found the parameters to create the CR vm, shown as follows: 2014-12-18 16:48:21,045 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-152:ctx-17dca502) POST response is [{"com.cloud.agent.api.StartAnswer":{"result":true,"details":null,"vm":{"id" :27,"name":"r-27-VM","type":"DomainRouter","cpus":1,"minSpeed":500,"maxSpeed ":500,"minRam":134217728,"maxRam":134217728,"arch":"x86_64","os":"Debian GNU/Linux 5.0 (64-bit)","bootArgs":" template=domP name=r-27-VM eth2ip=192.168.20.154 eth2mask=255.255.255.0 gateway=192.168.20.254 eth0ip=10.1.1.1 eth0mask=255.255.255.0 domain=cs2cloud.internal cidrsize=24 dhcprange=10.1.1.1 eth1ip=192.168.10.110 eth1mask=255.255.255.0 mgmtcidr=192.168.20.0/24 localgw=192.168.10.254 type=router disable_rp_filter=true extra_pubnics=2 dns1=61.177.7.1 dns2=192.168.10.3 nic_macs=02:00:3d:47:00:02|02:00:40:6f:00:06|06:96:80:00:00:37|02:00:48:ab:0 0:1a|02:00:18:2f:00:1b|02:00:78:3c:00:1c|02:00:1b:aa:00:1d|02:00:79:37:00:1e ","rebootOnCrash":false,"enableHA":true,"limitCpuUse":false,"enableDynamical lyScaleVm":false,"vncPassword":"aa9ef9b5fb278d27","params":{},"uuid":"af08f8 42-49a9-4c24-8eb9-9e8fb89aea7c","disks":[{"data":{"org.apache.cloudstack.sto rage.to.VolumeObjectTO":{"uuid":"22b14554-2172-4502-a125-4b2a4e0228c1","volu meType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataSto reTO":{"uuid":"88e26dcb-f058-36a7-a616-1f876b837977","id":4,"poolType":"SMB" ,"host":"192.168.10.6","path":"/primary?user=cloudadmin&domain=cloud","port" :445,"url":"SMB://192.168.10.6/primary?user=cloudadmin&domain=cloud/?ROLE=Pr imary&STOREUUID=88e26dcb-f058-36a7-a616-1f876b837977"}},"name":"ROOT-27","si ze":1124355072,"path":"22b14554-2172-4502-a125-4b2a4e0228c1","volumeId":28," vmName":"r-27-VM","accountId":2,"format":"VHD","id":28,"deviceId":0,"hypervi sorType":"Hyperv"}},"diskSeq":0,"path":"22b14554-2172-4502-a125-4b2a4e0228c1 ","type":"ROOT","_details":{"managed":"false","storagePort":"445","storageHo st":"192.168.10.6","volumeSize":"1124355072"}}],"nics":[{"deviceId":2,"netwo rkRateMbps":200,"defaultNic":true,"uuid":"be7dc9f2-eff8-4a7e-8229-ffb3be8f04 af","ip":"192.168.20.154","netmask":"255.255.255.0","gateway":"192.168.20.25 4","mac":"06:96:80:00:00:37","dns1":"61.177.7.1","dns2":"192.168.10.3","broa dcastType":"Vlan","type":"Public&
hyper-v VR does not have management network
Hi, We use hyper-v as the hypervisor for cloudstack 4.4.1. The ssvm and cpvm start successfully. But the VR vm can not connect to the cloudstack management. We found that the VR vm used guest virtual switch for the first and second network, and public virtual switch for the third network, and several network without virtual switch. So we checked the log in cloudstack management, and found the parameters to create the CR vm, shown as follows: 2014-12-18 16:48:21,045 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-152:ctx-17dca502) POST response is [{"com.cloud.agent.api.StartAnswer":{"result":true,"details":null,"vm":{"id" :27,"name":"r-27-VM","type":"DomainRouter","cpus":1,"minSpeed":500,"maxSpeed ":500,"minRam":134217728,"maxRam":134217728,"arch":"x86_64","os":"Debian GNU/Linux 5.0 (64-bit)","bootArgs":" template=domP name=r-27-VM eth2ip=192.168.20.154 eth2mask=255.255.255.0 gateway=192.168.20.254 eth0ip=10.1.1.1 eth0mask=255.255.255.0 domain=cs2cloud.internal cidrsize=24 dhcprange=10.1.1.1 eth1ip=192.168.10.110 eth1mask=255.255.255.0 mgmtcidr=192.168.20.0/24 localgw=192.168.10.254 type=router disable_rp_filter=true extra_pubnics=2 dns1=61.177.7.1 dns2=192.168.10.3 nic_macs=02:00:3d:47:00:02|02:00:40:6f:00:06|06:96:80:00:00:37|02:00:48:ab:0 0:1a|02:00:18:2f:00:1b|02:00:78:3c:00:1c|02:00:1b:aa:00:1d|02:00:79:37:00:1e ","rebootOnCrash":false,"enableHA":true,"limitCpuUse":false,"enableDynamical lyScaleVm":false,"vncPassword":"aa9ef9b5fb278d27","params":{},"uuid":"af08f8 42-49a9-4c24-8eb9-9e8fb89aea7c","disks":[{"data":{"org.apache.cloudstack.sto rage.to.VolumeObjectTO":{"uuid":"22b14554-2172-4502-a125-4b2a4e0228c1","volu meType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataSto reTO":{"uuid":"88e26dcb-f058-36a7-a616-1f876b837977","id":4,"poolType":"SMB" ,"host":"192.168.10.6","path":"/primary?user=cloudadmin&domain=cloud","port" :445,"url":"SMB://192.168.10.6/primary?user=cloudadmin&domain=cloud/?ROLE=Pr imary&STOREUUID=88e26dcb-f058-36a7-a616-1f876b837977"}},"name":"ROOT-27","si ze":1124355072,"path":"22b14554-2172-4502-a125-4b2a4e0228c1","volumeId":28," vmName":"r-27-VM","accountId":2,"format":"VHD","id":28,"deviceId":0,"hypervi sorType":"Hyperv"}},"diskSeq":0,"path":"22b14554-2172-4502-a125-4b2a4e0228c1 ","type":"ROOT","_details":{"managed":"false","storagePort":"445","storageHo st":"192.168.10.6","volumeSize":"1124355072"}}],"nics":[{"deviceId":2,"netwo rkRateMbps":200,"defaultNic":true,"uuid":"be7dc9f2-eff8-4a7e-8229-ffb3be8f04 af","ip":"192.168.20.154","netmask":"255.255.255.0","gateway":"192.168.20.25 4","mac":"06:96:80:00:00:37","dns1":"61.177.7.1","dns2":"192.168.10.3","broa dcastType":"Vlan","type":"Public","broadcastUri":"vlan://untagged","isolatio nUri":"vlan://untagged","isSecurityGroupEnabled":false,"name":"public"},{"de viceId":0,"networkRateMbps":200,"defaultNic":false,"uuid":"b31abe5f-5f6d-414 3-9581-05f7ab68906a","ip":"10.1.1.1","netmask":"255.255.255.0","mac":"02:00: 3d:47:00:02","dns1":"61.177.7.1","dns2":"192.168.10.3","broadcastType":"Vlan ","type":"Guest","broadcastUri":"vlan://397","isolationUri":"vlan://397","is SecurityGroupEnabled":false,"name":"guest"},{"deviceId":1,"networkRateMbps": -1,"defaultNic":false,"uuid":"dbc356b5-79ca-4f83-9df9-038f89290c89","ip":"19 2.168.10.110","netmask":"255.255.255.0","gateway":"192.168.10.254","mac":"02 :00:40:6f:00:06","broadcastType":"Native","type":"Control","isSecurityGroupE nabled":false},{"deviceId":3,"networkRateMbps":-1,"defaultNic":false,"ip":"0 .0.0.0","netmask":"255.255.255.255","gateway":"192.168.20.254","mac":"02:00: 48:ab:00:1a","dns1":"61.177.7.1","dns2":"192.168.10.3","broadcastType":"Vlan ","type":"Public","broadcastUri":"vlan://untagged","isolationUri":"vlan://un tagged","isSecurityGroupEnabled":false,"name":"public"},{"deviceId":4,"netwo rkRateMbps":-1,"defaultNic":false,"ip":"0.0.0.0","netmask":"255.255.255.255" ,"gateway":"192.168.20.254","mac":"02:00:18:2f:00:1b","dns1":"61.177.7.1","d ns2":"192.168.10.3","broadcastType":"Vlan","type":"Public","broadcastUri":"v lan://untagged","isolationUri":"vlan://untagged","isSecurityGroupEnabled":fa lse,"name":"public"},{"deviceId":5,"networkRateMbps":-1,"defaultNic":false," ip":"0.0.0.0","netmask":"255.255.255.255","gateway":"192.168.20.254","mac":" 02:00:78:3c:00:1c","dns1":"61.177.7.1","dns2":"192.168.10.3","broadcastType" :"Vlan","type":"Public","broadcastUri":"vlan://untagged","isolationUri":"vla n://untagged","isSecurityGroupEnabled":false,"name":"public"},{"deviceId":6, "networkRateMbps":-1,"defaultNic":false,"ip":"0.0.0.0","netmask":"255.255.25 5.255","gateway":"192.168.20.254","mac":"02:00:1b:aa:00:1d","dns1":"61.177.7 .1","dns2":"192.168.10.3","broadcastType":"Vlan","type":"Public","broadcastU ri":"vlan://untagged","isolationUri":"vlan://untagged","isSecurityGroupEnabl ed":false,"name":"public"},{"deviceId":7,"networkRateMbps":-1,"defaultNic":f alse,"ip":"0.0.0.0","netmask":"255.255.255.255","gateway":"192.168.20.254"," mac":"02:00:79:37:00:
答复: hyperv ssvm start failed
#TYPE System.Diagnostics.EventLogEntry#application/CloudStack Hyper-V Agent/0 EventID,"MachineName","Data","Index","Category","CategoryNumber","EntryType" ,"Message","Source","ReplacementStrings","InstanceId","TimeGenerated","TimeW ritten","UserName","Site","Container" 0,"hyperv-server1.cloud.priv","System.Byte[]","22841","(0)","0","Information ","2014-11-20 16:24:35,601 [10] INFO HypervResource.HypervResourceController [897ebcfe-8897-4c02-b6c7-be7d08f5729c] - { ""com.cloud.agent.api.GetStorageStatsAnswer"": { ""result"": true, ""details"": null, ""capacity"": 149954752512, ""used"": 23543066624, ""contextMap"": {} } } ,CloudStack Hyper-V Agent","System.String[]","0","2014/11/21 8:24:35","2014/11/21 8:24:35",,, 0,"hyperv-server1.cloud.priv","System.Byte[]","22840","(0)","0","Information ","2014-11-20 16:24:35,601 [10] DEBUG HypervResource.HypervResourceController [897ebcfe-8897-4c02-b6c7-be7d08f5729c] - com.cloud.agent.api.GetStorageStatsCommand set used bytes for \\192.168.1.79\WINPrimary to 23543066624 ,CloudStack Hyper-V Agent","System.String[]","0","2014/11/21 8:24:35","2014/11/21 8:24:35",,, 0,"hyperv-server1.cloud.priv","System.Byte[]","22839","(0)","0","Information ","2014-11-20 16:24:35,601 [10] INFO HypervResource.HypervResourceController [897ebcfe-8897-4c02-b6c7-be7d08f5729c] - com.cloud.agent.api.GetStorageStatsCommand{ ""id"": ""b48e8cd6-8ec5-3c34-8a43-020c6daaaea9"", ""localPath"": ""/WINPrimary?user=cloudstackadmin&domain=cloud"", ""pooltype"": ""SMB"", ""contextMap"": {}, ""wait"": 0 } ,CloudStack Hyper-V Agent","System.String[]","0","2014/11/21 8:24:35","2014/11/21 8:24:35",,, 0,"hyperv-server1.cloud.priv","System.Byte[]","22838","(0)","0","Information ","2014-11-20 16:24:15,506 [10] INFO HypervResource.HypervResourceController [4ff92984-9601-4cf4-89d4-f44e7c8dac39] - { ""com.cloud.agent.api.GetHostStatsAnswer"": { ""result"": true, ""hostStats"": { ""hostId"": 1, ""entityType"": ""host"", ""cpuUtilization"": 1.0, ""networkReadKBs"": 546709530.0, ""networkWriteKBs"": 4708971054.0, ""totalMemoryKBs"": 134138344.0, ""freeMemoryKBs"": 127542216.0 }, ""details"": null, ""contextMap"": {} } } ,CloudStack Hyper-V Agent","System.String[]","0","2014/11/21 8:24:15","2014/11/21 8:24:15",,, 0,"hyperv-server1.cloud.priv","System.Byte[]","22837","(0)","0","Information ","2014-11-20 16:24:15,131 [10] INFO HypervResource.HypervResourceController [4ff92984-9601-4cf4-89d4-f44e7c8dac39] - com.cloud.agent.api.GetHostStatsCommand{ ""hostGuid"": ""3be2f4fe-f3c7-33c1-8127-696c45258534-HypervResource"", ""hostName"": ""192.168.1.78"", ""hostId"": 1, ""contextMap"": {}, ""wait"": 0 } ,CloudStack Hyper-V Agent","System.String[]","0","2014/11/21 8:24:15","2014/11/21 8:24:15",,, 0,"hyperv-server1.cloud.priv","System.Byte[]","22836","(0)","0","Information ","2014-11-20 16:24:13,162 [10] INFO HypervResource.HypervResourceController [b3bc116e-fb2c-4713-8589-8864dca4c0e0] - { ""com.cloud.agent.api.CheckHealthAnswer"": { ""result"": true, ""details"": ""resource is alive"", ""contextMap"": {} } } ,CloudStack Hyper-V Agent","System.String[]","0","2014/11/21 8:24:13","2014/11/21 8:24:13",,, 0,"hyperv-server1.cloud.priv","System.Byte[]","22835","(0)","0","Information ","2014-11-20 16:24:13,162 [10] INFO HypervResource.HypervResourceController [b3bc116e-fb2c-4713-8589-8864dca4c0e0] - com.cloud.agent.api.CheckHealthCommand{ ""contextMap"": {}, ""wait"": 50 } ,CloudStack Hyper-V Agent","System.String[]","0","2014/11/21 8:24:13","2014/11/21 8:24:13",,, 0,"hyperv-server1.cloud.priv","System.Byte[]","22834","(0)","0","Information ","2014-11-20 16:23:35,510 [9] INFO HypervResource.HypervResourceController [4e4832aa-e742-40f2-9e62-7a69ae213c2f] - { ""com.cloud.agent.api.GetStorageStatsAnswer"": { ""result"": true, ""details"": null, ""capacity"": 149954752512, ""used"": 23543066624, ""contextMap"": {} } } ,CloudStack Hyper-V Agent","System.String[]","0","2014/11/21 8:23:35","2014/11/21 8:23:35",,, 0,"hyperv-server1.cloud.priv","System.Byte[]","22833","(0)","0","Information ","2014-11-20 16:23:35,510 [9] DEBUG HypervResource.HypervResourceController [4e4832aa-e742-40f2-9e62-7a69ae213c2f] - com.cloud.agent.api.GetStorageStatsCommand set used bytes for \\192.168.1.79\WINPrimary to 23543066624 ,CloudStack Hyper-V Agent","System.String[]","0","2014/11/21 8:23:35","2014/11/21 8:23:35",,, 0,"hyperv-server1.cloud.priv","System.Byte[]","22832","(0)","0","Information ","2014-11-20 16:23:35,510 [9] INFO HypervResource.HypervResourceController [4e4832aa-e742-40f2-9e62-7a69ae213c2f] - com.cloud.agent.api.GetStorageStatsCommand{ ""id"": ""b48e8cd6-8ec5-3c34-8a43-020c6daaaea9"", ""localPath"": ""/WINPrimary?user=cloudstackadmin&domain=cloud"", ""pooltype"": ""SMB"", ""contextMap"": {}, ""wait"": 0 } ,CloudStack Hyper-V Agent","System.String[]","0","2014/11/21 8:23:35","2014/11/21 8:23
答复: hyperv ssvm start failed
The cloudstack log is as follows: 2014-11-20 14:53:10,758 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-3:ctx-c859f450) POST request to https://192.168.1.78:8250/api/HypervResource/org.apache.cloudstack.storage.c ommand.CopyCommand with contents {"srcTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"origUrl":"ht tp://cloudstack.apt-get.eu/systemvm/4.4/systemvm64template-4.4.0-6-hyperv.vh d.bz2","uuid":"12778b5a-7080-11e4-a46b-000c299522c6","id":9,"format":"VHD"," accountId":1,"checksum":"1c0bdb131e3b7ee753d014961fdd6eb0","hvm":false,"disp layText":"SystemVM Template (HyperV)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataSto reTO":{"uuid":"b48e8cd6-8ec5-3c34-8a43-020c6daaaea9","id":1,"poolType":"SMB" ,"host":"192.168.1.79","path":"/WINPrimary?user=cloudstackadmin&domain=cloud ","port":445,"url":"SMB://192.168.1.79/WINPrimary?user=cloudstackadmin&domai n=cloud/?ROLE=Primary&STOREUUID=b48e8cd6-8ec5-3c34-8a43-020c6daaaea9"}},"nam e":"routing-9","hypervisorType":"Hyperv"}},"destTO":{"org.apache.cloudstack. storage.to.VolumeObjectTO":{"uuid":"bab80dd6-16da-4713-979d-c69b91d7eea6","v olumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryData StoreTO":{"uuid":"b48e8cd6-8ec5-3c34-8a43-020c6daaaea9","id":1,"poolType":"S MB","host":"192.168.1.79","path":"/WINPrimary?user=cloudstackadmin&domain=cl oud","port":445,"url":"SMB://192.168.1.79/WINPrimary?user=cloudstackadmin&do main=cloud/?ROLE=Primary&STOREUUID=b48e8cd6-8ec5-3c34-8a43-020c6daaaea9"}}," name":"ROOT-2","size":0,"volumeId":2,"vmName":"v-2-VM","accountId":1,"format ":"VHDX","id":2,"deviceId":0,"hypervisorType":"Hyperv"}},"executeInSequence" :false,"options":{},"contextMap":{},"wait":0} 2014-11-20 14:53:10,772 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-3:ctx-c859f450) Sending cmd to https://192.168.1.78:8250/api/HypervResource/org.apache.cloudstack.storage.c ommand.CopyCommand cmd data:{"srcTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"origUrl ":"http://cloudstack.apt-get.eu/systemvm/4.4/systemvm64template-4.4.0-6-hype rv.vhd.bz2","uuid":"12778b5a-7080-11e4-a46b-000c299522c6","id":9,"format":"V HD","accountId":1,"checksum":"1c0bdb131e3b7ee753d014961fdd6eb0","hvm":false, "displayText":"SystemVM Template (HyperV)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataSto reTO":{"uuid":"b48e8cd6-8ec5-3c34-8a43-020c6daaaea9","id":1,"poolType":"SMB" ,"host":"192.168.1.79","path":"/WINPrimary?user=cloudstackadmin&domain=cloud ","port":445,"url":"SMB://192.168.1.79/WINPrimary?user=cloudstackadmin&domai n=cloud/?ROLE=Primary&STOREUUID=b48e8cd6-8ec5-3c34-8a43-020c6daaaea9"}},"nam e":"routing-9","hypervisorType":"Hyperv"}},"destTO":{"org.apache.cloudstack. storage.to.VolumeObjectTO":{"uuid":"bab80dd6-16da-4713-979d-c69b91d7eea6","v olumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryData StoreTO":{"uuid":"b48e8cd6-8ec5-3c34-8a43-020c6daaaea9","id":1,"poolType":"S MB","host":"192.168.1.79","path":"/WINPrimary?user=cloudstackadmin&domain=cl oud","port":445,"url":"SMB://192.168.1.79/WINPrimary?user=cloudstackadmin&do main=cloud/?ROLE=Primary&STOREUUID=b48e8cd6-8ec5-3c34-8a43-020c6daaaea9"}}," name":"ROOT-2","size":0,"volumeId":2,"vmName":"v-2-VM","accountId":1,"format ":"VHDX","id":2,"deviceId":0,"hypervisorType":"Hyperv"}},"executeInSequence" :false,"options":{},"contextMap":{},"wait":0} 2014-11-20 14:53:20,838 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-5:ctx-0427c434) POST response is [{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":true,"deta ils":null,"newData":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"dat aStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"b48e 8cd6-8ec5-3c34-8a43-020c6daaaea9","id":1,"poolType":"SMB","host":"192.168.1. 79","path":"/WINPrimary?user=cloudstackadmin&domain=cloud","port":445,"url": "SMB://192.168.1.79/WINPrimary?user=cloudstackadmin&domain=cloud/?ROLE=Prima ry&STOREUUID=b48e8cd6-8ec5-3c34-8a43-020c6daaaea9"}},"format":"VHD","name":" ROOT-1","path":"f09879e9-fe76-4c2c-b051-164867c4099a","uuid":"f09879e9-fe76- 4c2c-b051-164867c4099a","size":0,"primaryDataStore":{"host":"192.168.1.79"," uri":"cifs://192.168.1.79/WINPrimary?user=cloudstackadmin&domain=cloud","_ro le":null,"Path":"\\192.168.1.79/WINPrimary","UncPath":"\\192.168.1.79/WINPri mary","User":"cloudstackadmin",,"Domain":"cloud","isLocal":false},"nfsDataSt ore":null,"FullFileName":"\\192.168.1.79\WINPrimary\f09879e9-fe76-4c2c-b051- 164867c4099a.vhd"}},"contextMap":{}}}] 2014-11-20 14:53:20,842 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-3:ctx-c859f450) POST response is [{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":true,"deta ils":null,"newData":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"dat aStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"b48e 8cd6-8ec5-3c34-8a43-020c6daaaea9","id":1,"poolType":"SMB","host":"192.168.1. 79","path":"/WINPri
答复: hyperv ssvm start failed
Hi, We still can not run cloudstack 4.4.1 + hyperv successfully. The Hyperv ssvm still can not start successfully. We run cloudstack 4.4.1 in centos 6.5, not added into ad. A 2012 R2 Hyperv server is used to create hyperv vm with two Ethernet, one for cloudstack management, and an external switch created on the other enternet. This hyperv server have been added to AD. A windows server 2012 is created for the Primary and Secondary storage use SMB protocol, which also has been added into ad. When we start the whole zone. The ssvm can not start successfully. The log of cloudstack is attached in this mail as named "error.log" and The error log in Hyperv Server is only one as shown in "hyperv-server.png". Should the cloudstack manage server be added into AD? Your response is very important for us. Thank you very much. khmu -----邮件原件- 发件人: 穆凯辉 [mailto:k...@landhightech.com] 发送时间: 2014年11月14日 15:42 收件人: dev@cloudstack.apache.org 主题: 答复: hyperv ssvm start failed Sorry, we encountered some problem to install the windows server 2012 dc R2. So we now try to install Hyperv server 2012 r2. Can windows server 2012 dc be also used for hyperv host with cloudstack 4.4? We will inform you as soon as possible if there is some progress. -邮件原件- 发件人: Rajesh Battala [mailto:rajesh.batt...@citrix.com] 发送时间: 2014年11月14日 15:24 收件人: dev@cloudstack.apache.org 主题: RE: hyperv ssvm start failed Is it working now? -Original Message- From: 穆凯辉 [mailto:k...@landhightech.com] Sent: Thursday, November 13, 2014 11:52 AM To: dev@cloudstack.apache.org Subject: 答复: hyperv ssvm start failed Ok. We will change to windows server 2012 hyperv host with English locale set. Thank you very much. --- 穆凯辉 苏州蓝海彤翔系统科技有限公司 Suzhou Land High System Tech CO.,Ltd 地址:苏州高新区科灵路78号7号楼2层 手机:13771859356 邮编:215163 --- -邮件原件- 发件人: Anshul Gangwar [mailto:anshul.gang...@citrix.com] 发送时间: 2014年11月13日 14:00 收件人: dev@cloudstack.apache.org 主题: RE: hyperv ssvm start failed Probably you are facing issue https://issues.apache.org/jira/browse/CLOUDSTACK-7277. -Original Message- From: Anshul Gangwar [mailto:anshul.gang...@citrix.com] Sent: Thursday, November 13, 2014 10:52 AM To: dev@cloudstack.apache.org Subject: RE: hyperv ssvm start failed You got me wrong. I have not suggested to change permissions. I have suggested to change the locale to US English(instead of Chinese/Japanese) of account with which the Hyper-V Agent service is running. I suspect that your windows server account is running in different locale other than English. -Original Message- From: 穆凯辉 [mailto:k...@landhightech.com] Sent: Thursday, November 13, 2014 6:10 AM To: dev@cloudstack.apache.org Subject: 答复: hyperv ssvm start failed Thanks. We try to run Hyper-v agent by local administrator. But the agent crashed. So we change to use domain administrator to run this agent. We will try to create a new user to run this agent. Thank you very much. --- -邮件原件- 发件人: Anshul Gangwar [mailto:anshul.gang...@citrix.com] 发送时间: 2014年11月12日 19:39 收件人: dev@cloudstack.apache.org 主题: RE: hyperv ssvm start failed You have to run Hyper-V Agent service with the account which has it locale set to US English. -Original Message- From: 穆凯辉 [mailto:k...@landhightech.com] Sent: Wednesday, November 12, 2014 4:56 PM To: dev@cloudstack.apache.org Subject: hyperv ssvm start failed Hi all, We use cloudstack 4.4.0 to manage a windows server 2012 dc hyper-v host. Both of the primary and secondary storage are setup on this windows hyper-v host using SMB protocol. The Virtual Switch in Hyperv is named “VirtualNetork”. when we start the zone, the ssvm is created in hyper-v, but it can not start, and is destroy immediately. The error event in windows is as follows: 2014-11-12 18:55:03,150 [12] INFO HypervResource.HypervResourceController [55c7a1ce-0320-4976-9915-ae6fb44682ba] - { "com.cloud.agent.api.StartAnswer": { "result": false, "details": "com.cloud.agent.api.StartCommand fail on exception未将对象引 用设置到对象的实例。", "vm": { "id": 1, "name": "v-1-VM", "type": "ConsoleProxy", "cpus": 1, "minSpeed": 500, "maxSpeed": 500, "minRam": 1073741824, "maxRam": 1073741824, "arch": "x86_64", "os": "Debian GNU/Linux 5.0 (64-bit)", "bootArgs": " template=domP
答复: hyperv ssvm start failed
Sorry, we encountered some problem to install the windows server 2012 dc R2. So we now try to install Hyperv server 2012 r2. Can windows server 2012 dc be also used for hyperv host with cloudstack 4.4? We will inform you as soon as possible if there is some progress. -邮件原件- 发件人: Rajesh Battala [mailto:rajesh.batt...@citrix.com] 发送时间: 2014年11月14日 15:24 收件人: dev@cloudstack.apache.org 主题: RE: hyperv ssvm start failed Is it working now? -Original Message- From: 穆凯辉 [mailto:k...@landhightech.com] Sent: Thursday, November 13, 2014 11:52 AM To: dev@cloudstack.apache.org Subject: 答复: hyperv ssvm start failed Ok. We will change to windows server 2012 hyperv host with English locale set. Thank you very much. --- 穆凯辉 苏州蓝海彤翔系统科技有限公司 Suzhou Land High System Tech CO.,Ltd 地址:苏州高新区科灵路78号7号楼2层 手机:13771859356 邮编:215163 --- -邮件原件- 发件人: Anshul Gangwar [mailto:anshul.gang...@citrix.com] 发送时间: 2014年11月13日 14:00 收件人: dev@cloudstack.apache.org 主题: RE: hyperv ssvm start failed Probably you are facing issue https://issues.apache.org/jira/browse/CLOUDSTACK-7277. -Original Message- From: Anshul Gangwar [mailto:anshul.gang...@citrix.com] Sent: Thursday, November 13, 2014 10:52 AM To: dev@cloudstack.apache.org Subject: RE: hyperv ssvm start failed You got me wrong. I have not suggested to change permissions. I have suggested to change the locale to US English(instead of Chinese/Japanese) of account with which the Hyper-V Agent service is running. I suspect that your windows server account is running in different locale other than English. -Original Message- From: 穆凯辉 [mailto:k...@landhightech.com] Sent: Thursday, November 13, 2014 6:10 AM To: dev@cloudstack.apache.org Subject: 答复: hyperv ssvm start failed Thanks. We try to run Hyper-v agent by local administrator. But the agent crashed. So we change to use domain administrator to run this agent. We will try to create a new user to run this agent. Thank you very much. --- -邮件原件- 发件人: Anshul Gangwar [mailto:anshul.gang...@citrix.com] 发送时间: 2014年11月12日 19:39 收件人: dev@cloudstack.apache.org 主题: RE: hyperv ssvm start failed You have to run Hyper-V Agent service with the account which has it locale set to US English. -Original Message- From: 穆凯辉 [mailto:k...@landhightech.com] Sent: Wednesday, November 12, 2014 4:56 PM To: dev@cloudstack.apache.org Subject: hyperv ssvm start failed Hi all, We use cloudstack 4.4.0 to manage a windows server 2012 dc hyper-v host. Both of the primary and secondary storage are setup on this windows hyper-v host using SMB protocol. The Virtual Switch in Hyperv is named “VirtualNetork”. when we start the zone, the ssvm is created in hyper-v, but it can not start, and is destroy immediately. The error event in windows is as follows: 2014-11-12 18:55:03,150 [12] INFO HypervResource.HypervResourceController [55c7a1ce-0320-4976-9915-ae6fb44682ba] - { "com.cloud.agent.api.StartAnswer": { "result": false, "details": "com.cloud.agent.api.StartCommand fail on exception未将对象引 用设置到对象的实例。", "vm": { "id": 1, "name": "v-1-VM", "type": "ConsoleProxy", "cpus": 1, "minSpeed": 500, "maxSpeed": 500, "minRam": 1073741824, "maxRam": 1073741824, "arch": "x86_64", "os": "Debian GNU/Linux 5.0 (64-bit)", "bootArgs": " template=domP type=consoleproxy host=192.168.1.137 port=8250 name=v-1-VM zone=1 pod=1 guid=Proxy.1 proxy_vm=1 disable_rp_filter=true eth2ip=192.168.1.33 eth2mask=255.255.255.0 gateway=192.168.1.254 eth0ip=169.254.0.70 eth0mask=255.255.0.0 eth1ip=192.168.1.224 eth1mask=255.255.255.0 mgmtcidr=192.168.1.0/24 localgw=192.168.1.254 internaldns1=192.168.1.92 internaldns2=8.8.8.8 dns1=192.168.1.92 dns2=8.8.8.8", "rebootOnCrash": false, "enableHA": false, "limitCpuUse": false, "enableDynamicallyScaleVm": false, "vncPassword": "861c2ac4e36ed3c3", "params": {}, "uuid": "0c1a15f6-5cc6-4c10-8cf7-46fac26ee215", "disks": [ { "data": { "org.apache.cloudstack.storage.to.VolumeObjectTO": { "uuid": "8b299dfc-2453-4e6a-bd02-b6dcc12fb32a", "volumeType"
答复: hyperv ssvm start failed
Ok. We will change to windows server 2012 hyperv host with English locale set. Thank you very much. --- 穆凯辉 苏州蓝海彤翔系统科技有限公司 Suzhou Land High System Tech CO.,Ltd 地址:苏州高新区科灵路78号7号楼2层 手机:13771859356 邮编:215163 --- -邮件原件- 发件人: Anshul Gangwar [mailto:anshul.gang...@citrix.com] 发送时间: 2014年11月13日 14:00 收件人: dev@cloudstack.apache.org 主题: RE: hyperv ssvm start failed Probably you are facing issue https://issues.apache.org/jira/browse/CLOUDSTACK-7277. -Original Message- From: Anshul Gangwar [mailto:anshul.gang...@citrix.com] Sent: Thursday, November 13, 2014 10:52 AM To: dev@cloudstack.apache.org Subject: RE: hyperv ssvm start failed You got me wrong. I have not suggested to change permissions. I have suggested to change the locale to US English(instead of Chinese/Japanese) of account with which the Hyper-V Agent service is running. I suspect that your windows server account is running in different locale other than English. -Original Message- From: 穆凯辉 [mailto:k...@landhightech.com] Sent: Thursday, November 13, 2014 6:10 AM To: dev@cloudstack.apache.org Subject: 答复: hyperv ssvm start failed Thanks. We try to run Hyper-v agent by local administrator. But the agent crashed. So we change to use domain administrator to run this agent. We will try to create a new user to run this agent. Thank you very much. --- -邮件原件- 发件人: Anshul Gangwar [mailto:anshul.gang...@citrix.com] 发送时间: 2014年11月12日 19:39 收件人: dev@cloudstack.apache.org 主题: RE: hyperv ssvm start failed You have to run Hyper-V Agent service with the account which has it locale set to US English. -Original Message- From: 穆凯辉 [mailto:k...@landhightech.com] Sent: Wednesday, November 12, 2014 4:56 PM To: dev@cloudstack.apache.org Subject: hyperv ssvm start failed Hi all, We use cloudstack 4.4.0 to manage a windows server 2012 dc hyper-v host. Both of the primary and secondary storage are setup on this windows hyper-v host using SMB protocol. The Virtual Switch in Hyperv is named “VirtualNetork”. when we start the zone, the ssvm is created in hyper-v, but it can not start, and is destroy immediately. The error event in windows is as follows: 2014-11-12 18:55:03,150 [12] INFO HypervResource.HypervResourceController [55c7a1ce-0320-4976-9915-ae6fb44682ba] - { "com.cloud.agent.api.StartAnswer": { "result": false, "details": "com.cloud.agent.api.StartCommand fail on exception未将对象引 用设置到对象的实例。", "vm": { "id": 1, "name": "v-1-VM", "type": "ConsoleProxy", "cpus": 1, "minSpeed": 500, "maxSpeed": 500, "minRam": 1073741824, "maxRam": 1073741824, "arch": "x86_64", "os": "Debian GNU/Linux 5.0 (64-bit)", "bootArgs": " template=domP type=consoleproxy host=192.168.1.137 port=8250 name=v-1-VM zone=1 pod=1 guid=Proxy.1 proxy_vm=1 disable_rp_filter=true eth2ip=192.168.1.33 eth2mask=255.255.255.0 gateway=192.168.1.254 eth0ip=169.254.0.70 eth0mask=255.255.0.0 eth1ip=192.168.1.224 eth1mask=255.255.255.0 mgmtcidr=192.168.1.0/24 localgw=192.168.1.254 internaldns1=192.168.1.92 internaldns2=8.8.8.8 dns1=192.168.1.92 dns2=8.8.8.8", "rebootOnCrash": false, "enableHA": false, "limitCpuUse": false, "enableDynamicallyScaleVm": false, "vncPassword": "861c2ac4e36ed3c3", "params": {}, "uuid": "0c1a15f6-5cc6-4c10-8cf7-46fac26ee215", "disks": [ { "data": { "org.apache.cloudstack.storage.to.VolumeObjectTO": { "uuid": "8b299dfc-2453-4e6a-bd02-b6dcc12fb32a", "volumeType": "ROOT", "dataStore": { "org.apache.cloudstack.storage.to.PrimaryDataStoreTO": { "uuid": "2c739a85-40bf-365f-b448-152f6e10cad0", "id": 2, "poolType": "SMB", "host": "192.168.1.80", "path": "/Primary?user=administrator&domain=vsdevel", "port": 445, "url": "SMB://192.168.1.80/Primary?user=administrator&domain=vsdevel/?ROLE=Primary& STOREUUID=2
答复: hyperv ssvm start failed
We have started a vm created ourselves using a vhd in the local Primary storage successfully. The path of this vhd is like this: \\192.168.1.80\Primary\fadc6026-3ab1-4b99-836a-c922070fb52a.vhd. The event pasted in my last email comes from the log manager in hyperv host. In the Mgmt. server log, the mgmt. server will stop the ssvm caused this failure. We also check the source code of the hyperv agent. The error may be caused by the code in DeployVirtualMachine in WmiCallsV2.cs: int nicid = nic.deviceId; Int32 networkRateMbps = nic.networkRateMbps; string mac = nic.mac; string vlan = null; string isolationUri = nic.isolationUri; string broadcastUri = nic.broadcastUri; string nicIp = nic.ip; string nicNetmask = nic.netmask; if (broadcastUri != null && broadcastUri.StartsWith("storage")) { vlan = broadcastUri.Substring("storage://".Length); } else { vlan = isolationUri.Substring("vlan://".Length); } The log after these code can not be found in the log manager in hyperv host. And we found our input information pasted in my last email. The broadcastUri exists but the isolationUri dose not. The broadcastUri is : "broadcastUri": "vlan://untagged", Thank you very mych -邮件原件- 发件人: Rajesh Battala [mailto:rajesh.batt...@citrix.com] 发送时间: 2014年11月12日 19:47 收件人: dev@cloudstack.apache.org 主题: RE: hyperv ssvm start failed Hi, To rule out SMB issues, in the global config can you enable true to create systemvmvm's on local storage? It will try to create systemvm;s on local storage. Please look at the agent log in the log manager in hyperv host to find the root cause for the ssvm start vm failure. You can post the same logs of hyperv agent and mgmt. server log failure. Thanks Rajesh Battala -Original Message- From: 穆凯辉 [mailto:k...@landhightech.com] Sent: Wednesday, November 12, 2014 4:56 PM To: dev@cloudstack.apache.org Subject: hyperv ssvm start failed Hi all, We use cloudstack 4.4.0 to manage a windows server 2012 dc hyper-v host. Both of the primary and secondary storage are setup on this windows hyper-v host using SMB protocol. The Virtual Switch in Hyperv is named “VirtualNetork”. when we start the zone, the ssvm is created in hyper-v, but it can not start, and is destroy immediately. The error event in windows is as follows: 2014-11-12 18:55:03,150 [12] INFO HypervResource.HypervResourceController [55c7a1ce-0320-4976-9915-ae6fb44682ba] - { "com.cloud.agent.api.StartAnswer": { "result": false, "details": "com.cloud.agent.api.StartCommand fail on exception未将对象引 用设置到对象的实例。", "vm": { "id": 1, "name": "v-1-VM", "type": "ConsoleProxy", "cpus": 1, "minSpeed": 500, "maxSpeed": 500, "minRam": 1073741824, "maxRam": 1073741824, "arch": "x86_64", "os": "Debian GNU/Linux 5.0 (64-bit)", "bootArgs": " template=domP type=consoleproxy host=192.168.1.137 port=8250 name=v-1-VM zone=1 pod=1 guid=Proxy.1 proxy_vm=1 disable_rp_filter=true eth2ip=192.168.1.33 eth2mask=255.255.255.0 gateway=192.168.1.254 eth0ip=169.254.0.70 eth0mask=255.255.0.0 eth1ip=192.168.1.224 eth1mask=255.255.255.0 mgmtcidr=192.168.1.0/24 localgw=192.168.1.254 internaldns1=192.168.1.92 internaldns2=8.8.8.8 dns1=192.168.1.92 dns2=8.8.8.8", "rebootOnCrash": false, "enableHA": false, "limitCpuUse": false, "enableDynamicallyScaleVm": false, "vncPassword": "861c2ac4e36ed3c3", "params": {}, "uuid": "0c1a15f6-5cc6-4c10-8cf7-46fac26ee215", "disks": [ { "data": { "org.apache.cloudstack.storage.to.VolumeObjectTO": { "uuid": "8b299dfc-2453-4e6a-bd02-b6dcc12fb32a", "volumeType": "ROOT", "dataStore": { "org.apache.cloudstack.storage.to.PrimaryDataStoreTO": { "uuid": "2c739a85-40bf-365f-b448-152f6e10cad0", "id": 2, "poolType": "SMB", "host": "192.168.1.80", "path": "/Primary?user=administrator&domain=vsdevel", "port": 445, "url": "SMB://192.168.1.80/Primary?user=administrator&domain=vsdevel/?ROLE=Primary& STOREUUID=2c739a85-40bf-365f-b448-152f6e10cad0" }
答复: hyperv ssvm start failed
Thanks. We try to run Hyper-v agent by local administrator. But the agent crashed. So we change to use domain administrator to run this agent. We will try to create a new user to run this agent. Thank you very much. --- -邮件原件- 发件人: Anshul Gangwar [mailto:anshul.gang...@citrix.com] 发送时间: 2014年11月12日 19:39 收件人: dev@cloudstack.apache.org 主题: RE: hyperv ssvm start failed You have to run Hyper-V Agent service with the account which has it locale set to US English. -Original Message- From: 穆凯辉 [mailto:k...@landhightech.com] Sent: Wednesday, November 12, 2014 4:56 PM To: dev@cloudstack.apache.org Subject: hyperv ssvm start failed Hi all, We use cloudstack 4.4.0 to manage a windows server 2012 dc hyper-v host. Both of the primary and secondary storage are setup on this windows hyper-v host using SMB protocol. The Virtual Switch in Hyperv is named “VirtualNetork”. when we start the zone, the ssvm is created in hyper-v, but it can not start, and is destroy immediately. The error event in windows is as follows: 2014-11-12 18:55:03,150 [12] INFO HypervResource.HypervResourceController [55c7a1ce-0320-4976-9915-ae6fb44682ba] - { "com.cloud.agent.api.StartAnswer": { "result": false, "details": "com.cloud.agent.api.StartCommand fail on exception未将对象引 用设置到对象的实例。", "vm": { "id": 1, "name": "v-1-VM", "type": "ConsoleProxy", "cpus": 1, "minSpeed": 500, "maxSpeed": 500, "minRam": 1073741824, "maxRam": 1073741824, "arch": "x86_64", "os": "Debian GNU/Linux 5.0 (64-bit)", "bootArgs": " template=domP type=consoleproxy host=192.168.1.137 port=8250 name=v-1-VM zone=1 pod=1 guid=Proxy.1 proxy_vm=1 disable_rp_filter=true eth2ip=192.168.1.33 eth2mask=255.255.255.0 gateway=192.168.1.254 eth0ip=169.254.0.70 eth0mask=255.255.0.0 eth1ip=192.168.1.224 eth1mask=255.255.255.0 mgmtcidr=192.168.1.0/24 localgw=192.168.1.254 internaldns1=192.168.1.92 internaldns2=8.8.8.8 dns1=192.168.1.92 dns2=8.8.8.8", "rebootOnCrash": false, "enableHA": false, "limitCpuUse": false, "enableDynamicallyScaleVm": false, "vncPassword": "861c2ac4e36ed3c3", "params": {}, "uuid": "0c1a15f6-5cc6-4c10-8cf7-46fac26ee215", "disks": [ { "data": { "org.apache.cloudstack.storage.to.VolumeObjectTO": { "uuid": "8b299dfc-2453-4e6a-bd02-b6dcc12fb32a", "volumeType": "ROOT", "dataStore": { "org.apache.cloudstack.storage.to.PrimaryDataStoreTO": { "uuid": "2c739a85-40bf-365f-b448-152f6e10cad0", "id": 2, "poolType": "SMB", "host": "192.168.1.80", "path": "/Primary?user=administrator&domain=vsdevel", "port": 445, "url": "SMB://192.168.1.80/Primary?user=administrator&domain=vsdevel/?ROLE=Primary& STOREUUID=2c739a85-40bf-365f-b448-152f6e10cad0" } }, "name": "ROOT-1", "size": 0, "path": "8b299dfc-2453-4e6a-bd02-b6dcc12fb32a", "volumeId": 1, "vmName": "v-1-VM", "accountId": 1, "format": "VHD", "id": 1, "deviceId": 0, "hypervisorType": "Hyperv" } }, "diskSeq": 0, "path": "8b299dfc-2453-4e6a-bd02-b6dcc12fb32a", "type": "ROOT", "_details": { "managed": "false", "storagePort": "445", "storageHost": "192.168.1.80", "volumeSize": "0" } } ], "nics": [ { "deviceId": 2, "networkRateMbps": -1, "defaultNic": true, "uuid": "e48caaf7-b544-443c-94ee-40055fcf90cc", "ip": "192.168.1.33&quo
hyperv ssvm start failed
Hi all, We use cloudstack 4.4.0 to manage a windows server 2012 dc hyper-v host. Both of the primary and secondary storage are setup on this windows hyper-v host using SMB protocol. The Virtual Switch in Hyperv is named “VirtualNetork”. when we start the zone, the ssvm is created in hyper-v, but it can not start, and is destroy immediately. The error event in windows is as follows: 2014-11-12 18:55:03,150 [12] INFO HypervResource.HypervResourceController [55c7a1ce-0320-4976-9915-ae6fb44682ba] - { "com.cloud.agent.api.StartAnswer": { "result": false, "details": "com.cloud.agent.api.StartCommand fail on exception未将对象引 用设置到对象的实例。", "vm": { "id": 1, "name": "v-1-VM", "type": "ConsoleProxy", "cpus": 1, "minSpeed": 500, "maxSpeed": 500, "minRam": 1073741824, "maxRam": 1073741824, "arch": "x86_64", "os": "Debian GNU/Linux 5.0 (64-bit)", "bootArgs": " template=domP type=consoleproxy host=192.168.1.137 port=8250 name=v-1-VM zone=1 pod=1 guid=Proxy.1 proxy_vm=1 disable_rp_filter=true eth2ip=192.168.1.33 eth2mask=255.255.255.0 gateway=192.168.1.254 eth0ip=169.254.0.70 eth0mask=255.255.0.0 eth1ip=192.168.1.224 eth1mask=255.255.255.0 mgmtcidr=192.168.1.0/24 localgw=192.168.1.254 internaldns1=192.168.1.92 internaldns2=8.8.8.8 dns1=192.168.1.92 dns2=8.8.8.8", "rebootOnCrash": false, "enableHA": false, "limitCpuUse": false, "enableDynamicallyScaleVm": false, "vncPassword": "861c2ac4e36ed3c3", "params": {}, "uuid": "0c1a15f6-5cc6-4c10-8cf7-46fac26ee215", "disks": [ { "data": { "org.apache.cloudstack.storage.to.VolumeObjectTO": { "uuid": "8b299dfc-2453-4e6a-bd02-b6dcc12fb32a", "volumeType": "ROOT", "dataStore": { "org.apache.cloudstack.storage.to.PrimaryDataStoreTO": { "uuid": "2c739a85-40bf-365f-b448-152f6e10cad0", "id": 2, "poolType": "SMB", "host": "192.168.1.80", "path": "/Primary?user=administrator&domain=vsdevel", "port": 445, "url": "SMB://192.168.1.80/Primary?user=administrator&domain=vsdevel/?ROLE=Primary& STOREUUID=2c739a85-40bf-365f-b448-152f6e10cad0" } }, "name": "ROOT-1", "size": 0, "path": "8b299dfc-2453-4e6a-bd02-b6dcc12fb32a", "volumeId": 1, "vmName": "v-1-VM", "accountId": 1, "format": "VHD", "id": 1, "deviceId": 0, "hypervisorType": "Hyperv" } }, "diskSeq": 0, "path": "8b299dfc-2453-4e6a-bd02-b6dcc12fb32a", "type": "ROOT", "_details": { "managed": "false", "storagePort": "445", "storageHost": "192.168.1.80", "volumeSize": "0" } } ], "nics": [ { "deviceId": 2, "networkRateMbps": -1, "defaultNic": true, "uuid": "e48caaf7-b544-443c-94ee-40055fcf90cc", "ip": "192.168.1.33", "netmask": "255.255.255.0", "gateway": "192.168.1.254", "mac": "06:4b:cc:00:00:87", "dns1": "192.168.1.92", "dns2": "8.8.8.8", "broadcastType": "Native", "type": "Guest", "broadcastUri": "vlan://untagged", "isSecurityGroupEnabled": true, "name": "VirtualNetwork" }, { "deviceId": 0, "networkRateMbps": -1, "defaultNic": false, "uuid": "13bb00ec-b354-4fbf-b3f6-fb0dc29715b4", "ip": "169.254.0.70", "netmask": "255.255.0.0", "gateway": "169.254.0.1", "mac": "0e:00:a9:fe:00:46", "broadcastType": "LinkLocal", "type": "Control", "isSecurityGroupEnabled": false }, { "deviceId": 1, "networkRateMbps": -1, "defaultNic": false, "uuid": "a6d63c0f-72b9-439e-91ce-d158cb37a482", "ip": "192.168.1.224", "netmask": "255.255.255.0", "gateway": "192.168.1.254", "mac": "06:e7:80:00:00:5f", "broadcastType": "Native", "type": "Management", "isSecurityGroupEnabled": false, "name": "VirtualNetwork" } ] }, "contextMap": {} } } We have worked on this problem 3 days, and setup the new zone again and again. But we still can not solve this problem.The Agentshell.exe is build in our development environment. Can anyone encounter this problem. Please help us. Thank you very much. Khmu