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

Agent installer GUI should not be installed on headless agents

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      It was on my radars several times, and now we have an issue in JENKINS-44229 where the Installer GUI propagation seems to take more than 30 seconds due to whatever reason. Likely it is caused by multiple calls by installers checking the SlaveInstallerFactor feasibility.

      Usages: https://github.com/search?q=org%3Ajenkinsci+SlaveInstallerFactory&type=Code

      Proposals:

      • ComputerLauncher class should define a new isHeadless() method
      • SlaveInstaller module should check the flag and skip installation if the GUI installer is not required

        Attachments

          Issue Links

            Activity

            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Bulk issue update: The plugin connectivity is still unstable from what I see in this and other reports. Probably the recent patches in 1.24-1.25 caused some extra instability by getting rid of interlocks between agent connection and termination logic. Apparently it impacts some reconnection scenarios due to the race conditions.

            Unfortunately I do not have capacity to work on the plugin in medium-term. So for now I am unassigning issues from myself. Ivan Fernandez Calvo was very kind to take ownership of the plugin and to handle some workload in it. Probably he will have some capacity to review the backlog I was unable to triage.

            Show
            oleg_nenashev Oleg Nenashev added a comment - Bulk issue update: The plugin connectivity is still unstable from what I see in this and other reports. Probably the recent patches in 1.24-1.25 caused some extra instability by getting rid of interlocks between agent connection and termination logic. Apparently it impacts some reconnection scenarios due to the race conditions. Unfortunately I do not have capacity to work on the plugin in medium-term. So for now I am unassigning issues from myself. Ivan Fernandez Calvo was very kind to take ownership of the plugin and to handle some workload in it. Probably he will have some capacity to review the backlog I was unable to triage.

              People

              • Assignee:
                ifernandezcalvo Ivan Fernandez Calvo
                Reporter:
                oleg_nenashev Oleg Nenashev
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: