rp- commented on issue #10465: URL: https://github.com/apache/cloudstack/issues/10465#issuecomment-2720572857
I can reproduce it, even with 4.19.2. The more interesting exception would have been this: ``` javax.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused) at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:275) at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:300) at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$0(JerseyInvocation.java:662) at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:697) at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:691 at org.glassfish.jersey.internal.Errors.process(Errors.java:292 at org.glassfish.jersey.internal.Errors.process(Errors.java:274 at org.glassfish.jersey.internal.Errors.process(Errors.java:205 at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390 at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:691 at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:661 at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:413 at org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:313 at com.linbit.linstor.api.ApiClient.invokeAPI(ApiClient.java:704 at com.linbit.linstor.api.DevelopersApi.viewResources(DevelopersApi.java:6606 at com.cloud.hypervisor.kvm.storage.LinstorStorageAdaptor.tryDisconnectLinstor(LinstorStorageAdaptor.java:388 at com.cloud.hypervisor.kvm.storage.LinstorStorageAdaptor.disconnectPhysicalDiskByPath(LinstorStorageAdaptor.java:479 at com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.disconnectPhysicalDiskByPath(KVMStoragePoolManager.java:207 at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.cleanupDisk(LibvirtComputingResource.java:3400 at com.cloud.hypervisor.kvm.resource.wrapper.LibvirtStopCommandWrapper.execute(LibvirtStopCommandWrapper.java:100 at com.cloud.hypervisor.kvm.resource.wrapper.LibvirtStopCommandWrapper.execute(LibvirtStopCommandWrapper.java:48 at com.cloud.hypervisor.kvm.resource.wrapper.LibvirtRequestWrapper.execute(LibvirtRequestWrapper.java:78 at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1930 at com.cloud.agent.Agent.processRequest(Agent.java:683 at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:1106 at com.cloud.utils.nio.Task.call(Task.java:83 at com.cloud.utils.nio.Task.call(Task.java:29 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628 at java.base/java.lang.Thread.run(Thread.java:829 Caused by: java.net.ConnectException: Connection refused (Connection refused at java.base/java.net.PlainSocketImpl.socketConnect(Native Method at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412 at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255 at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237 at java.base/java.net.Socket.connect(Socket.java:609 at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:177) ... ``` Seems the Linstor provider is still loaded in the agent and tries to disconnect the disk that doesn't belong to it. As a workaround you can restart the agents, after removing the Linstor storage, as this will not load the provider anymore. I'll try to work on a fix ignoring, such disconnect requests. -- 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-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org