Hello,

In 
plugins/network-elements/netscaler/src/main/java/com/cloud/network/resource/NetscalerResource.java

I see that the test checks l370 :

> if (_deviceName.equalsIgnoreCase("NetscalerMPXLoadBalancer") && 
> nsHw.get_hwdescription().contains("MPX") ||
>                             
> _deviceName.equalsIgnoreCase("NetscalerVPXLoadBalancer") && 
> nsHw.get_hwdescription().contains("NetScaler Virtual Appliance")) {
>                         return;
>                     }
>                     throw new ExecutionException("Netscalar device type 
> specified does not match with the actuall device type.");
>                 }
>
>
However Netscaler v12 and v13 shows : " Netscaler Remote Licensed
Virtual Appliance 450000"
as value for hwdescription

Where can i add issue for this for ACS 4.16 ?
Have you got a tweak in order to getting this working ?

Regards, Benoit

Le mar. 18 janv. 2022 à 09:49, benoit lair <kurushi4...@gmail.com> a écrit :

> Hello Folks,
>
> When i try to add VPX Netscaler (version 13 or 12) i got an error  message
> on the UI :
> Add Netscaler device
> (Netscaler) Failed to verify device type specified when matching with
> actuall device type due to Netscalar device type specified does not match
> with the actuall device type.
> In the logs i have this :
>
> 2022-01-18 09:48:02,619 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
> (qtp1850777594-16:ctx-44114730 ctx-19ef6a30) (logid:96d8f8a8) submit async
> job-171, details: AsyncJobVO {id:171, userId: 2, accountId: 2,
> instanceType: None, instanceId: null, cmd:
> com.cloud.api.commands.AddNetscalerLoadBalancerCmd, cmdInfo:
> {"physicalnetworkid":"81ab1674-8acb-49bc-9e02-1323e3cd2e3f","httpmethod":"GET","ctxAccountId":"2","uuid":"aaf152ef-f8bd-4071-bfdb-75c6df1a17c5","url":"
> https://10.20.2.225?publicinterface\u003d1/4\u0026privateinterface\u003d1/4\u0026lbdevicededicated\u003dtrue","cmdEventType":"PHYSICAL.LOADBALANCER.ADD","networkdevicetype":"NetscalerVPXLoadBalancer","response":"json","ctxUserId":"2","ctxStartEventId":"1431","gslbprovider":"false","id":"aaf152ef-f8bd-4071-bfdb-75c6df1a17c5","ctxDetails":"{\"interface
> com.cloud.network.PhysicalNetwork\":\"81ab1674-8acb-49bc-9e02-1323e3cd2e3f\"}","username":"nsroot"},
> cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0,
> result: null, initMsid: 2955451650215, completeMsid: null, lastUpdated:
> null, lastPolled: null, created: null, removed: null}
> 2022-01-18 09:48:02,620 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
> (API-Job-Executor-39:ctx-e9b9b2ef job-171) (logid:4fa2b7ad) Executing
> AsyncJobVO {id:171, userId: 2, accountId: 2, instanceType: None,
> instanceId: null, cmd: com.cloud.api.commands.AddNetscalerLoadBalancerCmd,
> cmdInfo:
> {"physicalnetworkid":"81ab1674-8acb-49bc-9e02-1323e3cd2e3f","httpmethod":"GET","ctxAccountId":"2","uuid":"aaf152ef-f8bd-4071-bfdb-75c6df1a17c5","url":"
> https://10.20.2.225?publicinterface\u003d1/4\u0026privateinterface\u003d1/4\u0026lbdevicededicated\u003dtrue","cmdEventType":"PHYSICAL.LOADBALANCER.ADD","networkdevicetype":"NetscalerVPXLoadBalancer","response":"json","ctxUserId":"2","ctxStartEventId":"1431","gslbprovider":"false","id":"aaf152ef-f8bd-4071-bfdb-75c6df1a17c5","ctxDetails":"{\"interface
> com.cloud.network.PhysicalNetwork\":\"81ab1674-8acb-49bc-9e02-1323e3cd2e3f\"}","username":"nsroot"},
> cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0,
> result: null, initMsid: 2955451650215, completeMsid: null, lastUpdated:
> null, lastPolled: null, created: null, removed: null}
> 2022-01-18 09:48:02,622 DEBUG [c.c.a.ApiServlet]
> (qtp1850777594-16:ctx-44114730 ctx-19ef6a30) (logid:96d8f8a8) ===END===
>  192.168.4.31 -- GET
>  
> physicalnetworkid=81ab1674-8acb-49bc-9e02-1323e3cd2e3f&username=nsroot&networkdevicetype=NetscalerVPXLoadBalancer&gslbprovider=false&url=https:%2F%2F10.20.2.225%3Fpublicinterface%3D1%2F4%26privateinterface%3D1%2F4%26lbdevicededicated%3Dtrue&id=aaf152ef-f8bd-4071-bfdb-75c6df1a17c5&command=addNetscalerLoadBalancer&response=json
> 2022-01-18 09:48:02,665 DEBUG [c.c.a.ApiServlet]
> (qtp1850777594-19:ctx-5bf4aee9) (logid:46334c3d) ===START===  192.168.4.31
> -- GET
>  
> jobId=4fa2b7ad-6c5a-4f89-b264-6d2003d9fdf2&command=queryAsyncJobResult&response=json
> 2022-01-18 09:48:02,686 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
> (API-Job-Executor-39:ctx-e9b9b2ef job-171) (logid:4fa2b7ad) Complete async
> job-171, jobStatus: FAILED, resultCode: 530, result:
> org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":"530","errortext":"Failed
> to verify device type specified when matching with actuall device type due
> to Netscalar device type specified does not match with the actuall device
> type."}
>
>
> Anybody succeeded to add VPX to ACS 4.16 ?
>
> Regards, Benoit
>
>
>
>
>

Reply via email to