Nodes require a 'username' field, when they are supposed to fall back to project.ssh.user setting
Reported by Matt Wise | February 8th, 2012 @ 11:16 AM | in Rundeck 1.4.2 (closed)
Right now if you use an external nodes file, that file is required to pass a 'username=' field for each host. Without this, the doc states that RunDeck will fall back to a project-setting and then a rundeck-setting for the username. This does not work right now, and throws this error:
Failed dispatching to node bastion-20417898.xxx.com:
com.dtolabs.rundeck.core.execution.ExecutionException: Username
must be set to connect to remote node
'bastion-20417898.xxx.com'
07:08:06 Execution failed on the following 1 nodes: {bastion-20417898.cloud.nextdoor.com=[Workflow : exception: com.dtolabs.rundeck.core.execution.workflow.WorkflowStepFailureException: Step 1 of the workflow threw exception: Execution failed on the following 1 nodes: {bastion-20417898.xxx.com=Error dispatching command to the node: com.dtolabs.rundeck.core.execution.ExecutionException: Username must be set to connect to remote node 'bastion-20417898.xxx.com'}]}
Comments and changes to this ticket
-
Greg Schueler February 8th, 2012 @ 12:19 PM
- Assigned user set to Greg Schueler
- Milestone set to Rundeck 1.4.2
- Tag set to bug, node, ssh
- Milestone order changed from 127 to 0
-
Greg Schueler February 8th, 2012 @ 12:19 PM
Jsch Node executor fails if username is not set, but should just fallback to project and framework settings
-
Greg Schueler February 8th, 2012 @ 12:20 PM
- State changed from new to needs_verification
(from [a5c4bcce0debc9e0ed9b421b3c587f6e4810ce65]) Don't fail if node username is not set, allow fallback
[#515 state:needs_verification] https://github.com/dtolabs/rundeck/commit/a5c4bcce0debc9e0ed9b421b3...
-
Greg Schueler February 8th, 2012 @ 04:42 PM
- State changed from needs_verification to verified
-
Greg Schueler February 8th, 2012 @ 04:42 PM
- State changed from verified to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
(DEPRECATED) Please use github issues for issue tracking at http://github.com/dtolabs/rundeck/issues