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

Swarm Client failed to create a slave with response code: 403

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • swarm-plugin
    • None
    • Jenkins ver. 2.194
      Self-Organizing Swarm Plug-in Modules 3.17
      swarm-client-3.17.jar

    Description

      Since Jenkins ver.2.192, Swarm Client failed to create a slave with response code: 403.

       

      swarm-client log

      <record>
        <date>2019-09-11T08:11:50</date>
        <millis>1568157110925</millis>
        <sequence>276</sequence>
        <logger>hudson.plugins.swarm</logger>
        <level>SEVERE</level>
        <class&gt;hudson.plugins.swarm.Client</class&gt;
        <method>run</method>
        <thread>1</thread>
        <message>RetryException occurred</message>
        <exception>
          <message>hudson.plugins.swarm.RetryException: Failed to create a slave on Jenkins, response code: 403
      &lt;html&gt;
        &lt;head&gt;
          &lt;title&gt;The page is not found&lt;/title&gt;
        &lt;/head&gt;
        &lt;body&gt;
          &lt;h1&gt;The page is not found&lt;/h1&gt;
         ...
        &lt;/body&gt;
      &lt;/html&gt;
      </message>
          <frame>
            <class&gt;hudson.plugins.swarm.SwarmClient</class&gt;
            <method>createSwarmSlave</method>
            <line>472</line>
          </frame>
          <frame>
            <class&gt;hudson.plugins.swarm.Client</class&gt;
            <method>run</method>
            <line>150</line>
          </frame>
          <frame>
            <class&gt;hudson.plugins.swarm.Client</class&gt;
            <method>main</method>
            <line>104</line>
          </frame>
        </exception>
      </record>
      

      swam-client is executed with the following command.

      java -jar /var/lib/jenkins/swarm-client.jar -master htt
      p://jenkins-master.dev.xxx.yyy.zzz/jenkins-dev/ -username XXXXX -password YYYYY -name slave-xxx -disableClientsUniqueId -description jenkins-slave-xxx -executors 1 -fsroot /var/lib/jenkins -deleteExistingClients
      

      Attachments

        Issue Links

          Activity

            ohzaki Hiroki OHZAKI created issue -
            ohzaki Hiroki OHZAKI made changes -
            Field Original Value New Value
            Status Open [ 1 ] In Progress [ 3 ]
            ohzaki Hiroki OHZAKI made changes -
            Status In Progress [ 3 ] Open [ 1 ]
            basil Basil Crow made changes -
            Link This issue duplicates JENKINS-59193 [ JENKINS-59193 ]
            basil Basil Crow made changes -
            Resolution Duplicate [ 3 ]
            Status Open [ 1 ] Closed [ 6 ]

            People

              Unassigned Unassigned
              ohzaki Hiroki OHZAKI
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: