cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ram Ganesh (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CLOUDSTACK-5442) Virtual Router does not start properly on Hyper-V for DefaultSharedNetworkOffering network
Date Wed, 11 Dec 2013 11:08:08 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-5442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ram Ganesh updated CLOUDSTACK-5442:
-----------------------------------

    Assignee: Rajesh Battala

> Virtual Router does not start properly on Hyper-V for DefaultSharedNetworkOffering network
> ------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-5442
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5442
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.3.0
>            Reporter: Donal Lafferty
>            Assignee: Rajesh Battala
>            Priority: Blocker
>
> Create DefaultSharedNetworkOffering using the following settings:
> echo listNetworkOfferings name="DefaultSharedNetworkOffering"
> apiresult=`cloudmonkey api listNetworkOfferings name='"DefaultSharedNetworkOffering"'
`
> echo
> echo listNetworkOfferings returned
> echo $apiresult
> echo
> qcNetOffId=`echo $apiresult | sed -e 's/^.*"id": //; s/,.*$//'`
> echo cluster is
> echo $qcNetOffId
> echo
> # provides network but no ip ranges, those are populated on a pod by pod basis
> echo createNetwork zoneid=$zone networkofferingid=$qcNetOffId physicalnetworkid=$physnetid
name="CorporateNet" displaytext="Limited Access"
> apiresult=`cloudmonkey api createNetwork zoneid=$zone networkofferingid=$qcNetOffId name="CorporateNet"
displaytext="Limited Access" `
> echo
> echo createNetwork returned
> echo $apiresult
> echo
> netId=`echo $apiresult | sed -e 's/^.*"id": //; s/,.*$//'`
> echo network id is
> echo $netId
> echo
> ...
> echo createVlanIpRange networkid=$netId podid=$pod gateway='"10.70.176.1"' netmask='"255.255.240.0"'
startip='"10.70.176.124"' endip='"10.70.176.144"' forvirtualnetwork='"false"'
> apiresult=`cloudmonkey api createVlanIpRange networkid=$netId podid=$pod gateway='"10.70.176.1"'
netmask='"255.255.240.0"' startip='"10.70.176.124"' endip='"10.70.176.144"' forvirtualnetwork='"false"'
`
> echo
> echo createVlanIpRange returned
> echo $apiresult
> echo
> When virtual router starts, it returns an invalid IP address as shown in this log entry:
> 2013-12-10 15:33:23,964 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-34:ctx-02a1939d)
executeRequest received response [{"com.cloud.agent.api.StartAnswer":{"vm":{"id":4,"name":"r-4-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\u003ddomP name\u003dr-4-VM eth0ip\u003d10.70.176.127
eth0mask\u003d255.255.240.0 gateway\u003d10.70.176.1 domain\u003dcs1cloud.internal dhcprange\u003d10.70.176.1
eth1ip\u003d0.0.0.0 eth1mask\u003d0.0.0.0 type\u003ddhcpsrvr disable_rp_filter\u003dtrue dns1\u003d4.4.4.4","rebootOnCrash":false,"enableHA":true,"limitCpuUse":false,"enableDynamicallyScaleVm":false,"vncPassword":"2d49f38670916c19","params":{},"uuid":"fea15e5a-49ae-463c-a5b7-b30d2a9aae4f","disks":[{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"9244f17c-e15e-4ffe-a0c5-af2c589ba84d","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"700b99d8-36e7-3f0c-b362-44f1c773241b-HypervResource","id":1,"poolType":"Filesystem","host":"10.70.176.29","path":"E:\\CSHV3\\VHDXs\\","port":0,"url":"Filesystem://10.70.176.29/E:\\CSHV3\\VHDXs\\/?ROLE\u003dPrimary\u0026STOREUUID\u003d700b99d8-36e7-3f0c-b362-44f1c773241b-HypervResource"}},"name":"ROOT-4","size":2101252608,"volumeId":4,"vmName":"r-4-VM","accountId":1,"id":4,"deviceId":0,"hypervisorType":"Hyperv"}},"diskSeq":0,"type":"ROOT","_details":{"managed":"false","storagePort":"0","storageHost":"10.70.176.29","volumeSize":"2101252608"}}],"nics":[{"deviceId":0,"networkRateMbps":200,"defaultNic":true,"uuid":"b099ba13-6f48-4e5c-8a2f-26db548766f3","ip":"10.70.176.127","netmask":"255.255.240.0","gateway":"10.70.176.1","mac":"06:3e:a2:00:00:0d","dns1":"4.4.4.4","broadcastType":"Native","type":"Guest","broadcastUri":"vlan://untagged","isolationUri":"ec2://untagged","isSecurityGroupEnabled":false},{"deviceId":1,"networkRateMbps":-1,"defaultNic":false,"uuid":"817d22a5-3c0a-403b-a5da-16ffa441e2b4","ip":"0.0.0.0","netmask":"0.0.0.0","gateway":"0.0.0.0","mac":"02:00:20:bb:00:01","broadcastType":"LinkLocal","type":"Control","isSecurityGroupEnabled":false}]},"result":true,"contextMap":{},"wait":0}}]
> 2013-12-10 15:33:23,964 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-34:ctx-02a1939d)
Ping command port, 0.0.0.0:3922
> 2013-12-10 15:33:23,964 INFO  [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-34:ctx-02a1939d)
Trying to connect to 0.0.0.0
> 2013-12-10 15:33:23,965 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-34:ctx-02a1939d)
Ping command port succeeded for vm r-4-VM
> 2013-12-10 15:33:23,965 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-34:ctx-02a1939d)
Execute network usage setup command on r-4-VM
> 2013-12-10 15:33:24,163 ERROR [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-34:ctx-02a1939d)
Unable to execute NetworkUsage command on DomR (0.0.0.0), domR may not be ready yet. failure
due to java.io.IOException: There was a problem while connecting to 0.0.0.0:3922
> 2013-12-10 15:33:24,164 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-34:ctx-02a1939d)
Executing resource GetDomRVersionCmd: {"accessDetails":{"router.name":"r-4-VM","router.ip":"0.0.0.0"},"contextMap":{},"wait":0}
> 2013-12-10 15:33:24,164 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-34:ctx-02a1939d)
Run command on domR 0.0.0.0, /opt/cloud/bin/get_template_version.sh
> 2013-12-10 15:33:24,165 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-34:ctx-02a1939d)
Use router's private IP for SSH control. IP : 0.0.0.0
> 2013-12-10 15:33:24,167 ERROR [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-34:ctx-02a1939d)
GetDomRVersionCmd failed due to java.io.IOException: There was a problem while connecting
to 0.0.0.0:3922



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message