You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Soheil Eizadi <se...@infoblox.com> on 2013/06/01 01:00:45 UTC

RE: CloudMonkey handling of Job Status Error Code

Yes, I installed it from PIP. 

Here is the version I get from it:
Administrators-MacBook-Pro-7:~ seizadi$ cloudmonkey --version
cloudmonkey 4.1.0-snapshot3
Command Line Interface for Apache CloudStack (http://incubator.apache.org/cloudstack)
________________________________________
From: Prasanna Santhanam [tsp@apache.org]
Sent: Thursday, May 30, 2013 10:43 PM
To: dev@cloudstack.apache.org
Cc: bhaisaab@apache.org
Subject: Re: CloudMonkey handling of Job Status Error Code

On Fri, May 31, 2013 at 01:49:02AM +0000, Soheil Eizadi wrote:
> 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 associated with the physical network from CloudMonkey, from
> the log I could see that they system returned an error as expected,
> but looks like CloudMonkey ignored the error and continued to poll
> the management server.
> -Soheil
>
> > add infobloxdevice hostname=172.16.197.135 username=admin
> > password=infoblox
> > physicalnetworkid=cbcd337c-f024-47f3-b2d5-8ccfd73e9d52

Should've returned the error code. Is cloudmonkey installed from pip?

> . ^C
>
>
> 2013-05-30 18:03:39,253 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-8:job-9) Executing org.apache.cloudstack.api.commands.AddInfobloxDeviceCmd for job-9
> 2013-05-30 18:03:39,293 DEBUG [cloud.api.ApiServlet] (1251250440@qtp-2080315477-50:null) ===END===  0:0:0:0:0:0:0:1%0 -- GET  apiKey=6Zj6pYbBnuIfJVKwIz4p8CcLffQ_qjQ7RuAxRLQChw6TJ74i3Zsp6ILhK4rpYlTaYF7ZijFJROc60VaMZvSiIg&command=addInfobloxDevice&hostname=172.16.197.135&physicalnetworkid=cbcd337c-f024-47f3-b2d5-8ccfd73e9d52&response=json&username=admin&signature=2zLO7njMWlL6oMX91d7JINFcKbg%3D
> 2013-05-30 18:03:42,908 DEBUG [cloud.api.ApiServlet] (1251250440@qtp-2080315477-50:null) ===START===  0:0:0:0:0:0:0:1%0 -- GET  apiKey=6Zj6pYbBnuIfJVKwIz4p8CcLffQ_qjQ7RuAxRLQChw6TJ74i3Zsp6ILhK4rpYlTaYF7ZijFJROc60VaMZvSiIg&command=queryAsyncJobResult&jobid=f6895915-bcc5-4e7c-84f9-4dbbbc236de4&response=json&signature=%2Fedf6ovt%2BwtRZRMLKfA%2FfrZkTEQ%3D
> 2013-05-30 18:03:44,886 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-8:job-9) Complete async job-9, jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: Network Service Provider: Infoblox is not enabled in the physical network: 200to add this device
> 2013-05-30 18:03:45,852 DEBUG [cloud.api.ApiServlet] (1251250440@qtp-2080315477-50:null) ===END===  0:0:0:0:0:0:0:1%0 -- GET  apiKey=6Zj6pYbBnuIfJVKwIz4p8CcLffQ_qjQ7RuAxRLQChw6TJ74i3Zsp6ILhK4rpYlTaYF7ZijFJROc60VaMZvSiIg&command=queryAsyncJobResult&jobid=f6895915-bcc5-4e7c-84f9-4dbbbc236de4&response=json&signature=%2Fedf6ovt%2BwtRZRMLKfA%2FfrZkTEQ%3D
> 2013-05-30 18:03:45,864 DEBUG [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) Management server heartbeat takes too long to finish. profiler: Done. Duration: 1507ms, profilerHeartbeatUpdate: Done. Duration: 1506ms, profilerPeerScan: Done. Duration: 1ms, profilerAgentLB: Done. Duration: 0ms
> 2013-05-30 18:03:48,869 DEBUG [cloud.api.ApiServlet] (1251250440@qtp-2080315477-50:null) ===START===  0:0:0:0:0:0:0:1%0 -- GET  apiKey=6Zj6pYbBnuIfJVKwIz4p8CcLffQ_qjQ7RuAxRLQChw6TJ74i3Zsp6ILhK4rpYlTaYF7ZijFJROc60VaMZvSiIg&command=queryAsyncJobResult&jobid=f6895915-bcc5-4e7c-84f9-4dbbbc236de4&response=json&signature=%2Fedf6ovt%2BwtRZRMLKfA%2FfrZkTEQ%3D
> 2013-05-30 18:03:48,877 DEBUG [cloud.async.AsyncJobManagerImpl] (1251250440@qtp-2080315477-50:null) Async job-9 completed
> 2013-05-30 18:03:49,022 DEBUG [cloud.api.ApiServlet] (1251250440@qtp-2080315477-50:null) ===END===  0:0:0:0:0:0:0:1%0 -- GET  apiKey=6Zj6pYbBnuIfJVKwIz4p8CcLffQ_qjQ7RuAxRLQChw6TJ74i3Zsp6ILhK4rpYlTaYF7ZijFJROc60VaMZvSiIg&command=queryAsyncJobResult&jobid=f6895915-bcc5-4e7c-84f9-4dbbbc236de4&response=json&signature=%2Fedf6ovt%2BwtRZRMLKfA%2FfrZkTEQ%3D
> 2013-05-30 18:03:51,566 DEBUG [cloud.server.StatsCollector] (StatsCollector-3:null) VmStatsCollector is running...
> 2013-05-30 18:03:52,067 DEBUG [cloud.api.ApiServlet] (1251250440@qtp-2080315477-50:null) ===START===  0:0:0:0:0:0:0:1%0 -- GET  apiKey=6Zj6pYbBnuIfJVKwIz4p8CcLffQ_qjQ7RuAxRLQChw6TJ74i3Zsp6ILhK4rpYlTaYF7ZijFJROc60VaMZvSiIg&command=queryAsyncJobResult&jobid=f6895915-bcc5-4e7c-84f9-4dbbbc236de4&response=json&signature=%2Fedf6ovt%2BwtRZRMLKfA%2FfrZkTEQ%3D
> 2013-05-30 18:03:52,213 DEBUG [cloud.async.AsyncJobManagerImpl] (1251250440@qtp-2080315477-50:null) Async job-9 completed
> 2013-05-30 18:03:52,239 DEBUG [cloud.api.ApiServlet] (1251250440@qtp-2080315477-50:null) ===END===  0:0:0:0:0:0:0:1%0 -- GET  apiKey=6Zj6pYbBnuIfJVKwIz4p8CcLffQ_qjQ7RuAxRLQChw6TJ74i3Zsp6ILhK4rpYlTaYF7ZijFJROc60VaMZvSiIg&command=queryAsyncJobResult&jobid=f6895915-bcc5-4e7c-84f9-4dbbbc236de4&response=json&signature=%2Fedf6ovt%2BwtRZRMLKfA%2FfrZkTEQ%3D

--
Prasanna.,

------------------------
Powered by BigRock.com