-
Bug
-
Resolution: Unresolved
-
Minor
-
CentOS 7.1.1503 (64-bit)
java 1.8.0 openjdk
jenkins 1.625 installed from rpm
running jenkins natively
latest firefox browser from distro
After marking a node temporarily offline then restarting, offline status is lost, nodes are reconnected.
JENKINS-8196 implies nodes should remain marked offline across restarts.
Node Availability is "keep on-line as much as possible".
What is the meaning of "mark temporarily", what is the expected behaviour across reboots given the potential conflict of interest with Availability?
I've just upgraded from 1.565.3 to 1.690.3 and just seen this regression.
With 1.565.3 configuration of all slaves were in global /var/lib/jenkins/config.xml,
Now every node has its own config file in /var/lib/jenkins/nodes/<node_name>/config.xml. ( which is great)
With older Jenkins as soon as the node was set offline, the /var/lib/jenkins/config.xml was updated.
It is not the case any more, putting a slave offline & online will not modify the <node_name>/config.xml file.
A flush to disk is missing in the code when changing the node state.
When shutting down jenkins, the node config files are still not updated.
A workaround is to edit configuration of any slave, and just press save. This will update configuration off all slaves on disk.