Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Nodes require a 'username' field, when they are supposed to fall back to project.ssh.user setting

#515

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'}]}

Reported by Matt Wise · February 8th, 2012 @ 11:16 AM

State: resolved
Milestone: Rundeck 1.4.2
Assigned to: Greg Schueler Greg Schueler

Activity

  1. Greg Schueler
    Greg Schueler
    • 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

    February 8th, 2012 @ 12:19 PM

  2. Greg Schueler
    Greg Schueler

    Jsch Node executor fails if username is not set, but should just fallback to project and framework settings

    February 8th, 2012 @ 12:19 PM

  3. Greg Schueler
  4. Greg Schueler
    Greg Schueler
    • State changed from needs_verification to verified

    February 8th, 2012 @ 04:42 PM

  5. Greg Schueler
    Greg Schueler
    • State changed from verified to resolved

    February 8th, 2012 @ 04:42 PM

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.