manage unittest slaves with pooling infrastructure

Bug #995592 reported by Monty Taylor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Core Infrastructure
Fix Released
Medium
Elizabeth K. Joseph

Bug Description

Now that the jclouds-plugin exists for jenkins, use it to launch and manage our unittest nodes as on-demand slaves.

Tags: jenkins
Monty Taylor (mordred)
Changed in openstack-ci:
milestone: folsom → grizzly
Monty Taylor (mordred)
summary: - manage unittest slaves with jclouds
+ manage unittest slaves with pooling infrastructure
Revision history for this message
Clark Boylan (cboylan) wrote :

The Jclouds plugin is now used on jenkins.openstack.org to supplement the permanent Oneiric and Precise Jenkins slaves. New Oneiric and Precise slaves are spun up on demand by Jclouds when Jenkins doesn't have any remaining permanent slaves. These Jclouds slaves then stick around for 45 minutes after their last build.

Outstanding work that remains before this bug can be closed is making this work with Quantal. Rackspace and Jclouds apparently can't agree on how to boot a Quantal image.

Changed in openstack-ci:
assignee: nobody → Clark Boylan (cboylan)
Revision history for this message
Jeremy Stanley (fungi) wrote :

The metadata for the Quantal image in Rackspace seems to be incorrect/insufficient. This has been informally escalated to their Cloud Images Team, but I haven't heard anything back yet. I'm continuing to retry and will check back with them soon if it isn't resolved.

Revision history for this message
James E. Blair (corvus) wrote :

We could extend devstack-gate to support this.

Changed in openstack-ci:
milestone: grizzly → havana
Revision history for this message
Jeremy Stanley (fungi) wrote :

Also, we have a workaround to do quantal in rackspace via jenkins-jclouds as of a couple weeks ago, if it's needed.

Revision history for this message
Clark Boylan (cboylan) wrote :

We have disabled the Jclouds plugin as it wasn't able to consistently spin up slaves that were ready for testing before Jenkins used them. We will probably need a pool manager like devstack-gate to get this going again.

Changed in openstack-ci:
assignee: Clark Boylan (cboylan) → nobody
Revision history for this message
Clark Boylan (cboylan) wrote :

Status report. Jim write nodepool to manage our devstack gate nodes and dynamically balance them and so on. This new tool is full of fun features and we should give a shot at managing our unittest slaves with nodepool as well. This may require adding features to nodepool to allow for longer lived slaves, but adding features to nodepool should be straightforward.

Changed in openstack-ci:
milestone: havana → icehouse
Khai Do (zaro0508)
Changed in openstack-ci:
assignee: nobody → Khai Do (zaro0508)
Revision history for this message
Clark Boylan (cboylan) wrote :

Nodepool is currently managing single use precise slaves for unittest jobs in some projects. We now need to get nodepool working on fedora/centos in order to replace the static centos slaves. (note we are not replacing centos with fedora, but fedora and centos need a lot of the same fixes in nodepool and the nodepool scripts).

Revision history for this message
Elizabeth K. Joseph (lyz) wrote :

Currently working on getting Fedora working with nodepool, progress being tracked here (several reviews pending): https://etherpad.openstack.org/p/fedora-on-gate

Changed in openstack-ci:
assignee: Khai Do (zaro0508) → Elizabeth Krumbach Joseph (lyz)
Revision history for this message
Jeremy Stanley (fungi) wrote :

We did get it working on CentOS just fine and are now using it. Since we currently don't have any static slaves running Fedora anyway that shouldn't be a blocker for closing this bug.

Revision history for this message
Elizabeth K. Joseph (lyz) wrote :

Closing this bug since it is working now with our current infrastructure with CentOS. Changes to support something like Fedora will be made in a follow-up bug.

Changed in openstack-ci:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.