Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9AD61F322 for ; Fri, 31 May 2013 01:49:35 +0000 (UTC) Received: (qmail 92510 invoked by uid 500); 31 May 2013 01:49:35 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 92434 invoked by uid 500); 31 May 2013 01:49:35 -0000 Mailing-List: contact dev-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 dev@cloudstack.apache.org Received: (qmail 92424 invoked by uid 99); 31 May 2013 01:49:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 May 2013 01:49:35 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of seizadi@infoblox.com designates 205.234.19.214 as permitted sender) Received: from [205.234.19.214] (HELO mx2.infoblox.com) (205.234.19.214) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 May 2013 01:49:27 +0000 X-ASG-Debug-ID: 1369964943-0640d74cc1118970001-AbHazq Received: from x2008hub1.infoblox.com (x2008hub1.infoblox.com [205.234.19.248]) by mx2.infoblox.com with ESMTP id u7cGo0lIgTzxgWgG for ; Thu, 30 May 2013 18:49:03 -0700 (PDT) X-Barracuda-Envelope-From: seizadi@infoblox.com X-Barracuda-Apparent-Source-IP: 205.234.19.248 Received: from X2008MB1.infoblox.com ([fe80::cc0b:9da5:6863:8541]) by x2008hub1.infoblox.com ([fe80::a3:8989:52dd:1d09%10]) with mapi id 14.02.0298.004; Thu, 30 May 2013 18:49:02 -0700 From: Soheil Eizadi To: "dev@cloudstack.apache.org" Subject: CloudMonkey handling of Job Status Error Code Thread-Topic: CloudMonkey handling of Job Status Error Code X-ASG-Orig-Subj: CloudMonkey handling of Job Status Error Code Thread-Index: AQHOXaEG9FVTqPF9DUOsQU3GteRNKw== Date: Fri, 31 May 2013 01:49:02 +0000 Message-ID: <6717EC2E5A665A40A5AF626D7D4FA906C1133B@x2008mb1.infoblox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.102.28.164] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Barracuda-Connect: x2008hub1.infoblox.com[205.234.19.248] X-Barracuda-Start-Time: 1369964943 X-Barracuda-URL: http://205.234.19.214:8000/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at infoblox.com X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=9.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.132511 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Checked: Checked by ClamAV on apache.org I don't know if the following is a known issue, while testing some negative= test case, I added a device that was not part of network provider associat= ed with the physical network from CloudMonkey, from the log I could see tha= t they system returned an error as expected, but looks like CloudMonkey ign= ored the error and continued to poll the management server.=0A= -Soheil=0A= =0A= > add infobloxdevice hostname=3D172.16.197.135 username=3Dadmin password=3D= infoblox physicalnetworkid=3Dcbcd337c-f024-47f3-b2d5-8ccfd73e9d52=0A= . ^C=0A= =0A= =0A= 2013-05-30 18:03:39,253 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Execut= or-8:job-9) Executing org.apache.cloudstack.api.commands.AddInfobloxDeviceC= md for job-9=0A= 2013-05-30 18:03:39,293 DEBUG [cloud.api.ApiServlet] (1251250440@qtp-208031= 5477-50:null) =3D=3D=3DEND=3D=3D=3D 0:0:0:0:0:0:0:1%0 -- GET apiKey=3D6Zj= 6pYbBnuIfJVKwIz4p8CcLffQ_qjQ7RuAxRLQChw6TJ74i3Zsp6ILhK4rpYlTaYF7ZijFJROc60V= aMZvSiIg&command=3DaddInfobloxDevice&hostname=3D172.16.197.135&physicalnetw= orkid=3Dcbcd337c-f024-47f3-b2d5-8ccfd73e9d52&response=3Djson&username=3Dadm= in&signature=3D2zLO7njMWlL6oMX91d7JINFcKbg%3D=0A= 2013-05-30 18:03:42,908 DEBUG [cloud.api.ApiServlet] (1251250440@qtp-208031= 5477-50:null) =3D=3D=3DSTART=3D=3D=3D 0:0:0:0:0:0:0:1%0 -- GET apiKey=3D6= Zj6pYbBnuIfJVKwIz4p8CcLffQ_qjQ7RuAxRLQChw6TJ74i3Zsp6ILhK4rpYlTaYF7ZijFJROc6= 0VaMZvSiIg&command=3DqueryAsyncJobResult&jobid=3Df6895915-bcc5-4e7c-84f9-4d= bbbc236de4&response=3Djson&signature=3D%2Fedf6ovt%2BwtRZRMLKfA%2FfrZkTEQ%3D= =0A= 2013-05-30 18:03:44,886 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Execut= or-8:job-9) Complete async job-9, jobStatus: 2, resultCode: 530, result: Er= ror Code: 530 Error text: Network Service Provider: Infoblox is not enabled= in the physical network: 200to add this device=0A= 2013-05-30 18:03:45,852 DEBUG [cloud.api.ApiServlet] (1251250440@qtp-208031= 5477-50:null) =3D=3D=3DEND=3D=3D=3D 0:0:0:0:0:0:0:1%0 -- GET apiKey=3D6Zj= 6pYbBnuIfJVKwIz4p8CcLffQ_qjQ7RuAxRLQChw6TJ74i3Zsp6ILhK4rpYlTaYF7ZijFJROc60V= aMZvSiIg&command=3DqueryAsyncJobResult&jobid=3Df6895915-bcc5-4e7c-84f9-4dbb= bc236de4&response=3Djson&signature=3D%2Fedf6ovt%2BwtRZRMLKfA%2FfrZkTEQ%3D= =0A= 2013-05-30 18:03:45,864 DEBUG [cloud.cluster.ClusterManagerImpl] (Cluster-H= eartbeat-1:null) Management server heartbeat takes too long to finish. prof= iler: Done. Duration: 1507ms, profilerHeartbeatUpdate: Done. Duration: 1506= ms, profilerPeerScan: Done. Duration: 1ms, profilerAgentLB: Done. Duration:= 0ms=0A= 2013-05-30 18:03:48,869 DEBUG [cloud.api.ApiServlet] (1251250440@qtp-208031= 5477-50:null) =3D=3D=3DSTART=3D=3D=3D 0:0:0:0:0:0:0:1%0 -- GET apiKey=3D6= Zj6pYbBnuIfJVKwIz4p8CcLffQ_qjQ7RuAxRLQChw6TJ74i3Zsp6ILhK4rpYlTaYF7ZijFJROc6= 0VaMZvSiIg&command=3DqueryAsyncJobResult&jobid=3Df6895915-bcc5-4e7c-84f9-4d= bbbc236de4&response=3Djson&signature=3D%2Fedf6ovt%2BwtRZRMLKfA%2FfrZkTEQ%3D= =0A= 2013-05-30 18:03:48,877 DEBUG [cloud.async.AsyncJobManagerImpl] (1251250440= @qtp-2080315477-50:null) Async job-9 completed=0A= 2013-05-30 18:03:49,022 DEBUG [cloud.api.ApiServlet] (1251250440@qtp-208031= 5477-50:null) =3D=3D=3DEND=3D=3D=3D 0:0:0:0:0:0:0:1%0 -- GET apiKey=3D6Zj= 6pYbBnuIfJVKwIz4p8CcLffQ_qjQ7RuAxRLQChw6TJ74i3Zsp6ILhK4rpYlTaYF7ZijFJROc60V= aMZvSiIg&command=3DqueryAsyncJobResult&jobid=3Df6895915-bcc5-4e7c-84f9-4dbb= bc236de4&response=3Djson&signature=3D%2Fedf6ovt%2BwtRZRMLKfA%2FfrZkTEQ%3D= =0A= 2013-05-30 18:03:51,566 DEBUG [cloud.server.StatsCollector] (StatsCollector= -3:null) VmStatsCollector is running...=0A= 2013-05-30 18:03:52,067 DEBUG [cloud.api.ApiServlet] (1251250440@qtp-208031= 5477-50:null) =3D=3D=3DSTART=3D=3D=3D 0:0:0:0:0:0:0:1%0 -- GET apiKey=3D6= Zj6pYbBnuIfJVKwIz4p8CcLffQ_qjQ7RuAxRLQChw6TJ74i3Zsp6ILhK4rpYlTaYF7ZijFJROc6= 0VaMZvSiIg&command=3DqueryAsyncJobResult&jobid=3Df6895915-bcc5-4e7c-84f9-4d= bbbc236de4&response=3Djson&signature=3D%2Fedf6ovt%2BwtRZRMLKfA%2FfrZkTEQ%3D= =0A= 2013-05-30 18:03:52,213 DEBUG [cloud.async.AsyncJobManagerImpl] (1251250440= @qtp-2080315477-50:null) Async job-9 completed=0A= 2013-05-30 18:03:52,239 DEBUG [cloud.api.ApiServlet] (1251250440@qtp-208031= 5477-50:null) =3D=3D=3DEND=3D=3D=3D 0:0:0:0:0:0:0:1%0 -- GET apiKey=3D6Zj= 6pYbBnuIfJVKwIz4p8CcLffQ_qjQ7RuAxRLQChw6TJ74i3Zsp6ILhK4rpYlTaYF7ZijFJROc60V= aMZvSiIg&command=3DqueryAsyncJobResult&jobid=3Df6895915-bcc5-4e7c-84f9-4dbb= bc236de4&response=3Djson&signature=3D%2Fedf6ovt%2BwtRZRMLKfA%2FfrZkTEQ%3D=