Jump to content
Updated Privacy Statement
  • 0

Xencenter timeout issue


Preeti Nandal1709161465

Question

We are using Xencenter 7.6 and trying to import VM, which takes about three and half hours to import. While importing Xencenter losses connection to Xenservers and the import fails.Below are the logs which points towards session time out. Is there a way to increase the idle time for Xencenter.

 

 

2019-11-15 14:37:41,983 INFO  XenAdmin.Network.XenConnection [18] - Connection to XXXXXXX successful.
2019-11-15 14:37:41,987 INFO  Audit [41] - Operation success: TransferXenCenterMetadataAction: Connection unknown: Transfer Health Check settings
2019-11-15 14:37:41,987 ERROR XenAdmin.Actions.AsyncAction [39] - System.TimeoutException: The operation has timed out.
   at XenAdmin.Actions.TransferDataToHealthCheckAction.SendMessageToHealthCheck(String message)
   at XenAdmin.Actions.AsyncAction.RunWorkerThread(Object o)
2019-11-15 14:37:41,987 ERROR XenAdmin.Actions.AsyncAction [39] -    at XenAdmin.Actions.TransferDataToHealthCheckAction.SendMessageToHealthCheck(String message)
   at XenAdmin.Actions.AsyncAction.RunWorkerThread(Object o)
2019-11-15 14:37:41,987 WARN  Audit [39] - Operation failure: TransferHealthCheckSettingsAction: XYZ : Pool a3e0477b-ef87-220d-36db-7596e25f88dd (XYZ): Transfer Health Check settings
2019-11-15 14:37:49,364 WARN  XenAdmin.XenSearch.MetricUpdater [MetricUpdater] - Exception getting metrics for 
System.Net.Sockets.SocketException (0x80004005): No such host is known
   at System.Net.Dns.GetAddrInfo(String name)
   at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
   at System.Net.Dns.GetHostAddresses(String hostNameOrAddress)
   at System.Net.Sockets.Socket.Connect(String host, Int32 port)
   at XenAPI.HTTP.ConnectSocket(Uri uri, Boolean nodelay, Int32 timeout_ms)
   at XenAPI.HTTP.ConnectStream(Uri uri, IWebProxy proxy, Boolean nodelay, Int32 timeout_ms)
   at XenAPI.HTTP.DO_HTTP(Uri uri, IWebProxy proxy, Boolean nodelay, Int32 timeout_ms, String[] headers)
   at XenAPI.HTTP.GET(Uri uri, IWebProxy proxy, Int32 timeout_ms)
   at XenAdmin.XenSearch.MetricUpdater.ValuesFor(Host host)
2019-11-15 14:38:52,233 INFO  Audit [Main program thread] - Operation started: SrRefreshAction: XYZ: Pool a3e0477b-ef87-220d-36db-7596e25f88dd (XYZ): 
2019-11-15 14:38:52,233 INFO  Audit [Main program thread] - Operation started: SrRefreshAction: XYZ: Pool a3e0477b-ef87-220d-36db-7596e25f88dd (XYZ): Host f5c0a2c8-06ee-43b8-a85d-dceb88dafb69 (xenserver03a): 
2019-11-15 14:38:52,233 INFO  Audit [Main program thread] - Operation started: SrRefreshAction: XYZ: Pool a3e0477b-ef87-220d-36db-7596e25f88dd (XYZ): Host 96bb6948-988e-470e-b022-0d67f60e38c9 (xenserver04a): 
2019-11-15 14:38:52,233 INFO  XenAPI.Session [32] - Invoking JSON-RPC method 'SR.scan'
2019-11-15 14:38:52,233 INFO  XenAPI.Session [17] - Invoking JSON-RPC method 'SR.scan'
2019-11-15 14:38:52,244 INFO  XenAPI.Session [9] - Invoking JSON-RPC method 'SR.scan'
2019-11-15 14:38:53,167 INFO  Audit [17] - Operation success: SrRefreshAction: XYZ: Pool a3e0477b-ef87-220d-36db-7596e25f88dd (XYZ): Host f5c0a2c8-06ee-43b8-a85d-dceb88dafb69 (xenserver03a): Completed
2019-11-15 14:38:53,298 INFO  Audit [32] - Operation success: SrRefreshAction: XYZ: Pool a3e0477b-ef87-220d-36db-7596e25f88dd (XYZ): Completed
2019-11-15 14:38:53,603 INFO  Audit [9] - Operation success: SrRefreshAction: XYZ: Pool a3e0477b-ef87-220d-36db-7596e25f88dd (XYZ): Host 96bb6948-988e-470e-b022-0d67f60e38c9 (xenserver04a): Completed
2019-11-15 14:38:55,580 INFO  Audit [Main program thread] - Operation started: ImportVmAction: XYZ: Pool a3e0477b-ef87-220d-36db-7596e25f88dd (XYZ): Host f5c0a2c8-06ee-43b8-a85d-dceb88dafb69 (xenserver03a): Preparing to Import VM
2019-11-15 14:38:55,580 INFO  XenAPI.Session [17] - Invoking JSON-RPC method 'task.create'
2019-11-15 14:38:55,601 INFO  XenAPI.Session [17] - Invoking JSON-RPC method 'task.remove_from_other_config'
2019-11-15 14:38:55,661 INFO  XenAPI.Session [17] - Invoking JSON-RPC method 'task.add_to_other_config'
2019-11-15 14:38:55,733 INFO  XenAPI.Session [17] - Invoking JSON-RPC method 'task.remove_from_other_config'
2019-11-15 14:38:55,793 INFO  XenAPI.Session [17] - Invoking JSON-RPC method 'task.add_to_other_config'
2019-11-15 14:41:40,793 INFO  XenAdmin.Network.XenConnection [Heartbeat for ABABABABA] - Time offset for ABABABABA is now -01:00:05.2061889.  It's now 2019-11-15T14:41:40.7938111Z UTC here, and 2019-11-15T15:41:46.0000000Z UTC on the server.
2019-11-15 16:30:05,722 WARN  XenAdmin.Network.XenConnection [Connection to XXXXXXXX] - Lost connection to XXXXXXXX
2019-11-15 16:30:05,722 WARN  XenAdmin.Network.XenConnection [Connection to YYYYYYYYY] - Lost connection to YYYYYYYYY
2019-11-15 16:30:05,925 INFO  XenAdmin.Actions.ImportVmAction [Cancelling task Import VM from '\\ZZZZZZZZZZ\Temp\Poole_WSUS_Server.xva' to 'CTX-LIVEa'] - VM/Template import from '\\ZZZZZZZZZZ\Temp\Poole_WSUS_Server.xva' cancelled

2019-11-15 16:30:05,940 ERROR XenAdmin.Actions.CancellingAction [Cancelling task Import VM from '\\ZZZZZZZZZZ\Temp\Poole_WSUS_Server.xva' to 'CTX-LIVEa'] - System.NullReferenceException: Object reference not set to an instance of an object.

   at XenAPI.Task.cancel(Session session, String _task)
   at XenAdmin.Actions.CancellingAction.<CancelRelatedTask>b__7()
   at XenAdmin.Actions.CancellingAction.PerformSilentTaskOp(Action f)
System.NullReferenceException: Object reference not set to an instance of an object.
   at XenAPI.Task.cancel(Session session, String _task)
   at XenAdmin.Actions.CancellingAction.<CancelRelatedTask>b__7()
   at XenAdmin.Actions.CancellingAction.PerformSilentTaskOp(Action f)

Link to comment

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...