[JIRA] (JENKINS-57405) Stop/Disconnect on Idle Timeout feature not working after updating Node description template

2019-05-17 Thread fabrizio.manfr...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 FABRIZIO MANFREDI commented on  JENKINS-57405  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Stop/Disconnect on Idle Timeout feature not working after updating Node description template   
 

  
 
 
 
 

 
 Hi Stefan, the Description is one of the element that is used to identify the Slaves. Change the description with instance running or in stop state, break the counting subsystem. We have to change the way how the plugin  use the tags  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199189.1557489676000.648.1558084200156%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-57405) Stop/Disconnect on Idle Timeout feature not working after updating Node description template

2019-05-10 Thread stefan.verho...@here.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Stefan Verhoeff created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-57405  
 
 
  Stop/Disconnect on Idle Timeout feature not working after updating Node description template   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 FABRIZIO MANFREDI  
 
 
Components: 
 ec2-plugin  
 
 
Created: 
 2019-05-10 12:01  
 
 
Environment: 
 Jenkins ver. 2.150.1, EC2 plugin 1.43  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Stefan Verhoeff  
 

  
 
 
 
 

 
 Observed after upgrade from EC2 plugin 1.42 to 1.43. When changing the "Description" of an EC2 node template in the Jenkins config, the "Stop/Disconnect on Idle Timeout" feature does not work anymore for any nodes created before the change. The nodes stay stopped and new nodes are created instead of the old ones re-used. This also happens for any nodes that were created on Jenkins with an EC2 plugin version <1.43. Because in 1.43 the node names are updated with more information to the instance name (PR-334 [1]). This exception happens with that affect nodes, may be related: 

 
May 10, 2019 9:55:53 AM hudson.model.AbstractCIBase updateComputer
WARNING: Error updating node EC2 (Mobility RD EU-West-1) - android-m52xlarge-eu-west-1 (i-009cd08cab2a1f2b2), continuing
java.lang.NullPointerException
at hudson.plugins.ec2.EC2RetentionStrategy.internalCheck(EC2RetentionStrategy.java:140)
at hudson.plugins.ec2.EC2RetentionStrategy.check(EC2RetentionStrategy.java:92)
at hudson.plugins.ec2.EC2RetentionStrategy.check(EC2RetentionStrategy.java:50)
at hudson.slaves.SlaveComputer$4.run(SlaveComputer.java:843)
at hudson.model.Queue._withLock(Queue.java:1381)
at hudson.model.Queue.withLock(Queue.java:1258)