My Oracle Support Banner

Rediscover Server Fails: Failed Because The Connection Was Closed By The Agent. (Doc ID 2624584.1)

Last updated on MARCH 05, 2020

Applies to:

Oracle VM - Version 3.4.1 and later
Information in this document applies to any platform.

Symptoms

The Manager is not able to Discover a new Server or Rediscover a current OVS Server showing this message:

OVMAPI_4033E Attempt to send command: get_api_version to server: xxx.xxx.xxx.xxx failed because the connection was closed by the agent. This could be due to an unauthorized access attempt. OVMAPI_4004E Sync command failed on server: xxx.xxx.xxx.xxx. Command: get_api_version, Server error: org.apache.xmlrpc.XmlRpcException: Failed to read server's response: Connection reset [Fri Dec 27 18:54:17 CST 2019]

Also the AdminServer.log file shows messages like these:

Server error: org.apache.xmlrpc.XmlRpcException: Failed to read server's response: Connection reset

[Fri Dec 27 19:04:50 CST 2019]
at com.oracle.ovm.mgr.action.ActionEngine.sendCommandToServer(ActionEngine.java:545)
at com.oracle.ovm.mgr.action.ActionEngine.sendServerCommand(ActionEngine.java:459)
at com.oracle.ovm.mgr.action.ServerAction.getSupportedApiVersions(ServerAction.java:612)
at com.oracle.ovm.mgr.discover.DiscoverEngine.getServerApiVersions(DiscoverEngine.java:634)
at com.oracle.ovm.mgr.discover.DiscoverEngine.updateServerApiVersions(DiscoverEngine.java:617)
at com.oracle.ovm.mgr.discover.DiscoverEngine.handleDiscover(DiscoverEngine.java:546)
at com.oracle.ovm.mgr.discover.DiscoverEngine.handleDiscover(DiscoverEngine.java:529)
at com.oracle.ovm.mgr.discover.DiscoverEngine.handleDefaultDiscover(DiscoverEngine.java:469)
at com.oracle.ovm.mgr.discover.DiscoverEngine.discoverServer(DiscoverEngine.java:192)
at com.oracle.ovm.mgr.op.physical.ServerRefresh.action(ServerRefresh.java:66)
at com.oracle.ovm.mgr.api.collectable.ManagedObjectDbImpl.executeCurrentJobOperationAction(ManagedObjectDbImpl.java:1206)
at sun.reflect.GeneratedMethodAccessor613.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:387)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:364)
at com.oracle.odof.core.storage.Transaction.invokeMethod(Transaction.java:778)
at com.oracle.odof.core.Exchange.invokeMethod(Exchange.java:244)
at com.oracle.ovm.mgr.api.physical.ServerProxy.executeCurrentJobOperationAction(Unknown Source)
at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:240)
at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:332)
at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1644)
at sun.reflect.GeneratedMethodAccessor1413.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:387)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:364)
at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:111)
at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:92)
at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:86)
at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:701)
at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:464)
at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:529)
at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:64)
at java.lang.Thread.run(Thread.java:745)
Caused By: com.oracle.ovm.mgr.api.exception.ServerOperationException: OVMAPI_4004E Sync command failed on server: xxx.xxx.xxx.xxx. Command: get_api_version,

Server error: org.apache.xmlrpc.XmlRpcException: Failed to read server's response: Connection reset

[Fri Dec 27 19:04:50 CST 2019]
at com.oracle.ovm.mgr.action.ActionEngine.sendAction(ActionEngine.java:926)
at com.oracle.ovm.mgr.action.ActionEngine.sendCommandToServer(ActionEngine.java:530)
at com.oracle.ovm.mgr.action.ActionEngine.sendServerCommand(ActionEngine.java:459)
at com.oracle.ovm.mgr.action.ServerAction.getSupportedApiVersions(ServerAction.java:612)
at com.oracle.ovm.mgr.discover.DiscoverEngine.getServerApiVersions(DiscoverEngine.java:634)
at com.oracle.ovm.mgr.discover.DiscoverEngine.updateServerApiVersions(DiscoverEngine.java:617)
at com.oracle.ovm.mgr.discover.DiscoverEngine.handleDiscover(DiscoverEngine.java:546)
at com.oracle.ovm.mgr.discover.DiscoverEngine.handleDiscover(DiscoverEngine.java:529)
at com.oracle.ovm.mgr.discover.DiscoverEngine.handleDefaultDiscover(DiscoverEngine.java:469)
at com.oracle.ovm.mgr.discover.DiscoverEngine.discoverServer(DiscoverEngine.java:192)
at com.oracle.ovm.mgr.op.physical.ServerRefresh.action(ServerRefresh.java:66)
at com.oracle.ovm.mgr.api.collectable.ManagedObjectDbImpl.executeCurrentJobOperationAction(ManagedObjectDbImpl.java:1206)
at sun.reflect.GeneratedMethodAccessor613.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:387)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:364)
at com.oracle.odof.core.storage.Transaction.invokeMethod(Transaction.java:778)
at com.oracle.odof.core.Exchange.invokeMethod(Exchange.java:244)
at com.oracle.ovm.mgr.api.physical.ServerProxy.executeCurrentJobOperationAction(Unknown Source)
at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:240)
at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:332)
at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1644)
at sun.reflect.GeneratedMethodAccessor1413.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:387)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:364)
at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:111)
at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:92)
at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:86)
at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:701)
at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:464)
at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:529)
at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:64)
at java.lang.Thread.run(Thread.java:745)
>
####<2019-12-27T19:04:50.320-0600> <Info> <com.oracle.ovm.mgr.task.AutoDiscoverTask> <ovs34-1> <AdminServer> <Scheduled Tasks-8> <> <> <374d6aa0-083b-433f-9187-5febb2d79aa0-00000004> <1577495090320> <BEA-000000> <Temporarily ignoring discover request for server: ovs34-2. It is not connected. The refresh type is: ALL>

The manager is not able to refresh the Server (in this example ovs34-1) because it get: Failed to read server's response: Connection reset

There is not a wrong status in the manager and the server is showing a wrong version in this example 3.4.2

 

And the current Version of the OVS Server is another in this example is in 3.4.6:

 

Changes

 The OVS Server was upgraded using the command yum update.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.