Task #2228


Improve nodepool node launch demand calculation

Added by semyers about 7 years ago. Updated over 4 years ago.

Start date:
Due date:
% Done:


Estimated time:
Platform Release:
Target Release - Packaging:
Sprint Candidate:
Pulp 2


Because of a needed tweak to nodepool[0] we already running a fork. After chatting with elyezer, there are some further improvements I'd like to include on the fork.

Currently, nodepoold uses a tool called "geard" to determine node launch demand, based on the configure label demands of queued jobs. I believe that when nodepool was first being used, this information was not obtainable via the Jenkins API. Now, however, it is[1]. Furthermore, the geard integration simply doesn't work, afaict, for our use-case, unless we want to go nuts and bring in more pieces of openstack automation (e.g. zuul).

I've already done some preliminary work[2] to try to determine label demand based on the current jenkins build queue, so all that remains is wiring it into the nodepool fork and getting rid of the geard stuff that doesn't meet our needs.


Actions #1

Updated by semyers about 7 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to semyers
  • Priority changed from Normal to Urgent

For at least two days in a row, probably more, all of the automation has been blocked because of deadlocking in nodepool due to a lack of capacity to spawn nodes. This lack of capacity is largely due to having unused nodes spawned in our CI environment in combination with our nearness to the quotas enforced in that environment. We need to be spawning nodes beyond min-ready entirely based on label demand, allowing us to (finally!) set some label min-ready values to 0 while still seeing nodes with that label get spawned on-demand.

Actions #2

Updated by semyers about 7 years ago

  • Status changed from ASSIGNED to POST
Actions #3

Updated by semyers about 7 years ago

  • Status changed from POST to CLOSED - CURRENTRELEASE

This change has been merged, and is now running in our automation environment.

Actions #4

Updated by bmbouter over 4 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF