[JIRA] [slave-setup] (JENKINS-13140) Disconnected slaves come back online within a few minutes

2014-02-27 Thread mweb...@java.net (JIRA)














































mwebber
 commented on  JENKINS-13140


Disconnected slaves come back online within a few minutes















Instead of only disconnecting, configure the slave to also have an in demand connection delay of 100. Works like a charm.
I don't see a "demand connection delay" setting. Is this supplied by a particular plugin that I don't have?



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [slave-setup] (JENKINS-13140) Disconnected slaves come back online within a few minutes

2014-02-27 Thread mweb...@java.net (JIRA)












































 
mwebber
 edited a comment on  JENKINS-13140


Disconnected slaves come back online within a few minutes
















Instead of only disconnecting, configure the slave to also have an in demand connection delay of 100. Works like a charm.
I don't see a "demand connection delay" setting anywhere in the web UI. Is this supplied by a particular plugin that I don't have?



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [slave-setup] (JENKINS-13140) Disconnected slaves come back online within a few minutes

2014-02-27 Thread mweb...@java.net (JIRA)












































 
mwebber
 edited a comment on  JENKINS-13140


Disconnected slaves come back online within a few minutes
















Instead of only disconnecting, configure the slave to also have an in demand connection delay of 100. Works like a charm.
I don't see a "demand connection delay" setting anywhere in the web UI. Is this supplied by a particular plugin that I don't have? Note that I'm using regular dumb slaves, not swarm.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [slave-setup] (JENKINS-13140) Disconnected slaves come back online within a few minutes

2014-02-27 Thread dan...@beckweb.net (JIRA)














































Daniel Beck
 commented on  JENKINS-13140


Disconnected slaves come back online within a few minutes















mwebber: Right, sorry about that. I assumed you took a look at the option I mentioned earlier before posting a response. Just change it to Take this slave online when in demand and offline when idle (present for SSH slaves in 1.532.x) and my comment will make sense.

Obviously you do not want to 'Keep this slave online as much as possible', so there's no point in selecting that value.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [slave-setup] (JENKINS-13140) Disconnected slaves come back online within a few minutes

2014-02-26 Thread mweb...@java.net (JIRA)














































mwebber
 commented on  JENKINS-13140


Disconnected slaves come back online within a few minutes















Can the 'Availability' option in the slave config be used to not reconnect automatically?
Err ... how? Did you look at options for 'Availability' and come up with an idea, or did you just see an option called 'Availability and idly speculate as to what it might do?




























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [slave-setup] (JENKINS-13140) Disconnected slaves come back online within a few minutes

2014-02-26 Thread mweb...@java.net (JIRA)












































 
mwebber
 edited a comment on  JENKINS-13140


Disconnected slaves come back online within a few minutes
















Can the 'Availability' option in the slave config be used to not reconnect automatically?
Err ... how? Did you look at options for 'Availability' and come up with an idea, or did you just see an option called 'Availability' and idly speculate as to what it might do?




























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [slave-setup] (JENKINS-13140) Disconnected slaves come back online within a few minutes

2014-02-26 Thread dan...@beckweb.net (JIRA)














































Daniel Beck
 commented on  JENKINS-13140


Disconnected slaves come back online within a few minutes















mwebber: Instead of only disconnecting, configure the slave to also have an in demand connection delay of 100. Works like a charm.

It'd be better if slave processes weren't started while they're marked offline, then you could just configure all your slaves with in demand delay 0/idle delay 100 and have effectively regular 'always on' slaves that don't automatically reconnect. Maybe this can be improved in core.



Since the user reporting this issue originally mentioned that the goal was accomplished through "mark offline", it'd help if anyone interested in this could provide a use case. Starting new builds can be prevented after all.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [slave-setup] (JENKINS-13140) Disconnected slaves come back online within a few minutes

2014-02-26 Thread dan...@beckweb.net (JIRA)














































Daniel Beck
 commented on  JENKINS-13140


Disconnected slaves come back online within a few minutes















Something approaching a fix should be a trivial change in RetentionStrategy:

If the node is disconnected, and isn't launching, and can be launched, launch it if not marked offline by the user.

Would that work?

Never reconnecting could be annoying with disconnects due to error, so I doubt that's an option.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [slave-setup] (JENKINS-13140) Disconnected slaves come back online within a few minutes

2014-02-25 Thread mweb...@java.net (JIRA)














































mwebber
 reopened  JENKINS-13140


Disconnected slaves come back online within a few minutes
















This is still an issue, at least as of Jenkins 1.522.

I note that there are two actions you can take for a node:

	"mark temporarily offline" which keeps the slave.jar running, but doesn’t send any new jobs to the slave
	"disconnect" which means kill the slave.jar process (however, the slave process will be restarted in a few minutes)



There is no option to actually kill the slave process, and stop it restarting.

Also, there is confusion in the Jenkins code about what these options mean. If I "mark temporarily offline", then on the node staus page, it says "disconnected by ...", which is just mixing up two things that are supposed to be distinct.

A rethink of what the options are is needed.





Change By:


mwebber
(25/Feb/14 10:38 AM)




Resolution:


NotADefect





Status:


Closed
Reopened



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [slave-setup] (JENKINS-13140) Disconnected slaves come back online within a few minutes

2014-02-25 Thread mweb...@java.net (JIRA)














































mwebber
 commented on  JENKINS-13140


Disconnected slaves come back online within a few minutes















The original poster said:
An alternative option is the "temporarily remove" a slave. This does what I had in mind. Jenkins ignores this slave and does not bring it back online

There's no such option as "temporarily remove", at least in recent Jenkins releases. Perhaps he meant "mark temporarily offline". Although this does means Jenkins ignores the slave, it stil leaves the slave process running.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [slave-setup] (JENKINS-13140) Disconnected slaves come back online within a few minutes

2014-02-25 Thread dan...@beckweb.net (JIRA)














































Daniel Beck
 commented on  JENKINS-13140


Disconnected slaves come back online within a few minutes















Can the 'Availability' option in the slave config be used to not reconnect automatically?



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [slave-setup] (JENKINS-13140) Disconnected slaves come back online within a few minutes

2013-04-03 Thread david.pars...@gmail.com (JIRA)















































David Pärsson
 closed  JENKINS-13140 as Not A Defect


Disconnected slaves come back online within a few minutes
















Change By:


David Pärsson
(03/Apr/13 2:31 PM)




Status:


Resolved
Closed



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.