适用于VMware vSphere的ONTAP工具:大量ONTAP配额会导致OTV发现失败
适用场景
- 适用于VMware vSphere的ONTAP工具(OTV)
- ONTAP 9
问题描述
ONTAP中的大量配额会导致OTV发现超时。
从OTV的VSC.log中、可以看到类似的错误:
finished loading : [svms] [2024-04-10T15:40:49,727Z] [Controllercluster1] [ INFO] [192.168.0.36 - cluster1] Updated the task progress to 96% [2024-04-10T15:40:49,733Z] [Controllercluster1] [ INFO] [192.168.0.36 - cluster1] Updated the task progress to 96% [2024-04-10T15:40:49,740Z] [Controllercluster1] [ INFO] [192.168.0.36 - cluster1] Updated the task progress to 100%
[2024-04-10T15:40:49,746Z] [Controllercluster1] [DEBUG] [192.168.0.36 - cluster1] Successfully set the task to success
[2024-04-10T15:40:49,749Z] [Controllercluster1] [ INFO] [192.168.0.36 - cluster1] Updated the task progress to 100%
[2024-04-10T15:40:49,755Z] [Controllercluster1] [DEBUG] [192.168.0.36 - cluster1] Successfully set the task to success
[2024-04-10T15:40:49,756Z] [Controllercluster1] [DEBUG] CachingControllerProxy.create exit.
[2024-04-10T15:40:49,756Z] [Controllercluster1] [DEBUG] addConnection: add controller end
[2024-04-10T15:40:49,756Z] [Controllercluster1] [ERROR] addConnection: timedout - Lock duration and processing addController went beyond 45000
[2024-04-10T15:40:49,756Z] [Controllercluster1] [ERROR] discoverWithAeonFlux: discovery failed with exception. java.util.concurrent.TimeoutException: Excesive lock duration and processing addController: 190689 at com.netapp.offtap3.factories.ControllerFactory.addConnection(ControllerFactory.java:168) ~[aeonflux.jar:?] at com.netapp.vscv.server.controller.VscControllers.addController(VscControllers.java:490) ~[classes/:?] at com.netapp.vscv.server.controller.VscControllers.discoverController(VscControllers.java:310) ~[classes/:?] at com.netapp.vscv.server.ControllerDiscoverer.discover(ControllerDiscoverer.java:185) [classes/:?] at com.netapp.vscv.server.ControllerDiscoverer.call(ControllerDiscoverer.java:154) [classes/:?] at com.netapp.vscv.server.ControllerDiscoverer.call(ControllerDiscoverer.java:40) [classes/:?] at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?] at java.lang.Thread.run(Thread.java:835) [?:?] [2024-04-10T15:40:49,757Z] [Controllercluster1] [DEBUG] Discovery finished for controller cluster1 [2024-04-10T15:40:49,761Z] [controllerPersistencePool-1-thread-1] [DEBUG] Did not refresh the following resources on object "AbstractController: id: b8170700-c0a0-11e7-8475-00a098afcdc1name: cluster1_vidsecip address: 192.168.0.36" because they do not appear to be loaded: [svm_peers] [2024-04-10T15:40:49,761Z] [controllerPersistencePool-1-thread-1] [DEBUG] AbstractController: id: b8170700-c0a0-11e7-8475-00a098afcdc1name: cluster1_vidsecip address: 192.168.0.36 is going to start loading: [svm_peers]
发生超时是因为集群发现大约需要2.5分钟、其中默认超时值(i、e timeout.controller.connection)为45秒。