Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-70394

Button 'Bring this node back online' is broken (regression in 2.385)

    • 2.389

      After upgrading to jenkins 2.385 the button "Bring this node back online" under http://<myjenkins>/manage/computer/<nodename>/ is no longer clickable.

      To reproduce, take a node offline by clicking first "Mark this node temporarily offline" and then try to bring it online again.
      The only way to bring the node back was to use the jenkins-cli-command "online-node".

      Downgrading to jenkins 2.384 solved the issue.

      Tested on ubuntu jammy with firefox 108.0.2 and chromium.

          [JENKINS-70394] Button 'Bring this node back online' is broken (regression in 2.385)

          Thanks for sharing your insights! I can confirm this is caused by https://github.com/jenkinsci/jenkins/pull/6511/files#diff-0accb1d7dc6a4f88cc1dcbc1666dbff589f0c8a399ff3926efee8b53767f5135L55-L64, released in 2.385

          Alexander Brandes added a comment - Thanks for sharing your insights! I can confirm this is caused by https://github.com/jenkinsci/jenkins/pull/6511/files#diff-0accb1d7dc6a4f88cc1dcbc1666dbff589f0c8a399ff3926efee8b53767f5135L55-L64 , released in 2.385

          Jonas added a comment -

          Another way to get around the issue, at least until it gets fixed, is by inspecting the page elements and finding the warning box that accidentally covers the button and disabling it in css. After the warning box is disabled it is possible to click the button and bring the node back online.

          Jonas added a comment - Another way to get around the issue, at least until it gets fixed, is by inspecting the page elements and finding the warning box that accidentally covers the button and disabling it in css. After the warning box is disabled it is possible to click the button and bring the node back online.

          Jens Beyer added a comment -

          Easiest workaround is: go to https://your.jenkins.instance/manage/computer/nodename/toggleOffline and send it again using the POST button there (or send that post via CURL).

          Jens Beyer added a comment - Easiest workaround is: go to https://your.jenkins.instance/manage/computer/nodename/toggleOffline and send it again using the POST button there (or send that post via CURL).

          an alternative fix to moving the buttons is to add appropriate z-index css rule to the warning to move it to the back or to the buttons to move it to the front.

          Christian Lohmaier added a comment - an alternative fix to moving the buttons is to add appropriate z-index css rule to the warning to move it to the back or to the buttons to move it to the front.

          In \war\jsbundles\styles.css path .jenkins-button changing from z-index:0 to z-index:1 worked for me.

          Rickard Lebbin added a comment - In \war\jsbundles\styles.css path .jenkins-button  changing from z-index:0 to z-index:1 worked for me.

            Unassigned Unassigned
            flx107809 Felix
            Votes:
            6 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: