[JIRA] (JENKINS-56403) Renaming jenkins agents persists previously named agent on restart

0 views
Skip to first unread message

anish.dangi@gmail.com (JIRA)

unread,
Mar 4, 2019, 8:05:01 PM3/4/19
to jenkinsc...@googlegroups.com
Anish Dangi updated an issue
 
Jenkins / Bug JENKINS-56403
Renaming jenkins agents persists previously named agent on restart
Change By: Anish Dangi
Summary: Renaming jenkins agents persists old agents alongside old agents previously named agent on restart
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

anish.dangi@gmail.com (JIRA)

unread,
Mar 4, 2019, 8:39:01 PM3/4/19
to jenkinsc...@googlegroups.com

anish.dangi@gmail.com (JIRA)

unread,
Mar 4, 2019, 8:55:01 PM3/4/19
to jenkinsc...@googlegroups.com

jglick@cloudbees.com (JIRA)

unread,
Mar 5, 2019, 8:50:16 AM3/5/19
to jenkinsc...@googlegroups.com
Jesse Glick commented on Bug JENKINS-56403
 
Re: Renaming jenkins agents persists previously named agent on restart

If it is a regression my casual guess would be that it was introduced with Nodes by Stephen Connolly in JENKINS-27565. Either way, it ought to be easy enough to fix given a functional test with RestartableJenkinsRule. I suspect Nodes.replaceNode needs to do a directory rename when the old and new names differ.

anish.dangi@gmail.com (JIRA)

unread,
Mar 7, 2019, 7:33:02 PM3/7/19
to jenkinsc...@googlegroups.com

Jesse Glick This was caused by JENKINS-33780 . It replaced the prior method which performed a config save after updating the list of nodes, with the replaceNode method, which didn't do so. I opened a PR to address this. https://github.com/jenkinsci/jenkins/pull/3925

jglick@cloudbees.com (JIRA)

unread,
Mar 18, 2019, 3:26:03 PM3/18/19
to jenkinsc...@googlegroups.com
Jesse Glick started work on Bug JENKINS-56403
 
Change By: Jesse Glick
Status: Open In Progress

jglick@cloudbees.com (JIRA)

unread,
Mar 18, 2019, 3:26:04 PM3/18/19
to jenkinsc...@googlegroups.com

jglick@cloudbees.com (JIRA)

unread,
Mar 18, 2019, 3:26:04 PM3/18/19
to jenkinsc...@googlegroups.com

bmathus+ossjira@cloudbees.com (JIRA)

unread,
Apr 18, 2019, 9:09:03 AM4/18/19
to jenkinsc...@googlegroups.com

bmathus+ossjira@cloudbees.com (JIRA)

unread,
Apr 18, 2019, 9:09:04 AM4/18/19
to jenkinsc...@googlegroups.com
Change By: Baptiste Mathus
Status: In Review Fixed but Unreleased
Resolution: Fixed
Released As: 2.174 (tentative)

bmathus+ossjira@cloudbees.com (JIRA)

unread,
Apr 18, 2019, 9:10:02 AM4/18/19
to jenkinsc...@googlegroups.com
Baptiste Mathus commented on Bug JENKINS-56403
 
Re: Renaming jenkins agents persists previously named agent on restart

Thanks Anish Dangi this was merged earlier today, and should land in next weekly release. Likely 2.174

bmathus+ossjira@cloudbees.com (JIRA)

unread,
Apr 19, 2019, 3:50:02 AM4/19/19
to jenkinsc...@googlegroups.com
Baptiste Mathus updated an issue
Change By: Baptiste Mathus
Labels: core jenkins lts-candidate regression

o.v.nenashev@gmail.com (JIRA)

unread,
Apr 25, 2019, 11:54:03 AM4/25/19
to jenkinsc...@googlegroups.com
Change By: Oleg Nenashev
Status: Fixed but Unreleased Resolved
Released As: 2.174 (tentative)

anish.dangi@gmail.com (JIRA)

unread,
May 7, 2019, 6:02:02 PM5/7/19
to jenkinsc...@googlegroups.com
Anish Dangi commented on Bug JENKINS-56403
 
Re: Renaming jenkins agents persists previously named agent on restart

Baptiste Mathus Thanks. This seems like a safe candidate for backporting to older LTS releases. Would you consider that?

bmathus+ossjira@cloudbees.com (JIRA)

unread,
May 9, 2019, 4:13:02 AM5/9/19
to jenkinsc...@googlegroups.com
Baptiste Mathus updated an issue
Change By: Baptiste Mathus
Labels: 2.164.3-rejected core jenkins lts-candidate regression

bmathus+ossjira@cloudbees.com (JIRA)

unread,
May 9, 2019, 4:13:03 AM5/9/19
to jenkinsc...@googlegroups.com

bmathus+ossjira@cloudbees.com (JIRA)

unread,
May 9, 2019, 4:16:02 AM5/9/19
to jenkinsc...@googlegroups.com
Baptiste Mathus commented on Bug JENKINS-56403
 
Re: Renaming jenkins agents persists previously named agent on restart

Anish Dangi I proposed it for upcoming 2.164.3, but it has been rejected. See https://groups.google.com/d/msgid/jenkinsci-dev/845a8da6-c20e-1f50-e69e-319fe283b1f7%40gmail.com for the discussion.

Given the new selected baseline for lts is higher than 2.174, no backport will be needed.

Thanks

anish.dangi@gmail.com (JIRA)

unread,
Jun 13, 2019, 4:01:28 PM6/13/19
to jenkinsc...@googlegroups.com

Baptiste Mathus I don't see this mentioned in the jenkins 2.176 LTS changelog at https://jenkins.io/changelog-stable/. Is this actually included?

anish.dangi@gmail.com (JIRA)

unread,
Jun 13, 2019, 4:02:01 PM6/13/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages