Skip to content

Instantly share code, notes, and snippets.

@dpetzel
Created June 3, 2013 18:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dpetzel/5700316 to your computer and use it in GitHub Desktop.
Save dpetzel/5700316 to your computer and use it in GitHub Desktop.
09:50:27 [@ 2-rundeck-jobref][CONFIG] [workflow] Begin step: 2,rundeck-jobref
09:50:27 [@ 2-rundeck-jobref][CONFIG] 2: Workflow step executing: com.dtolabs.rundeck.execution.ExecutionItemFactory$5@46652fe2
09:50:27 [user@NODE1 1-NodeDispatch-exec][WARNING] Caught an exception, leaving main loop due to Socket closed
09:50:27 [@ 2-rundeck-jobref][SEVERE] No nodes matched for the filters: NodeSet{includes={name=${node.name}, dominant=false, }}
09:50:27 [petzeld@localhost ][CONFIG] [workflow] Finish execution: rundeck-workflow-node-first: [Workflow , Node failures: {NODE1=[]}: exception: groovy.lang.GroovyRuntimeException: Could not find matching constructor for: com.dtolabs.rundeck.core.execution.workflow.steps.StepException(com.dtolabs.rundeck.execution.JobReferenceFailureReason, java.lang.String)]
09:50:27 [null@null null null][SEVERE] Could not find matching constructor for: com.dtolabs.rundeck.core.execution.workflow.steps.StepException(com.dtolabs.rundeck.execution.JobReferenceFailureReason, java.lang.String),groovy.lang.GroovyRuntimeException: Could not find matching constructor for: com.dtolabs.rundeck.core.execution.workflow.steps.StepException(com.dtolabs.rundeck.execution.JobReferenceFailureReason, java.lang.String)
at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1481)
at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1397)
at groovy.lang.ExpandoMetaClass.invokeConstructor(ExpandoMetaClass.java:651)
at org.codehaus.groovy.runtime.callsite.MetaClassConstructorSite.callConstructor(MetaClassConstructorSite.java:46)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:202)
at rundeck.services.ExecutionService.executeWorkflowStep(ExecutionService.groovy:1833)
at com.dtolabs.rundeck.core.execution.ExecutionServiceImpl.executeStep(ExecutionServiceImpl.java:117)
at com.dtolabs.rundeck.core.execution.workflow.BaseWorkflowStrategy.executeWFItem(BaseWorkflowStrategy.java:162)
at com.dtolabs.rundeck.core.execution.workflow.BaseWorkflowStrategy.executeWorkflowItemsForNodeSet(BaseWorkflowStrategy.java:221)
at com.dtolabs.rundeck.core.execution.workflow.NodeFirstWorkflowStrategy.executeWFSection(NodeFirstWorkflowStrategy.java:281)
at com.dtolabs.rundeck.core.execution.workflow.NodeFirstWorkflowStrategy.executeWorkflowImpl(NodeFirstWorkflowStrategy.java:115)
at com.dtolabs.rundeck.core.execution.workflow.BaseWorkflowStrategy.executeWorkflow(BaseWorkflowStrategy.java:120)
at com.dtolabs.rundeck.core.execution.WorkflowExecutionServiceThread.run(WorkflowExecutionServiceThread.java:58)
@dpetzel
Copy link
Author

dpetzel commented Jun 3, 2013

Specific Job

- id: 6bb82941-d1ef-4420-8c6a-33f39b7f9469
  project: MyProject
  loglevel: INFO
  sequence:
    keepgoing: false
    strategy: node-first
    commands:
    - exec: echo ${node.name}
    - jobref:
        group: ''
        name: Restart Service Instance
        args: -service_name MyService1 -node_name ${node.name}
  description: ''
  name: MyService1 - Restart
  uuid: 6bb82941-d1ef-4420-8c6a-33f39b7f9469
  nodefilters:
    dispatch:
      threadcount: 1
      keepgoing: false
      excludePrecedence: true
      rankOrder: ascending
    include:
      name: .*NODE(01|02).*
  group: ParentGroup/SubGroup

Base Job

- id: dbbb061e-b902-4254-9835-584a300804d5
  project: MyProject
  loglevel: INFO
  sequence:
    keepgoing: false
    strategy: node-first
    commands:
    - exec: echo ${option.node_name}
    - exec: echo MyRestartCommand
  description: ''
  name: Restart Service Instance
  uuid: dbbb061e-b902-4254-9835-584a300804d5
  nodefilters:
    dispatch:
      threadcount: 1
      keepgoing: false
      excludePrecedence: true
      rankOrder: ascending
    include:
      name: ${option.node_name}
  options:
    node_name:
      required: true
    service_name:
      required: true
      description: Name of the service

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment