Hello Guys, 

So I have ACS 4.11.2 with KVM and VMware Zone. I am facing a weird issue while 
clicking on public IP range - It’s showing blank. So if I go deeper and found 
that some how the API - “listVlanIpRange” is not executing. It’s giving below 
Error - 


2021-08-12 11:34:37,456 DEBUG [c.c.a.ApiServlet] 
(qtp510113906-42840:ctx-40b971e9) (logid:b327c8d2) ===START===  198.18.4.50 -- 
GET  
command=listVlanIpRanges&zoneid=1e830804-3d18-4cf7-b371-9cfc4574b877&networkId=a1e43fdf-3cd7-46d5-8dcc-244789ce478f&response=json&_=1628778877473
2021-08-12 11:34:37,458 DEBUG [c.c.c.CapacityManagerImpl] 
(CapacityChecker:ctx-589c2cf2) (logid:4b339585) Found 2 VM, not running on host 
131
2021-08-12 11:34:37,466 DEBUG [c.c.c.CapacityManagerImpl] 
(CapacityChecker:ctx-589c2cf2) (logid:4b339585) No need to calibrate cpu 
capacity, host:131 usedCpuCore: 0 reservedCpuCore: 0
2021-08-12 11:34:37,467 DEBUG [c.c.c.CapacityManagerImpl] 
(CapacityChecker:ctx-589c2cf2) (logid:4b339585) No need to calibrate cpu 
capacity, host:131 usedCpu: 0 reservedCpu: 0
2021-08-12 11:34:37,467 DEBUG [c.c.c.CapacityManagerImpl] 
(CapacityChecker:ctx-589c2cf2) (logid:4b339585) No need to calibrate memory 
capacity, host:131 usedMem: 0 reservedMem: 0
2021-08-12 11:34:37,467 DEBUG [c.c.a.ApiServer] 
(qtp510113906-42840:ctx-40b971e9 ctx-fb92ca90) (logid:b327c8d2) CIDRs from 
which account 'Acct[c76bb5dd-90f1-11e8-8be7-000c29372a8b-admin]' is allowed to 
perform API calls: 0.0.0.0/0,::/0
2021-08-12 11:34:37,500 DEBUG [c.c.c.CapacityManagerImpl] (Thread-25:null) 
(logid:) Found 23 VMs on host 160
2021-08-12 11:34:37,525 DEBUG [c.c.c.CapacityManagerImpl] 
(CapacityChecker:ctx-589c2cf2) (logid:4b339585) Found 28 VMs on host 156
2021-08-12 11:34:37,529 ERROR [c.c.a.ApiServer] 
(qtp510113906-42840:ctx-40b971e9 ctx-fb92ca90) (logid:b327c8d2) unhandled 
exception executing api command: [Ljava.lang.String;@5d1ade57
java.lang.NullPointerException
        at 
com.cloud.api.ApiResponseHelper.isForSystemVms(ApiResponseHelper.java:772)
        at 
com.cloud.api.ApiResponseHelper.createVlanIpRangeResponse(ApiResponseHelper.java:753)
        at 
com.cloud.api.ApiResponseHelper.createVlanIpRangeResponse(ApiResponseHelper.java:672)
        at 
org.apache.cloudstack.api.command.admin.vlan.ListVlanIpRangesCmd.execute(ListVlanIpRangesCmd.java:149)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:150)
        at com.cloud.api.ApiServer.queueCommand(ApiServer.java:732)
        at com.cloud.api.ApiServer.handleRequest(ApiServer.java:556)
        at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:310)
        at com.cloud.api.ApiServlet$1.run(ApiServlet.java:130)
        at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
        at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
        at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
        at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:127)
        at com.cloud.api.ApiServlet.doGet(ApiServlet.java:89)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:686)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:791)
        at 
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:852)
        at 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:535)
        at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
        at 
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
        at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
        at 
org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:190)
        at 
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595)
        at 
org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188)
        at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253)
        at 
org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168)
        at 
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473)
        at 
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564)
        at 
org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166)
        at 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155)
        at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
        at 
org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:527)
        at 
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126)
        at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
        at org.eclipse.jetty.server.Server.handle(Server.java:530)
        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:347)    
                                                                                
                                                                                
                      
        at 
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:256)
        at 
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279)
        at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102)
        at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)
        at 
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:247)
        at 
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140)
        at 
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
        at 
org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:382)
        at 
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:708)
        at 
org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:626)
        at java.lang.Thread.run(Thread.java:748)
2021-08-12 11:34:37,534 DEBUG [c.c.a.ApiServlet] 
(qtp510113906-42840:ctx-40b971e9 ctx-fb92ca90) (logid:b327c8d2) ===END===  
198.18.4.50 -- GET  
command=listVlanIpRanges&zoneid=1e830804-3d18-4cf7-b371-9cfc4574b877&networkId=a1e43fdf-3cd7-46d5-8dcc-244789ce478f&response=json&_=1628778877473


Can someone help me in the right direction ?


Vivek Kumar
Sr. Manager - Cloud & DevOps 
IndiQus Technologies
M +91 7503460090 
www.indiqus.com




Reply via email to