Failed: ConfigurationFailure: SSH Password was not set

211 views
Skip to first unread message

vasanth G

unread,
Dec 4, 2018, 6:18:58 AM12/4/18
to rundeck-discuss
Hi,
 I am in "10.10.10.11" server. named rundeck.
 In the "10.10.10.11" i am the testuser with testpassword.(not ssh key. Its password authentication) 
 That is my control machine.
 That server contains rundeck configurations.
 That server have the file named hosts which is the ansible inventory file.
 That hosts file having only one server "11.11.11.12". This also having testuser,testpassword.
 
 By using my control machine, I entered into rundeck UI with default username and password.(admin)
 
 
 Now my work in rundeck UI is
 1. created one project.
 2. configured the source as ansible inventory file which I mention already as hosts.
 3. set password authentication as password with ssh password "testpassword" in node level.
 4. Run a command "mkdir /etc/test2018" for that remote node "11.11.11.12".

 For me that shown Error. But I set the passwords from UI. So give me the sample demo or give the correct steps in UI.

16:21:2411.11.11.12
 1. df commandFailed: ConfigurationFailure: SSH Password was not set
16:21:24rundeckExecution failed: 1212 in project ahr: [Workflow result: , step failures: {1=Dispatch failed on 1 nodes: [11.11.11.12: ConfigurationFailure: SSH Password was not set + {dataContext=MultiDataContextImpl(map={}, base=null)} ]}, Node failures: {11.11.11.12=[ConfigurationFailure: SSH Password was not set + {dataContext=MultiDataContextImpl(map={}, base=null)} ]}, status: failed]

rac...@rundeck.com

unread,
Dec 4, 2018, 7:08:06 AM12/4/18
to rundeck-discuss
HI Vasanth,

Check this please:


Ensure that you have:  ssh-authentication="password" in your node definition.

Hope it helps!.

vasanth G

unread,
Dec 4, 2018, 8:31:43 AM12/4/18
to rundeck...@googlegroups.com
Hi Racuna,
   Thanks for your reply.
   Here I search the node properties. I have that xml file only in the path - /var/lib/rundeck/var/resourceModelSourceCache/${project_name}/1.source.xml
But my project properties need the xml at the path - /var/rundeck/projects/${project_name}/etc/resources.xml
inside the /etc, I have project.properties only. There is no resources.xml file. So where I update the password!
  
 If I update the password inside the resourceModelSourceCache source, It will get refresh again once I run the job in UI.

 And another doubt is, why should I add the password again even I added that via UI.

Thanks & Regards,
    G.Vasantha Kumar
    Mobile : 86950 09298


--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discu...@googlegroups.com.
To post to this group, send email to rundeck...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rundeck-discuss/b6eb31f1-e13b-4ef1-9651-be3afa77722b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

rac...@rundeck.com

unread,
Dec 4, 2018, 8:54:35 AM12/4/18
to rundeck-discuss
Hi Vasanth,

You can create resources XML file to define your nodes; for that you go to "Project Settings" (on the left panel) > "Edit Nodes" > "Configure Nodes" button > "Add Source" button > "+ File" Option > Select "resourcesxml" on "Format" and put the path in "Path" (put "resources.xml" at the end of your path) and check "Generate", "Include Server Node" and "Writeable" checkboxes.

Now you can define yout nodes to work, and ensure that your remote node have this:

project.ssh-authentication=password <- your auth method
project.ssh-password-storage-path=keys/rundeck.password <- you must create this password on your key storage in this example i use keys/rundeck.password name but you can use the name as you want
project.ssh.user=rundeck <- the user that you use to access to remote node

Here you have a explanation about how configure:

https://www.youtube.com/watch?v=qOA-kWse22g

Regards!

vasanth G

unread,
Dec 5, 2018, 2:54:31 AM12/5/18
to rundeck...@googlegroups.com
Hi Racuna,
   Awesome!!! I didn't set keystore in rundeck. That is the problem what I did. Thank you!


Thanks & Regards,
    G.Vasantha Kumar
    Mobile : +91 86950 09298


Reply all
Reply to author
Forward
0 new messages