timja / jenkins-gh-issues-poc-06-18

0 stars 0 forks source link

[JENKINS-47010] Jenkins should not deploy installer GUI to headless SSH Agents #9392

Open timja opened 7 years ago

timja commented 7 years ago

Slave Installer module installs GUI to any SlaveComputer type for which any SlaveInstallerFactory is able to provide SlaveInstallerFactory. For unix agents we have launchd, upstart and systemd factories in modules, which contribute this installer.

There is no much sense to install GUI to headless agents. According to the analysis by campbellr, such issue may be also one of the culprits of JENKINS-27514, because GUI installation happens synchronously in onOnline() listeners. 

Code links:

Proposal


Originally reported by oleg_nenashev, imported from: Jenkins should not deploy installer GUI to headless SSH Agents
  • status: Open
  • priority: Minor
  • resolution: Unresolved
  • imported: 2022/01/10
timja commented 6 years ago

oleg_nenashev:

JENKINS-48574 is a related issue, they may be even duplicates depending on the implementation

timja commented 4 years ago

jglick:

I think it is not about whether the agent is “headless”, it is whether it is inbound (JNLPLauncher) or not (SSH and many others). So I think the bug is in SlaveInstallerModule.

timja commented 2 years ago

[Epic: JENKINS-27514]