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

OpenStack Cloud Plugin 2.58 clears openstack slaves [locked with retention -1] while being used by jobs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • openstack-cloud-plugin
    • Jenkins 2.277.2,OpenStack Cloud Plugin 2.58

      Hi Team,

      We recently upgraded to Jenkins 2.277.2 as part of that, we upgraded openstack plugin to 2.58.

      After upgrade we are experiencing some issues. The openstack slave instances which are launched via plugin & marked with retention time as -1 ( to lock in "keep it forever" mode) got terminated.

      openstack slaves got removed from jenkins and Jobs which are using that openstack slaves were aborted in middle run.

      In the backend as we checked in openstack dashboard the instances were terminated.

      Please find the jenkins logs were our locked slave instances centos7-2698 & centos7-2699 are terminated while being used by jobs, because of periodic slave cleanup.

      Jenkins logs:

      ========

      2021-06-10 09:15:42.521+0000 [id=17099] INFO h.p.gearman.ComputerListenerImpl#onOffline: ---- hudson.plugins.gearman.ComputerListenerImpl: onOffline computerjenkins.plugins.openstack.compute.JCloudsComputer@718c1c72

      2021-06-10 09:15:42.521+0000 [id=17099] INFO h.plugins.gearman.GearmanProxy#stop: ---- Stop computer jenkins.plugins.openstack.compute.JCloudsComputer@718c1c72

      2021-06-10 09:16:38.314+0000 [id=17921] OFF hudson.model.AsyncPeriodicWork#lambda$doRun$0: Started OpenStack slave cleanup

      2021-06-10 09:16:38.687+0000 [id=17921] WARNING j.p.o.c.JCloudsCleanupThread#terminatesNodesWithoutServers: OpenStack server (ee129e49-5340-4c0d-b63a-e570b0b4ff0a) is not running for computer centos7-2698. Terminating!

      2021-06-10 09:16:39.089+0000 [id=17921] WARNING j.p.o.c.JCloudsCleanupThread#terminatesNodesWithoutServers: OpenStack server (f33d6d9f-c15a-46b3-a775-4935755b231a) is not running for computer centos7-2699. Terminating!

       

       

            olivergondza Oliver Gondža
            sasa1994 Sangeetha Venugopal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: