Problem discover Azure datacenters

maxton
Kilo Explorer

After configuring the account principles and then the Cloud Service Account under Cloud Management -> Service Accounts, I hit "Discover Datacenters". A few seconds later the "Datacenter discovery status" is updated with an error.

I can't find anything in the discovery logs but when looking in the System Logs -> All there is an exception generation

Failure to handle chunked result: com.snc.cloud.mgmt.modules.svccatalog.orchestration.BPOException: Failed to execute API - [object Object] (script_include:AzureAPIInvoker; line 38): com.snc.cloud.mgmt.modules.svccatalog.orchestration.result.StepResultHandler.checkCAPIReturnStatus(StepResultHandler.java:201)

com.snc.cloud.mgmt.modules.svccatalog.orchestration.result.StepResultHandler.validateResult(StepResultHandler.java:120)

com.snc.cloud.mgmt.modules.svccatalog.orchestration.result.StepResultHandler.process(StepResultHandler.java:68)

com.snc.cloud.mgmt.modules.svccatalog.service.impl.BlueprintOrchestratorImpl.handleChunkedResult(BlueprintOrchestratorImpl.java:62)

com.snc.cloud.mgmt.modules.svccatalog.service.impl.CloudOrchestrationServiceImpl.handleChunkCompletion(CloudOrchestrationServiceImpl.java:216)

com.snc.cloud.mgmt.modules.svccatalog.scriptinterface.BPOrchestratorServiceScript.jsFunction_handleCAPIResultChunk(BPOrchestratorServiceScript.java:100)

sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

java.lang.reflect.Method.invoke(Method.java:498)

org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138)

org.mozilla.javascript.FunctionObject.doInvoke(FunctionObject.java:670)

org.mozilla.javascript.FunctionObject.call(FunctionObject.java:614)

org.mozilla.javascript.ScriptRuntime.doCall(ScriptRuntime.java:2582)

org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)

org.mozilla.javascript.gen.sys_script_e99479820b0032003ad5c73ef6673acf_script_4432._c_executeRule_1(sys_script.e99479820b0032003ad5c73ef6673acf.script:3)

org.mozilla.javascript.gen.sys_script_e99479820b0032003ad5c73ef6673acf_script_4432.call(sys_script.e99479820b0032003ad5c73ef6673acf.script)

org.mozilla.javascript.ScriptRuntime.doCall2(ScriptRuntime.java:2648)

org.mozilla.javascript.ScriptRuntime.doCall(ScriptRuntime.java:2590)

org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42)

6 REPLIES 6

this means you can not put your mid server in DMZ zone 

 

Either it has firewall opening to all these URLs or should have internet proxy.

 

Is that understand correct. ?

My understanding is that it needs to be able to connect to all of those, either by firewall exceptions or proxy if you're using a method to secure it.  The exact nature of it would depend on how your network is set up, of course.  If your DMZ environment is open to those domains already, you wouldn't have to do anything to the DMZ mid server.

The note about customizing MID server selection is significant, because even if you do expose the fields on the Azure form and populate a specific server, it seems to ignore them (I tried, of course) unless you make changes as they reference in the article.  It may pick a DMZ mid server, one inside of the firewall, or one in Azure.  I don't know how it decides, but I saw all of them at different times regardless of what I put in the MID server selection field.