cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-6607) Create VPC is failing.
Date Tue, 13 May 2014 08:38:15 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-6607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13996190#comment-13996190
] 

ASF subversion and git services commented on CLOUDSTACK-6607:
-------------------------------------------------------------

Commit 169c2be11acfe3af86f8e1f8061f24846cc34e47 in cloudstack's branch refs/heads/4.4 from
[~yasker]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=169c2be ]

CLOUDSTACK-6607: Correct the result of VpcNetworkUsage

Blank or not shouldn't be used to indicate command is failure or not.


> Create VPC is failing.
> ----------------------
>
>                 Key: CLOUDSTACK-6607
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6607
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Network Controller
>    Affects Versions: 4.4.0
>            Reporter: manasaveloori
>            Assignee: Sheng Yang
>            Priority: Blocker
>             Fix For: 4.4.0
>
>         Attachments: management-server.log
>
>
> Deploy CS using Xenserver 6.2.
> Create a VPC.
> Observed that VPC creation is failing  with below exception:
> 2014-05-08 04:29:48,225 WARN  [c.c.h.x.r.XenServer56Resource] (DirectAgent-95:ctx-70fed5e6)
Failed to get network usage stats due to
> java.lang.Exception:  vpc network usage plugin call failed
>         at com.cloud.hypervisor.xen.resource.XenServer56Resource.VPCNetworkUsage(XenServer56Resource.java:183)
>         at com.cloud.hypervisor.xen.resource.XenServer56Resource.execute(XenServer56Resource.java:194)
>         at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:58)
>         at com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:93)
>         at com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:216)
>         at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
>         at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:744)
> 2014-05-08 04:29:48,229 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-95:ctx-70fed5e6)
Seq 1-126100789566377982: Response Received:
> 2014-05-08 04:29:48,231 DEBUG [c.c.a.t.Request] (DirectAgent-95:ctx-70fed5e6) Seq 1-126100789566377982:
Processing:  { Ans: , MgmtId: 7672522866886, via: 1, Ver: v1, Flags: 110, [{"com.cloud.agent.api.StartAnswer":{"vm":{"id":10,"name":"r-10-VM","bootloader":"PyGrub","type":"DomainRouter","cpus":1,"minSpeed":500,"maxSpeed":500,"minRam":134217728,"maxRam":134217728,"arch":"x86_64","os":"Debian
GNU/Linux 7(32-bit)","bootArgs":" vpccidr=10.0.0.0/16 domain=cs2cloud.internal dns1=10.140.50.6
template=domP name=r-10-VM eth0ip=169.254.1.131 eth0mask=255.255.0.0 type=vpcrouter disable_rp_filter=true","rebootOnCrash":false,"enableHA":true,"limitCpuUse":false,"enableDynamicallyScaleVm":false,"vncPassword":"91408a0b18abbc99","params":{},"uuid":"6e38c35d-7c5d-4982-bddf-f21b7063e1db","disks":[{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"c8cf4a4d-e552-4b82-943e-af3df990a445","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"c040ab5c-6f99-3d0b-9377-dcf76c5798de","id":1,"poolType":"NetworkFilesystem","host":"10.147.28.7","path":"/export/home/manasa/primaryxen","port":2049,"url":"NetworkFilesystem://10.147.28.7/export/home/manasa/primaryxen/?ROLE=Primary&STOREUUID=c040ab5c-6f99-3d0b-9377-dcf76c5798de"}},"name":"ROOT-10","size":2621440000,"path":"e6ed1394-ee6b-44d5-8599-688e5efe30a7","volumeId":11,"vmName":"r-10-VM","accountId":2,"format":"VHD","id":11,"deviceId":0,"hypervisorType":"XenServer"}},"diskSeq":0,"path":"e6ed1394-ee6b-44d5-8599-688e5efe30a7","type":"ROOT","_details":{"managed":"false","storagePort":"2049","storageHost":"10.147.28.7","volumeSize":"2621440000"}}],"nics":[{"deviceId":0,"networkRateMbps":-1,"defaultNic":false,"uuid":"55d14c0b-b7ff-4698-9387-ec3e16034d36","ip":"169.254.1.131","netmask":"255.255.0.0","gateway":"169.254.0.1","mac":"0e:00:a9:fe:01:83","broadcastType":"LinkLocal","type":"Control","isSecurityGroupEnabled":false}]},"_iqnToPath":{},"result":true,"wait":0}},{"com.cloud.agent.api.check.CheckSshAnswer":{"result":true,"wait":0}},{"com.cloud.agent.api.GetDomRVersionAnswer":{"templateVersion":"Cloudstack
Release 4.4.0 Fri Apr 11 18:25:32 UTC 2014","scriptsVersion":"fa0c2d3c39c4881abe99aed435ee471d\n","result":true,"details":"Cloudstack
Release 4.4.0 Fri Apr 11 18:25:32 UTC 2014&fa0c2d3c39c4881abe99aed435ee471d\n","wait":0}},{"com.cloud.agent.api.PlugNicAnswer":{"result":true,"details":"success","wait":0}},{"com.cloud.agent.api.routing.GroupAnswer":{"results":["10.147.47.8
- vpc_ipassoc - success: ARPING 10.147.47.8 from 10.147.47.8 eth1\nSent 1 probes (1 broadcast(s))\nReceived
0 response(s)\nARPING 10.147.47.8 from 10.147.47.8 eth1\nSent 1 probes (1 broadcast(s))\nReceived
0 response(s)\n","10.147.47.8 - vpc_privategateway - success: iptables: No chain/target/match
by that name.\n"],"result":true,"wait":0}},{"com.cloud.agent.api.Answer":{"result":true,"details":"iptables:
Bad rule (does a matching rule exist in that chain?).\n","wait":0}},{"com.cloud.agent.api.NetworkUsageAnswer":{"result":false,"details":"Exception:
java.lang.Exception\nMessage:  vpc network usage plugin call failed \nStack: java.lang.Exception:
 vpc network usage plugin call failed \n\tat com.cloud.hypervisor.xen.resource.XenServer56Resource.VPCNetworkUsage(XenServer56Resource.java:183)\n\tat
com.cloud.hypervisor.xen.resource.XenServer56Resource.execute(XenServer56Resource.java:194)\n\tat
com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:58)\n\tat
com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:93)\n\tat
com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:216)\n\tat
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)\n\tat
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)\n\tat
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)\n\tat
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)\n\tat
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)\n\tat
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:262)\n\tat
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)\n\tat
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)\n\tat
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\n\tat
java.lang.Thread.run(Thread.java:744)\n","wait":0}}] }
> 2014-05-08 04:29:48,234 DEBUG [c.c.a.t.Request] (Work-Job-Executor-5:job-87/job-88 ctx-8b1190c7)
Seq 1-126100789566377982: Received:  { Ans: , MgmtId: 7672522866886, via: 1, Ver: v1, Flags:
110, { StartAnswer, CheckSshAnswer, GetDomRVersionAnswer, PlugNicAnswer, GroupAnswer, Answer,
NetworkUsageAnswer } }
> 2014-05-08 04:29:48,236 DEBUG [c.c.a.m.AgentAttache] (DirectAgent-95:ctx-70fed5e6) Seq
1-126100789566377982: No more commands found
> 2014-05-08 04:29:48,260 WARN  [o.a.c.alerts] (Work-Job-Executor-5:job-87/job-88 ctx-8b1190c7)
 alertType:: 9 // dataCenterId:: 1 // podId:: 1 // clusterId:: null // message:: Command:
com.cloud.agent.api.NetworkUsageCommand failed while starting virtual router
> 2014-05-08 04:29:48,267 WARN  [c.c.n.r.VirtualNetworkApplianceManagerImpl] (Work-Job-Executor-5:job-87/job-88
ctx-8b1190c7) Command: com.cloud.agent.api.NetworkUsageCommand failed while starting virtual
router
> Attaching the MS logs.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message