[JIRA] (JENKINS-59664) Agent config GUI shows Known Hosts file when no strategy set

10 views
Skip to first unread message

swadsworth@gmail.com (JIRA)

unread,
Oct 4, 2019, 2:26:02 PM10/4/19
to jenkinsc...@googlegroups.com
Steven Wadsworth created an issue
 
Jenkins / Bug JENKINS-59664
Agent config GUI shows Known Hosts file when no strategy set
Issue Type: Bug Bug
Assignee: Ivan Fernandez Calvo
Components: ssh-slaves-plugin
Created: 2019-10-04 18:25
Priority: Minor Minor
Reporter: Steven Wadsworth

An agent that was created with a version of ssh-slaves-plugin that did not have the sshHostKeyVerificationStrategy will have no such entry in its config.xml.  When this Agent is inspected in the Configuration GUI, it shows KnownHostsFileKeyVerificationStrategy in the dropdown.  This is misleading, in that it appears the Agent is configured differently than it is.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

swadsworth@gmail.com (JIRA)

unread,
Oct 4, 2019, 2:32:05 PM10/4/19
to jenkinsc...@googlegroups.com
Steven Wadsworth updated an issue
Change By: Steven Wadsworth
Environment: Linux (CentOS 7.2)
Jenkins core 2.164.2
ssh-slaves-plugin 1.30.0

kuisathaverat@gmail.com (JIRA)

unread,
Oct 5, 2019, 5:50:02 AM10/5/19
to jenkinsc...@googlegroups.com
Ivan Fernandez Calvo commented on Bug JENKINS-59664
 
Re: Agent config GUI shows Known Hosts file when no strategy set

it would affect really older versions of ssh-slaves (1.13 Dec 2017)

kuisathaverat@gmail.com (JIRA)

unread,
Oct 5, 2019, 5:52:02 AM10/5/19
to jenkinsc...@googlegroups.com
it would affect really older versions of ssh-slaves (1.13 Dec 2017) , It was a design decision to use Known Host file (/home/username/.ssh/known_hosts) as a default strategy on migrated agents from versions before 1.13

kuisathaverat@gmail.com (JIRA)

unread,
Oct 5, 2019, 5:53:03 AM10/5/19
to jenkinsc...@googlegroups.com
Ivan Fernandez Calvo closed an issue as Not A Defect
 
Change By: Ivan Fernandez Calvo
Status: Open Closed
Resolution: Not A Defect

swadsworth@gmail.com (JIRA)

unread,
Oct 7, 2019, 10:53:05 AM10/7/19
to jenkinsc...@googlegroups.com
Steven Wadsworth commented on Bug JENKINS-59664
 
Re: Agent config GUI shows Known Hosts file when no strategy set

I understand that it's the default, but if it is not set and the configuration is inspected, it shows as Known Hosts but it really isn't.  A concrete example:

I looked at a server I didn't set up but needed to add a node.  I got a warning that not all nodes used Known Hosts so looked at the one I needed to use as a template.  It said that it used that strategy but it wan't.  

When  a new node is added I agree that it should be the default, but when looking at an older configuration the UI should display what the actual settings currently are.

Reply all
Reply to author
Forward
0 new messages