Sowmya Krishnan created CLOUDSTACK-5330:
-------------------------------------------

             Summary: [Hyper-V] VR creation fails in shared network while 
assigning IP to VR
                 Key: CLOUDSTACK-5330
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5330
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Network Controller
    Affects Versions: 4.3.0
         Environment: 4.3, Advanced zone Shared n/w, Hyper-V
            Reporter: Sowmya Krishnan
            Priority: Blocker
             Fix For: 4.3.0


Shared network in advanced zone:
Launching VR fails in shared network while allocating an IP to VR. 
Steps:

Create shared n/w offering with DHCP, DNS, LB, SourceNAT, PF
Create a shared n/w with the above offering, with scope = account
Specify required parameters for gateway, start, end IPs
Launch VM

VR launch fails due to following error:
.StartCommand fail on exceptionAn invalid IP address was specified.

Following is the exception seen:


2013-12-02 16:42:56,881 DEBUG [c.c.h.h.r.HypervDirectConnectResource] 
(DirectAgent-478:ctx-e3c75946) POST response 
is[{"com.cloud.agent.api.StartAnswer":{"result":false,"details":"com.cloud
.agent.api.StartCommand fail on exceptionAn invalid IP address was 
specified.","vm":{"id":38,"name":"r-38-VM","type":"DomainRouter","cpus":1,"minSpeed":500,"maxSpeed":500,"minRam":134217728
,"maxRam":134217728,"arch":"i686","os":"Debian GNU/Linux 5.0 
(32-bit)","bootArgs":" template=domP name=r-38-VM eth0ip=10.102.198.3 
eth0mask=255.255.255.240 gateway=10.102.198.1 domain=cs3cl
oud.internal dhcprange=10.102.198.1 eth1ip=10.102.195.52 eth1mask=255.255.252.0 
type=dhcpsrvr disable_rp_filter=true dns1=10.140.50.5 dns2= ip6dns1= 
ip6dns2=","rebootOnCrash":false,"enableH
A":true,"limitCpuUse":false,"enableDynamicallyScaleVm":false,"vncPassword":"f4f8f227e1dc93f2","params":{},"uuid":"21b5e4ef-f9b4-4721-b69e-830e30838a6f","disks":[{"data":{"org.apache.cloudst
ack.storage.to.VolumeObjectTO":{"uuid":"085d9286-e572-4e9c-aab9-6718550fd9c6","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"4e16f596-365a-3
153-b962-02ae3a12ec4d-HypervResource","id":4,"poolType":"Filesystem","host":"10.102.192.9","path":"C:\\Users\\Public\\Documents\\Hyper-V\\Virtual
 Hard Disks","port":0,"url":"Filesystem://10
.102.192.9/C:\\Users\\Public\\Documents\\Hyper-V\\Virtual Hard 
Disks/?ROLE=Primary&STOREUUID=4e16f596-365a-3153-b962-02ae3a12ec4d-HypervResource"}},"name":"ROOT-38","size":2101252608,"volum
eId":40,"vmName":"r-38-VM","accountId":1,"id":40,"deviceId":0,"hypervisorType":"Hyperv"}},"diskSeq":0,"type":"ROOT","_details":{"managed":"false","storagePort":"0","storageHost":"10.102.192
.9","volumeSize":"2101252608"}}],"nics":[{"deviceId":0,"networkRateMbps":200,"defaultNic":true,"uuid":"1a04b57a-825e-432d-879f-ce4643bb222b","ip":"10.102.198.3","netmask":"255.255.255.240",
"gateway":"10.102.198.1","mac":"06:d7:2e:00:00:26","dns1":"10.140.50.5","dns2":"","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://110","isolationUri":"vlan://110","isSecurityGr
oupEnabled":false},{"deviceId":1,"networkRateMbps":-1,"defaultNic":false,"uuid":"81a44c44-a71e-46bd-ad6b-273e73c1bb87","ip":"10.102.195.52","netmask":"255.255.252.0","gateway":"10.102.192.1
","mac":"02:00:05:d0:00:06","broadcastType":"Native","type":"Control","isSecurityGroupEnabled":false}]},"contextMap":{}}}]
2013-12-02 16:42:56,882 DEBUG [c.c.h.h.r.HypervDirectConnectResource] 
(DirectAgent-478:ctx-e3c75946) executeRequest received response 
[{"com.cloud.agent.api.StartAnswer":{"vm":{"id":38,"nam
e":"r-38-VM","type":"DomainRouter","cpus":1,"minSpeed":500,"maxSpeed":500,"minRam":134217728,"maxRam":134217728,"arch":"i686","os":"Debian
 GNU/Linux 5.0 (32-bit)","bootArgs":" template\u003
ddomP name\u003dr-38-VM eth0ip\u003d10.102.198.3 eth0mask\u003d255.255.255.240 
gateway\u003d10.102.198.1 domain\u003dcs3cloud.internal 
dhcprange\u003d10.102.198.1 eth1ip\u003d10.102.195.52
eth1mask\u003d255.255.252.0 type\u003ddhcpsrvr disable_rp_filter\u003dtrue 
dns1\u003d10.140.50.5 dns2\u003d ip6dns1\u003d 
ip6dns2\u003d","rebootOnCrash":false,"enableHA":true,"limitCpuUse":
false,"enableDynamicallyScaleVm":false,"vncPassword":"f4f8f227e1dc93f2","params":{},"uuid":"21b5e4ef-f9b4-4721-b69e-830e30838a6f","disks":[{"data":{"org.apache.cloudstack.storage.to.VolumeO
bjectTO":{"uuid":"085d9286-e572-4e9c-aab9-6718550fd9c6","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"4e16f596-365a-3153-b962-02ae3a12ec4d-
HypervResource","id":4,"poolType":"Filesystem","host":"10.102.192.9","path":"C:\\Users\\Public\\Documents\\Hyper-V\\Virtual
 Hard Disks","port":0,"url":"Filesystem://10.102.192.9/C:\\Users\\
Public\\Documents\\Hyper-V\\Virtual Hard 
Disks/?ROLE\u003dPrimary\u0026STOREUUID\u003d4e16f596-365a-3153-b962-02ae3a12ec4d-HypervResource"}},"name":"ROOT-38","size":2101252608,"volumeId":40
,"vmName":"r-38-VM","accountId":1,"id":40,"deviceId":0,"hypervisorType":"Hyperv"}},"diskSeq":0,"type":"ROOT","_details":{"managed":"false","storagePort":"0","storageHost":"10.102.192.9","vo
lumeSize":"2101252608"}}],"nics":[{"deviceId":0,"networkRateMbps":200,"defaultNic":true,"uuid":"1a04b57a-825e-432d-879f-ce4643bb222b","ip":"10.102.198.3","netmask":"255.255.255.240","gatewa
y":"10.102.198.1","mac":"06:d7:2e:00:00:26","dns1":"10.140.50.5","dns2":"","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://110","isolationUri":"vlan://110","isSecurityGroupEnab
led":false},{"deviceId":1,"networkRateMbps":-1,"defaultNic":false,"uuid":"81a44c44-a71e-46bd-ad6b-273e73c1bb87","ip":"10.102.195.52","netmask":"255.255.252.0","gateway":"10.102.192.1","mac"
:"02:00:05:d0:00:06","broadcastType":"Native","type":"Control","isSecurityGroupEnabled":false}]},"result":false,"details":"com.cloud.agent.api.StartCommand
 fail on exceptionAn invalid IP ad
dress was specified.","contextMap":{},"wait":0}}]




--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to