VM Creation #8486
closedProvide a new SmartGears node for resource-checker plugin
Added by Roberto Cirillo over 8 years ago. Updated over 8 years ago.
100%
resource-checker-se-plugin as smart-executor plugin needs to run on the machine
/d4science.research-infrastructures.eu
smart-executor 1.5.0-4.4.0-144722
resource-checker-se-plugin 1.0.0-4.4.0-147153
"smart-executor" "whn-manager"
Description
It's needed to provide a new VM with the same requirement reported here #8197 for production environment
Related issues
Updated by Andrea Dell'Amico over 8 years ago
- Status changed from New to In Progress
resource-checker.d4science.org 146.48.123.124
Updated by Andrea Dell'Amico over 8 years ago
- Blocks Task #8103: a nagios script must be scheduled every 24 h to add a list of resources to all scopes added
Updated by Andrea Dell'Amico over 8 years ago
- Status changed from In Progress to Feedback
The VM has been configured. I see exceptions in the ghn.log file but I don't know what's wrong:
20:09:31.476 [pool-8-thread-2] ERROR SmartExecutorInitializator: Unable to instantiate SmartExecutorPersistenceConnector for scope /d4science.research-infrastructures.eu/SmartArea. The Service will be aborted java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:635) ~[na:1.7.0_80] at java.util.ArrayList.get(ArrayList.java:411) ~[na:1.7.0_80] at org.gcube.vremanagement.executor.persistence.SmartExecutorPersistenceConfiguration.getServiceEndpoint(SmartExecutorPersistenceConfiguration.java:133) ~[SmartExecutorPersistenceConfiguration.class:na] at org.gcube.vremanagement.executor.persistence.SmartExecutorPersistenceConfiguration.<init>(SmartExecutorPersistenceConfiguration.java:55) ~[SmartExecutorPersistenceConfiguration.class:na] at org.gcube.vremanagement.executor.persistence.SmartExecutorPersistenceFactory.getPersistenceConnector(SmartExecutorPersistenceFactory.java:55) ~[SmartExecutorPersistenceFactory.class:na] at org.gcube.vremanagement.executor.SmartExecutorInitializator.onInit(SmartExecutorInitializator.java:305) ~[SmartExecutorInitializator.class:na] at org.gcube.smartgears.RegisterApplicationManagerObserver$InitAppManager.call(RegisterApplicationManagerObserver.java:157) [common-smartgears-app-2.0.2-4.4.0-144087.jar:na] at org.gcube.smartgears.RegisterApplicationManagerObserver$InitAppManager.call(RegisterApplicationManagerObserver.java:138) [common-smartgears-app-2.0.2-4.4.0-144087.jar:na] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_80] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_80] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_80] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_80] 20:09:31.479 [pool-8-thread-2] WARN RegisterApplicationManagerObserver: error on onInit of org.gcube.vremanagement.executor.SmartExecutorInitializator on token c9c304bb-9d85-4577-9acc-c983c9343c64-843339462 java.lang.RuntimeException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at org.gcube.vremanagement.executor.SmartExecutorInitializator.onInit(SmartExecutorInitializator.java:309) ~[SmartExecutorInitializator.class:na] at org.gcube.smartgears.RegisterApplicationManagerObserver$InitAppManager.call(RegisterApplicationManagerObserver.java:157) [common-smartgears-app-2.0.2-4.4.0-144087.jar:na] at org.gcube.smartgears.RegisterApplicationManagerObserver$InitAppManager.call(RegisterApplicationManagerObserver.java:138) [common-smartgears-app-2.0.2-4.4.0-144087.jar:na] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_80] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_80] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_80] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_80] Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:635) ~[na:1.7.0_80] at java.util.ArrayList.get(ArrayList.java:411) ~[na:1.7.0_80]
@lucio.lelii@isti.cnr.it @roberto.cirillo@isti.cnr.it any hints?
Updated by Roberto Cirillo over 8 years ago
- Status changed from Feedback to In Progress
- Assignee changed from _InfraScience Systems Engineer to Roberto Cirillo
I see several scopes not needed in the container.xml. First of all I'm going to change the scopes.
Updated by Roberto Cirillo over 8 years ago
after the restart I see the following exception:
11:02:59.691 [pool-8-thread-1] ERROR SmartExecutorInitializator: Unable to instantiate SmartExecutorPersistenceConnector for scope /d4science.research-infrastructures.eu. The Service will be aborted java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:635) ~[na:1.7.0_80] at java.util.ArrayList.get(ArrayList.java:411) ~[na:1.7.0_80] at org.gcube.vremanagement.executor.persistence.SmartExecutorPersistenceConfiguration.getServiceEndpoint(SmartExecutorPersistenceConfiguration.java:133) ~[SmartExecutorPersistenceConfiguration.class:na] at org.gcube.vremanagement.executor.persistence.SmartExecutorPersistenceConfiguration.<init>(SmartExecutorPersistenceConfiguration.java:55) ~[SmartExecutorPersistenceConfiguration.class:na] at org.gcube.vremanagement.executor.persistence.SmartExecutorPersistenceFactory.getPersistenceConnector(SmartExecutorPersistenceFactory.java:55) ~[SmartExecutorPersistenceFactory.class:na] at org.gcube.vremanagement.executor.SmartExecutorInitializator.onInit(SmartExecutorInitializator.java:305) ~[SmartExecutorInitializator.class:na] at org.gcube.smartgears.RegisterApplicationManagerObserver$InitAppManager.call(RegisterApplicationManagerObserver.java:157) [common-smartgears-app-2.0.2-4.4.0-144087.jar:na] at org.gcube.smartgears.RegisterApplicationManagerObserver$InitAppManager.call(RegisterApplicationManagerObserver.java:138) [common-smartgears-app-2.0.2-4.4.0-144087.jar:na] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_80] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_80] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_80] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_80] 11:02:59.693 [pool-8-thread-1] WARN RegisterApplicationManagerObserver: error on onInit of org.gcube.vremanagement.executor.SmartExecutorInitializator on token 031d1153-bac6-41fd-b6e3-ded6bece9cf0-843339462 java.lang.RuntimeException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at org.gcube.vremanagement.executor.SmartExecutorInitializator.onInit(SmartExecutorInitializator.java:309) ~[SmartExecutorInitializator.class:na] at org.gcube.smartgears.RegisterApplicationManagerObserver$InitAppManager.call(RegisterApplicationManagerObserver.java:157) [common-smartgears-app-2.0.2-4.4.0-144087.jar:na] at org.gcube.smartgears.RegisterApplicationManagerObserver$InitAppManager.call(RegisterApplicationManagerObserver.java:138) [common-smartgears-app-2.0.2-4.4.0-144087.jar:na] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_80] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_80] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_80] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_80] Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:635) ~[na:1.7.0_80] at java.util.ArrayList.get(ArrayList.java:411) ~[na:1.7.0_80] at org.gcube.vremanagement.executor.persistence.SmartExecutorPersistenceConfiguration.getServiceEndpoint(SmartExecutorPersistenceConfiguration.java:133) ~[SmartExecutorPersistenceConfiguration.class:na] at org.gcube.vremanagement.executor.persistence.SmartExecutorPersistenceConfiguration.<init>(SmartExecutorPersistenceConfiguration.java:55) ~[SmartExecutorPersistenceConfiguration.class:na] at org.gcube.vremanagement.executor.persistence.SmartExecutorPersistenceFactory.getPersistenceConnector(SmartExecutorPersistenceFactory.java:55) ~[SmartExecutorPersistenceFactory.class:na] at org.gcube.vremanagement.executor.SmartExecutorInitializator.onInit(SmartExecutorInitializator.java:305) ~[SmartExecutorInitializator.class:na] ... 6 common frames omitted
This exception is due to an old ServiceEndpoint (VREManagement-SmartExecutorPersistenceConfiguration) present on "/d4science-research-infrastructures.eu" scope. This service endpoint have couchDB as backend while in dev infrastructure we have an OrientDB backend. If this is the case we need to do the following actions:
- upgrade all the SmartExecutor instances in production environment
- update the ServiceEndpoint resource on D4science infrastructure
Updated by Roberto Cirillo over 8 years ago
- Blocked by Task #8527: Edit ServiceEndpoint (VREManagement-SmartExecutorPersistenceConfiguration) for smartexecutor in production environment added
Updated by Roberto Cirillo over 8 years ago
- Status changed from In Progress to Paused
Updated by Roberto Cirillo over 8 years ago
- Status changed from Paused to In Progress
- % Done changed from 0 to 100
Updated by Roberto Cirillo over 8 years ago
- Status changed from In Progress to Feedback
@costantino.perciante@isti.cnr.it could you check if the service works properly now, please?
Updated by Roberto Cirillo over 8 years ago
- Assignee changed from Roberto Cirillo to Costantino Perciante
Updated by Costantino Perciante over 8 years ago
- Status changed from Feedback to Closed
it works! It has been scheduled every 2 hours