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

swarm-client fails to connect with 500 error while using Azure AD Plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • _unsorted
    • None
    • Jenkins 2.121.1
      Jenkins Swarm client 3.13
      Azure AD Plugin 0.3.0

      Connecting the swarm-client to Jenkins while security is set to Jenkins’ own user database is successful.

      Attempting to connect the swarm-client to Jenkins while security is set to Azure Active Directory is unsuccessful.

      $ java -jar swarm-client-3.13.jar -username USER_UPN -password USER_API_TOKEN -master http://JENKINS
      Aug 24, 2018 11:38:45 PM hudson.plugins.swarm.Client main
      INFO: Client.main invoked with: [-username USER_UPN -password PASS -master http://JENKINS]
      Aug 24, 2018 11:38:45 PM hudson.plugins.swarm.Client run
      INFO: Discovering Jenkins master
      SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
      SLF4J: Defaulting to no-operation (NOP) logger implementation
      SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
      Aug 24, 2018 11:38:45 PM hudson.plugins.swarm.SwarmClient discoverFromMasterUrl
      SEVERE: Failed to fetch slave info from Jenkins, HTTP response code: 500
      Aug 24, 2018 11:38:45 PM hudson.plugins.swarm.Client run
      SEVERE: RetryException occurred
      hudson.plugins.swarm.RetryException: Failed to fetch slave info from Jenkins, HTTP response code: 500
              at hudson.plugins.swarm.SwarmClient.discoverFromMasterUrl(SwarmClient.java:233)
              at hudson.plugins.swarm.Client.run(Client.java:146)
              at hudson.plugins.swarm.Client.main(Client.java:119) 

            jieshe Jie Shen
            siigna Steve Bouché
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: