com.dtolabs.rundeck.core.resources.ResourceModelSourceException: Error running playbook.

GitHub | cwhits | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    No nodes are displayed if any are unreachable

    GitHub | 9 months ago | cwhits
    com.dtolabs.rundeck.core.resources.ResourceModelSourceException: Error running playbook.

    Root Cause Analysis

    1. com.batix.rundeck.AnsibleStepException

      ERROR: Ansible execution returned with non zero code.

      at com.batix.rundeck.AnsibleRunner.run()
    2. com.batix.rundeck
      AnsibleResourceModelSource.getNodes
      1. com.batix.rundeck.AnsibleRunner.run(AnsibleRunner.java:298)
      2. com.batix.rundeck.AnsibleResourceModelSource.getNodes(AnsibleResourceModelSource.java:70)
      2 frames
    3. com.dtolabs.rundeck
      ResourceModelSource$getNodes.call
      1. com.dtolabs.rundeck.core.resources.ExceptionCatchingResourceModelSource.getNodes(ExceptionCatchingResourceModelSource.java:57)
      2. com.dtolabs.rundeck.core.common.ProjectNodeSupport.getNodeSet(ProjectNodeSupport.java:92)
      3. com.dtolabs.rundeck.core.common.ProjectNodeSupport$ProjectNodesSource.getNodes(ProjectNodeSupport.java:292)
      4. com.dtolabs.rundeck.core.resources.ExceptionCatchingResourceModelSource.getNodes(ExceptionCatchingResourceModelSource.java:57)
      5. com.dtolabs.rundeck.core.resources.ResourceModelSource$getNodes.call(Unknown Source)
      5 frames
    4. rundeck.services.nodes
      CachedProjectNodes$reloadNodeSet.call
      1. rundeck.services.nodes.CachedProjectNodes.reloadNodeSet(CachedProjectNodes.groovy:26)
      2. rundeck.services.nodes.CachedProjectNodes$reloadNodeSet.call(Unknown Source)
      2 frames
    5. rundeck.services
      NodeService$_loadNodes_closure3.doCall
      1. rundeck.services.NodeService$_loadNodes_closure3.doCall(NodeService.groovy:232)
      2. rundeck.services.NodeService$_loadNodes_closure3.doCall(NodeService.groovy)
      2 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor820.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:606)
      3 frames
    7. Groovy
      Closure.call
      1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
      2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
      3. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207)
      4. groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
      5. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)
      6. groovy.lang.Closure.call(Closure.java:423)
      7. groovy.lang.Closure.call(Closure.java:417)
      7 frames
    8. Metrics Core
      Timer$time.call
      1. com.codahale.metrics.Timer.time(Timer.java:99)
      2. com.codahale.metrics.Timer$time.call(Unknown Source)
      2 frames
    9. Groovy
      CallSiteArray.defaultCall
      1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
      1 frame
    10. Metrics Core
      Timer$time.call
      1. com.codahale.metrics.Timer$time.call(Unknown Source)
      1 frame
    11. Unknown
      MetricswebGrailsPlugin$_addDynamicMetricMethods_closure26.doCall
      1. MetricswebGrailsPlugin$_addDynamicMetricMethods_closure26.doCall(MetricswebGrailsPlugin.groovy:174)
      1 frame
    12. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor516.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:606)
      3 frames
    13. Groovy
      AbstractCallSite.callSafe
      1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
      2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
      3. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207)
      4. groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
      5. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)
      6. groovy.lang.Closure.call(Closure.java:423)
      7. org.codehaus.groovy.runtime.metaclass.ClosureStaticMetaMethod.invoke(ClosureStaticMetaMethod.java:59)
      8. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
      9. org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoMetaMethodSiteNoUnwrap.invoke(PogoMetaMethodSite.java:230)
      10. org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.call(PogoMetaMethodSite.java:68)
      11. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:124)
      12. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callSafe(AbstractCallSite.java:96)
      12 frames
    14. rundeck.services
      NodeService.loadNodes
      1. rundeck.services.NodeService.loadNodes(NodeService.groovy:244)
      1 frame
    15. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor813.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:606)
      3 frames
    16. Groovy
      ScriptBytecodeAdapter.invokeMethodOnCurrentN
      1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
      2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
      3. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207)
      4. groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
      5. org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:80)
      5 frames
    17. rundeck.services
      NodeService$2.methodMissing
      1. rundeck.services.NodeService.this$dist$invoke$1(NodeService.groovy)
      2. rundeck.services.NodeService$2.methodMissing(NodeService.groovy)
      2 frames
    18. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor741.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:606)
      3 frames
    19. Groovy
      MetaClassImpl.invokeMethod
      1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
      2. groovy.lang.MetaClassImpl.invokeMissingMethod(MetaClassImpl.java:933)
      3. groovy.lang.MetaClassImpl.invokePropertyOrMissing(MetaClassImpl.java:1256)
      4. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1209)
      5. groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
      6. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)
      7. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807)
      7 frames
    20. rundeck.services
      NodeService$2.invokeMethod
      1. rundeck.services.NodeService$2.invokeMethod(NodeService.groovy)
      1 frame
    21. Groovy
      AbstractCallSite.callCurrent
      1. groovy.lang.MetaClassImpl.invokeMethodOnGroovyObject(MetaClassImpl.java:1272)
      2. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1166)
      3. groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
      4. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)
      5. org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
      6. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:145)
      6 frames
    22. rundeck.services
      NodeService$_2_reload_closure1.doCall
      1. rundeck.services.NodeService$_2_reload_closure1.doCall(NodeService.groovy:96)
      2. rundeck.services.NodeService$_2_reload_closure1.doCall(NodeService.groovy)
      2 frames
    23. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor946.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:606)
      3 frames
    24. Groovy
      Closure.call
      1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
      2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
      3. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207)
      4. groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
      5. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)
      6. groovy.lang.Closure.call(Closure.java:423)
      7. groovy.lang.Closure.call(Closure.java:417)
      7 frames
    25. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      1 frame
    26. Spring Core
      SimpleAsyncTaskExecutor$ConcurrencyThrottlingRunnable.run
      1. org.springframework.core.task.SimpleAsyncTaskExecutor$ConcurrencyThrottlingRunnable.run(SimpleAsyncTaskExecutor.java:251)
      1 frame
    27. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame