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

Sometimes after Jenkins restart platform labels are not available

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • None
    • Jenkins 1.410 on Red Hat Enterprise Linux 5.5 x86_64, platformlabeler 1.1

      Sometimes after Jenkins restarts, jobs tied to specific label end up in queue indefinitely, marked as 'no node labeled ... available'.

      My situation is as follows: I have 4 nodes marked (by platformlabeler) as RedHatEnterpriseServer. When Jenkins gets up, it initiates a build for three jobs, they all end up in queue with this 'no node labeled 'RedHatEnterpriseServer' available'. However, if I check any of the nodes which should be marked with this label, they all do have their label applied. The only solution for this situation is to enter configuration for any of those nodes and press Save button. All labels are then suddenly available to Jenkins and the jobs get started on every proper node.

      I don't know if this is related to platformlabeler or the core itself, but it would be nice if somebody could look at it, as this behavior requires Jenkins monitoring to see whether this happens or not.

          [JENKINS-9584] Sometimes after Jenkins restart platform labels are not available

          Mark Waite added a comment -

          I've seen a similar situation on my Debian installation. After restart, the slave node label is visible in the configuration, but the jobs will not schedule on that slave node until I save the (unchanged) configuration of the slave node.

          Mark Waite added a comment - I've seen a similar situation on my Debian installation. After restart, the slave node label is visible in the configuration, but the jobs will not schedule on that slave node until I save the (unchanged) configuration of the slave node.

            lifeless lifeless
            raspy Krzysztof Malinowski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: