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 . ^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