Skip to content

Instantly share code, notes, and snippets.

@dpetzel dpetzel/gist:5732361
Last active Dec 18, 2015

Embed
What would you like to do?
Job failure when using cascading rundeck job options
01:51:36 [me@localhost ][CONFIG] [workflow] Begin execution: rundeck-workflow-node-first context: null
01:51:36 [me@localhost ][CONFIG] preparing for sequential execution on 1 nodes
01:51:36 [me@localhost ][CONFIG] Executing command on node: MyNode, NodeEntryImpl{tags=[mytaglist], attributes={my_attributes}, project='null'}
01:51:36 [me@localhost ][CONFIG] NodeSet: MultiNodeSelector{nodenames=[MyNode]}
01:51:36 [me@localhost ][CONFIG] Workflow: com.dtolabs.rundeck.core.execution.workflow.StepFirstWorkflowStrategy$stepFirstWrapper@677ef089
01:51:36 [me@localhost ][CONFIG] data context: {node={my)_tags}, job={id=14a69b44-6b9d-466c-8f7f-36a8919953fc, project=MyProject, loglevel=DEBUG, username=me, user.name=me, name=MyJob, group=MyGroup, execid=127}, option={service_name=MyService, another_option=no, node_name=MyNode}}
01:51:36 [@ 1-NodeDispatch-exec][CONFIG] [workflow] Begin step: 1,NodeDispatch
01:51:36 [@ 1-NodeDispatch-exec][CONFIG] 1: Workflow step executing: com.dtolabs.rundeck.execution.ExecutionItemFactory$4@12d4b91e
01:51:36 [@ 1-NodeDispatch-exec][CONFIG] preparing for sequential execution on 1 nodes
01:51:36 [@ 1-NodeDispatch-exec][CONFIG] Executing command on node: MyNode, NodeEntryImpl{tags=[my_tags], attributes={my_attributes}, project='null'}
01:51:36 [_seespn_auto@MyNode 1-NodeDispatch-exec][CONFIG] [workflow] beginExecuteNodeStep(MyNode): NodeDispatch: com.dtolabs.rundeck.execution.ExecutionItemFactory$4@12d4b91e
01:51:36 [@ 1-NodeDispatch-exec][CONFIG] [workflow] finishExecuteNodeStep(MyNode): NodeDispatch: null
01:51:36 [me@localhost ][CONFIG] [workflow] Finish execution: rundeck-workflow-node-first: [Workflow , Node failures: {MyNode=[]}]
01:51:36 [null@null null null][SEVERE] [Workflow , Node failures: {MyNode=[]}]
@dpetzel

This comment has been minimized.

Copy link
Owner Author

commented Jun 7, 2013

Generated from this job configuration

- <joblist>
- <job>
  <id>ID</id> 
  <loglevel>INFO</loglevel> 
  <multipleExecutions>true</multipleExecutions> 
- <sequence keepgoing="false" strategy="node-first">
- <command>
  <exec>echo my_command --service ${option.node_name} MyJob --preserve ${option.preserve_templates.value} --validate</exec> 
  </command>
  </sequence>
  <description>Chef managed job. DO NOT EDIT</description> 
  <name>MyJob</name> 
- <context>
  <project>MyProject</project> 
- <options>
  <option required="true" multivalued="true" name="node_name" valuesUrl="file:/etc/rundeck/option_models/service_instances/${option.service_name.value}.json" delimiter="|" /> 
- <option name="preserve_templates" enforcedvalues="true" values="no,yes" value="no">
  <description>Preserve Template Classes</description> 
  </option>
- <option required="true" name="service_name" valuesUrl="http://myremote_endpoint">
  <description>Name of the service</description> 
  </option>
  </options>
  </context>
- <dispatch>
  <threadcount>1</threadcount> 
  <keepgoing>false</keepgoing> 
  <excludePrecedence>true</excludePrecedence> 
  <rankOrder>ascending</rankOrder> 
  </dispatch>
  <uuid>UUID</uuid> 
- <nodefilters>
- <include>
  <name>${option.node_name}</name> 
  </include>
  </nodefilters>
  <group>MyGroup</group> 
  </job>
  </joblist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.