You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "rosi-achmad (via GitHub)" <gi...@apache.org> on 2026/03/02 10:01:44 UTC

Re: [I] Import-Export from External Vcenter unable to list instance [cloudstack]

rosi-achmad commented on issue #12647:
URL: https://github.com/apache/cloudstack/issues/12647#issuecomment-3983355696

   im using vcenter v6.5 and v5.5 
   
   logs for vcenter 5.5:
   
   2026-03-02 09:51:31,507 DEBUG [o.a.c.r.ApiRateLimitServiceImpl] (qtp1438988851-6633:[ctx-d2bc8f97, ctx-bc5714d1]) (logid:807ab9e1) API rate limiting is disabled. We will not use ApiRateLimitService.
   2026-03-02 09:51:31,508 DEBUG [c.c.h.v.m.VmwareManagerImpl] (qtp1438988851-6633:[ctx-d2bc8f97, ctx-bc5714d1]) (logid:807ab9e1) Connecting to the VMware datacenter DC-JTN at vCenter 10.1xx.1xx.xxx to retrieve VMs
   2026-03-02 09:51:31,508 DEBUG [c.c.h.v.m.VmwareManagerImpl] (qtp1438988851-6633:[ctx-d2bc8f97, ctx-bc5714d1]) (logid:807ab9e1) Connecting to the VMware vCenter 10.1xx.1xx.xxx
   2026-03-02 09:51:31,594 INFO  [c.c.c.ClusterManagerImpl] (Cluster-Heartbeat-1:[ctx-7e00b206]) (logid:599c99e8) No inactive management server node found
   2026-03-02 09:51:31,594 DEBUG [c.c.c.ClusterManagerImpl] (Cluster-Heartbeat-1:[ctx-7e00b206]) (logid:599c99e8) Peer scan is finished. profiler: Done. Duration: 1ms , profilerQueryActiveList: Done. Duration: 0ms, , profilerSyncClusterInfo: Done. Duration: 0ms, profilerInvalidatedNodeList: Done. Duration: 0ms, profilerRemovedList: Done. Duration: 0ms,, profilerNewList: Done. Duration: 0ms, profilerInactiveList: Done. Duration: 0ms
   2026-03-02 09:51:31,653 INFO  [c.c.h.v.u.VmwareContext] (qtp1438988851-6633:[ctx-d2bc8f97, ctx-bc5714d1]) (logid:807ab9e1) New VmwareContext object, current outstanding count: 3
   2026-03-02 09:51:31,788 ERROR [c.c.h.v.m.VmwareManagerImpl] (qtp1438988851-6633:[ctx-d2bc8f97, ctx-bc5714d1]) (logid:807ab9e1) Error retrieving VMs from the VMware VC 10.1xx.1xx.xxx datacenter DC-JTN: Cannot invoke "java.lang.Boolean.booleanValue()" because the return value of "com.vmware.vim25.VirtualMachineBootOptions.isEfiSecureBootEnabled()" is null java.lang.NullPointerException: Cannot invoke "java.lang.Boolean.booleanValue()" because the return value of "com.vmware.vim25.VirtualMachineBootOptions.isEfiSecureBootEnabled()" is null
           at com.cloud.hypervisor.vmware.mo.BaseMO.createUnmanagedInstanceTOFromThinListingDynamicProperties(BaseMO.java:229)
           at com.cloud.hypervisor.vmware.mo.BaseMO.convertVmsObjectContentsToUnmanagedInstances(BaseMO.java:188)
           at com.cloud.hypervisor.vmware.mo.DatacenterMO.getAllVmsOnDatacenter(DatacenterMO.java:163)
           at com.cloud.hypervisor.vmware.manager.VmwareManagerImpl.listVMsInDatacenter(VmwareManagerImpl.java:1673)
           at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
           at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.base/java.lang.reflect.Method.invoke(Method.java:569)
           at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
           at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
           at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
           at jdk.proxy3/jdk.proxy3.$Proxy518.listVMsInDatacenter(Unknown Source)
           at org.apache.cloudstack.api.command.admin.zone.ListVmwareDcVmsCmd.execute(ListVmwareDcVmsCmd.java:111)
           at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:173)
           at com.cloud.api.ApiServer.queueCommand(ApiServer.java:854)
           at com.cloud.api.ApiServer.handleRequest(ApiServer.java:668)
           at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:416)
           at com.cloud.api.ApiServlet$1.run(ApiServlet.java:193)
           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:190)
           at com.cloud.api.ApiServlet.doGet(ApiServlet.java:144)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:645)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:750)
           at org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1450)
           at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
           at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:554)
           at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
           at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:600)
           at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
           at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
           at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
           at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
           at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1440)
           at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
           at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:505)
           at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
           at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
           at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355)
           at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
           at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:772)
           at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
           at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
           at org.eclipse.jetty.server.Server.handle(Server.java:516)
           at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)
           at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)
           at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)
           at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
           at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
           at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
           at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:555)
           at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:410)
           at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:164)
           at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
           at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
           at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
           at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
           at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
           at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
           at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)
           at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
           at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
           at java.base/java.lang.Thread.run(Thread.java:840)
   
   2026-03-02 09:51:31,788 INFO  [c.c.a.ApiServer] (qtp1438988851-6633:[ctx-d2bc8f97, ctx-bc5714d1]) (logid:807ab9e1) Error retrieving VMs from VMware VC: Error retrieving VMs from the VMware VC 10.1xx.1xx.xxx datacenter DC-JTN: Cannot invoke "java.lang.Boolean.booleanValue()" because the return value of "com.vmware.vim25.VirtualMachineBootOptions.isEfiSecureBootEnabled()" is null
   2026-03-02 09:51:31,797 DEBUG [c.c.a.ApiServlet] (qtp1438988851-6633:[ctx-d2bc8f97, ctx-bc5714d1]) (logid:807ab9e1) ===END===  172.24.0.57 -- GET  datacentername=DC-JTN&vcenter=10.1xx.1xx.xxx&username=administrator&page=1&pagesize=10&command=listVmwareDcVms&response=json&
   
   logs for vcenter 6.5:
   
   2026-03-02 09:56:19,699 DEBUG [c.c.a.ApiServlet] (qtp1438988851-6786:[ctx-c6528762]) (logid:19bef8d8) ===START===  172.24.0.57 -- GET  datacentername=Datacenter-JTN&vcenter=10.1xx.1xx.x&username=administrator%40vsphere.local&page=1&pagesize=10&command=listVmwareDcVms&response=json&
   2026-03-02 09:56:19,699 DEBUG [c.c.a.ApiServlet] (qtp1438988851-6786:[ctx-c6528762]) (logid:19bef8d8) Two factor authentication is already verified for the user 2, so skipping
   2026-03-02 09:56:19,704 DEBUG [c.c.a.ApiServer] (qtp1438988851-6786:[ctx-c6528762, ctx-419abe13]) (logid:19bef8d8) CIDRs from which account 'Account [{"accountName":"admin","id":2,"uuid":"a704aeef-a430-11f0-988b-bc24111575e8"}]' is allowed to perform API calls: 0.0.0.0/0,::/0
   2026-03-02 09:56:19,705 INFO  [o.a.c.a.DynamicRoleBasedAPIAccessChecker] (qtp1438988851-6786:[ctx-c6528762, ctx-419abe13]) (logid:19bef8d8) Account for user id a7053689-a430-11f0-988b-bc24111575e8 is Root Admin or Domain Admin, all APIs are allowed.
   2026-03-02 09:56:19,705 DEBUG [o.a.c.a.StaticRoleBasedAPIAccessChecker] (qtp1438988851-6786:[ctx-c6528762, ctx-419abe13]) (logid:19bef8d8) RoleService is enabled. We will use it instead of StaticRoleBasedAPIAccessChecker.
   2026-03-02 09:56:19,705 DEBUG [o.a.c.r.ApiRateLimitServiceImpl] (qtp1438988851-6786:[ctx-c6528762, ctx-419abe13]) (logid:19bef8d8) API rate limiting is disabled. We will not use ApiRateLimitService.
   2026-03-02 09:56:19,706 DEBUG [c.c.h.v.m.VmwareManagerImpl] (qtp1438988851-6786:[ctx-c6528762, ctx-419abe13]) (logid:19bef8d8) Connecting to the VMware datacenter Datacenter-JTN at vCenter 10.1xx.1xx.x to retrieve VMs
   2026-03-02 09:56:19,706 DEBUG [c.c.h.v.m.VmwareManagerImpl] (qtp1438988851-6786:[ctx-c6528762, ctx-419abe13]) (logid:19bef8d8) Connecting to the VMware vCenter 10.1xx.1xx.x
   2026-03-02 09:56:19,773 INFO  [c.c.h.v.u.VmwareContext] (qtp1438988851-6786:[ctx-c6528762, ctx-419abe13]) (logid:19bef8d8) New VmwareContext object, current outstanding count: 5
   2026-03-02 09:56:19,974 ERROR [c.c.h.v.m.VmwareManagerImpl] (qtp1438988851-6786:[ctx-c6528762, ctx-419abe13]) (logid:19bef8d8) Error retrieving VMs from the VMware VC 10.1xx.1xx.x datacenter Datacenter-JTN: Cannot invoke "java.lang.Boolean.booleanValue()" because the return value of "com.vmware.vim25.VirtualMachineBootOptions.isEfiSecureBootEnabled()" is null java.lang.NullPointerException: Cannot invoke "java.lang.Boolean.booleanValue()" because the return value of "com.vmware.vim25.VirtualMachineBootOptions.isEfiSecureBootEnabled()" is null
           at com.cloud.hypervisor.vmware.mo.BaseMO.createUnmanagedInstanceTOFromThinListingDynamicProperties(BaseMO.java:229)
           at com.cloud.hypervisor.vmware.mo.BaseMO.convertVmsObjectContentsToUnmanagedInstances(BaseMO.java:188)
           at com.cloud.hypervisor.vmware.mo.DatacenterMO.getAllVmsOnDatacenter(DatacenterMO.java:163)
           at com.cloud.hypervisor.vmware.manager.VmwareManagerImpl.listVMsInDatacenter(VmwareManagerImpl.java:1673)
           at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
           at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.base/java.lang.reflect.Method.invoke(Method.java:569)
           at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
           at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
           at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
           at jdk.proxy3/jdk.proxy3.$Proxy518.listVMsInDatacenter(Unknown Source)
           at org.apache.cloudstack.api.command.admin.zone.ListVmwareDcVmsCmd.execute(ListVmwareDcVmsCmd.java:111)
           at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:173)
           at com.cloud.api.ApiServer.queueCommand(ApiServer.java:854)
           at com.cloud.api.ApiServer.handleRequest(ApiServer.java:668)
           at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:416)
           at com.cloud.api.ApiServlet$1.run(ApiServlet.java:193)
           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:190)
           at com.cloud.api.ApiServlet.doGet(ApiServlet.java:144)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:645)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:750)
           at org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1450)
           at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
           at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:554)
           at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
           at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:600)
           at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
           at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
           at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
           at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
           at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1440)
           at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
           at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:505)
           at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
           at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
           at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355)
           at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
           at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:772)
           at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
           at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
           at org.eclipse.jetty.server.Server.handle(Server.java:516)
           at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)
           at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)
           at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)
           at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
           at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
           at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
           at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:555)
           at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:410)
           at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:164)
           at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
           at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
           at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
           at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
           at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
           at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
           at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)
           at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
           at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
           at java.base/java.lang.Thread.run(Thread.java:840)
   
   2026-03-02 09:56:19,974 INFO  [c.c.a.ApiServer] (qtp1438988851-6786:[ctx-c6528762, ctx-419abe13]) (logid:19bef8d8) Error retrieving VMs from VMware VC: Error retrieving VMs from the VMware VC 10.1xx.1xx.x datacenter Datacenter-JTN: Cannot invoke "java.lang.Boolean.booleanValue()" because the return value of "com.vmware.vim25.VirtualMachineBootOptions.isEfiSecureBootEnabled()" is null
   2026-03-02 09:56:19,974 DEBUG [c.c.a.ApiServlet] (qtp1438988851-6786:[ctx-c6528762, ctx-419abe13]) (logid:19bef8d8) ===END===  172.24.0.57 -- GET  datacentername=Datacenter-JTN&vcenter=10.1xx.1xx.x&username=administrator%40vsphere.local&page=1&pagesize=10&command=listVmwareDcVms&response=json&
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org