Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 744E710C5A for ; Wed, 24 Jul 2013 09:57:49 +0000 (UTC) Received: (qmail 3161 invoked by uid 500); 24 Jul 2013 09:57:49 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 3020 invoked by uid 500); 24 Jul 2013 09:57:49 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 2992 invoked by uid 500); 24 Jul 2013 09:57:48 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 2988 invoked by uid 99); 24 Jul 2013 09:57:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jul 2013 09:57:48 +0000 Date: Wed, 24 Jul 2013 09:57:48 +0000 (UTC) From: "Kishan Kavala (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: =?utf-8?Q?[jira]_[Resolved]_(CLOUDSTACK-3009)_[VPC][VMware]Unab?= =?utf-8?Q?le_to_execute_NetworkUsage_command_on_DomR_(10.147.40?= =?utf-8?Q?.181),_domR_may_not_be_ready_yet._failure_due_to_Exce?= =?utf-8?Q?ption:_java.lang.Exception=E2=80=94when_VPC/VPC_VR_is_rebooted?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-3009?page=3Dcom.atl= assian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kishan Kavala resolved CLOUDSTACK-3009. --------------------------------------- Resolution: Not A Problem This error is logged when Network usage command is sent when the VR is rebo= oting. This is a corner case. Command is sent only to the VRs in up state, = but the state changed in this case before it was executed. Network usage st= ats collection is also not impacted since the answer is ignored. =20 > [VPC][VMware]Unable to execute NetworkUsage command on DomR (10.147.40.18= 1), domR may not be ready yet. failure due to Exception: java.lang.Exceptio= n=E2=80=94when VPC/VPC VR is rebooted > -------------------------------------------------------------------------= ---------------------------------------------------------------------------= ----------------------------- > > Key: CLOUDSTACK-3009 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-300= 9 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Components: Network Controller > Affects Versions: 4.2.0 > Reporter: manasaveloori > Assignee: Kishan Kavala > Priority: Critical > Fix For: 4.2.0 > > Attachments: management-server.zip > > > Steps: > 1.=09Have a CS with advanced zone and with VMware host. > 2.=09Create VPC . > 3.=09Create a private gateway and a static route to it. > 4.=09Reboot the VPC VR. > 5.=09After successful reboot of VR, now restart the VPC. > OR > After step 3 Restart the VPC and after successful restart, now reboot VR. > Observation: > Observed the following exception when VPC is restarted/VR is rebooted. > 2013-06-14 20:11:28,390 ERROR [vmware.resource.VmwareResource] (DirectAge= nt-142:10.147.40.29) Unable to execute NetworkUsage command on DomR (10.147= .40.184), domR may not be ready yet. failure due to Exception: java.lang.Ex= ception > Message: vpc network usage get returns empty > java.lang.Exception: vpc network usage get returns empty > at com.cloud.hypervisor.vmware.resource.VmwareResource.VPCNetwork= Usage(VmwareResource.java:676) > at com.cloud.hypervisor.vmware.resource.VmwareResource.execute(Vm= wareResource.java:622) > at com.cloud.hypervisor.vmware.resource.VmwareResource.executeReq= uest(VmwareResource.java:472) > at com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgen= tAttache.java:186) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.= java:471) > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:= 334) > at java.util.concurrent.FutureTask.run(FutureTask.java:166) > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutu= reTask.access$101(ScheduledThreadPoolExecutor.java:165) > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutu= reTask.run(ScheduledThreadPoolExecutor.java:266) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolEx= ecutor.java:1110) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolE= xecutor.java:603) > at java.lang.Thread.run(Thread.java:679) > 2013-06-14 20:11:28,400 DEBUG [agent.manager.DirectAgentAttache] (DirectA= gent-142:null) Seq 1-519307624: Response Received: > Attaching the MS log. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira