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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • swarm-plugin
    • None
    • Jenkins ver. 2.194
      Self-Organizing Swarm Plug-in Modules 3.17
      swarm-client-3.17.jar

      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
      

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

              Created:
              Updated:
              Resolved: