Commit Graph

38 Commits

Author SHA1 Message Date
James E. Blair f0b4930ee5 Remove devstack plugin functional test jobs
The dependent commits mark the point at which all external usage
of these jobs has been replaced with the new jobs, so these can
be removed.

Change-Id: Ie51f9c177668190a55563fca944b825253d90f3f
Depends-On: https://review.opendev.org/667225
Depends-On: https://review.opendev.org/667992
Depends-On: https://review.opendev.org/667993
2019-06-27 17:21:52 +00:00
Zuul 3412764a98 Merge "Add Debian Buster boot tests" 2019-06-12 20:40:31 +00:00
Monty Taylor d85fb24734 Update devstack settings and docs for opendev
The most important thing is that the URL for glean is actually
wrong, which causes jobs to fail.

Also, change documentation while we're changing things.

Depends-On: https://review.opendev.org/655133
Change-Id: I127a33bfc4a3e33249120dcc7ef6142ce4e52a97
2019-04-23 13:03:21 +00:00
Ian Wienand 4379810a07 Add Debian Buster boot tests
Infra has a mirror for Debian Buster now, add boot tests

Depends-On: https://review.openstack.org/649496
Change-Id: Ib1567b2576631c078fe11d0f250aeb4e6f9fa0b3
2019-04-04 10:48:53 +11:00
Zuul bf5a206c08 Merge "Add dogpile.cache master to the -src tests" 2019-01-22 21:15:25 +00:00
Ian Wienand 515255f7a8 Add dogpile.cache master to the -src tests
This installs dogpile.cache from upstream master for the -src job.  We
recently saw breakage with openstacksdk and new versions of
dogpile.cache, this would help catch this in the future as both will
be installed from master.

Depends-On: https://review.openstack.org/625467
Depends-On: https://review.openstack.org/626075
Change-Id: I7ac90804504ff37b72d089cf0cd2c7c48858da19
2019-01-15 10:32:44 +11:00
Ian Wienand 4422d53529 Add Fedora 29 testing
Replace Fedora 28 with Fedora 29 functional testing.

Note this changes our Red Hat platforms to use NetworkManager for
interface configuration, rather than legacy scripts.  Fedora 29 has
split the legacy scripts into a new package and it marked for future
removal.  NetworkManager is the default on Centos 7 and will also be
on Centos 8, so it makes sense to use it there too.

Depends-On: https://review.openstack.org/619120
Change-Id: I640838c68a05f3b22683c1e90279725a77678526
2018-11-23 17:49:17 +11:00
Ian Wienand 7679b2c14b Update devstack test to Fedora 28
Running a bit behind on this transition ... s/27/28/ to update to
Fedora 28.  This is the default in dib now.

Change-Id: I648ab9d9ba4bba7323c432c65f3ef056703f4303
2018-10-31 11:30:00 +11:00
David Shrewsbury bade82d446 Fix plugin and examples for using openstacksdk
These appear to have been missed in: https://review.openstack.org/572829

Change-Id: I5c008c369b3789c3ae79ce89726194ab715767a9
2018-07-17 15:02:59 -04:00
Markos Chandras 06bd892248 Add opensuse-150 to nodepool dsvm
openSUSE Leap 15 is the latest version of openSUSE, bring an image
online to validate we can properly build it.

Depends-On: https://review.openstack.org/#/c/572424/
Change-Id: Ib0f48d9788aafd763e857c2d33784c4f75af4c17
2018-06-06 11:13:08 +01:00
Paul Belanger 35d589296c
Remove debian-jessie from nodepool dsvm testing
Now that debian-stretch is working as expected, we can remove
debian-jessie.

Change-Id: If897757023772bb4549e40e7fcd048998175fb5b
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-05-04 12:16:34 -04:00
Paul Belanger 3088534dc1
Add debian-stretch to nodepool-functional-py35-debian-src
Increase our test coverage for debian-stretch, as this is the latesst
stable version of debian.

Change-Id: I05cbfe9735eb0b3900203fbd423f68483b1cbf5d
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-03-30 11:12:14 -04:00
Matthew Thode 593ce04f72 add gentoo systemd image for testing
Depends-On: https://review.openstack.org/548604
Change-Id: I7efb78b509713fa021419ba50a3d8878b284293f
2018-03-29 16:36:17 +11:00
Paul Belanger ee085dfd00
Support ubuntu-bionic (18.04) with nodepool dsvm
Since ubuntu-bionic is the next LTS version of Ubuntu, start work to
ensure we can build DIBs for it.

We'll also need to bring online AFS mirrors.

Change-Id: I2e523eee4e99e5aea3d57d7ad224dbec39e2e4a5
Depends-On: https://review.openstack.org/485748
Depends-On: https://review.openstack.org/545611
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-02-26 09:23:34 -05:00
Paul Belanger 1d3989ca35
Add opensuse-tumbleweed to nodepool dsvm testing
We'd like to bring opensuse-tumbleweed online for openstack-infra, so
enable testing of tumbleweed to help catch things.

Change-Id: Id0a1fbf6f3c7df63402670f8c54f7fb3af652ae5
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-02-15 20:16:36 -05:00
Paul Belanger c857a38650 Switch to fedora-27 for nodepool dsvm
Fedora-27 is the latest supported version, switch to it. We also have
fedora-27 DIBs live in openstack-infra.

Change-Id: Iff9e01a8aab4ba50c42e5e72fabbe8cb20bc821c
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-02-15 08:41:03 +11:00
Paul Belanger 230c4ff792 Clean up old images for testing
Both fedora-25 and ubuntu-precise are nolonger tested. Remove dead
logic.

Change-Id: Ib54827bfea01cec39bd161a5a94fee350556102f
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-02-15 08:41:03 +11:00
Ian Wienand de24f25e58 Add native distro test jobs
This implements legacy-dsvm-nodepool-[distro]-src jobs as native jobs.
This seems like the best home for them, as they are run by multiple
externals such as glean and diskimage-builder.

Previously the defaults were set such that with no arguments, the
trusty test ran for nodepool-functional-py35.

To facilitate better templating, this turns all builds off by default.
The nodepool functional test is moved to a base template, and then
nodepool-functional-py35 explicitly builds and boots Xenial now
(trusty doesn't seem very useful).

The check_devstack_plugin.sh script runs after devstack, so needs to
source the stackrc file to pull in the variables about what images are
paused or not.

Additionally, the path for the script is fixed to nodepool so we can
run the job from other projects.

The redhat, ubuntu and suse legacy tests are re-implemented for their
respective builds.

This also highlighted that the opensuse test wasn't actually doing
anything.  This actually adds the configuration to build opensuse-423.

Needed-By: https://review.openstack.org/543270
Needed-By: https://review.openstack.org/543328
Needed-By: https://review.openstack.org/543329
Needed-By: https://review.openstack.org/543330
Change-Id: I203d149a1d63ac8358e1c8b878d9c2bc0ba67c02
2018-02-13 19:05:48 +11:00
Paul Belanger 1f175a4754
Add support to test fedora-26
Fedora 26 is now the latest version, so lets start supporting it for
nodepool devstack testing.

  https://fedoraproject.org/wiki/Releases/26/Schedule

Change-Id: I9cde430a8cda53357851ab527446f6b32919907e
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-07-12 07:06:45 -04:00
Clark Boylan 2852fd598a Revert "Use devstack's zookeeper support"
This reverts commit e5f5840c27.

Devstack has removed zk support from itself in favor of etcd3. We must
manage our own zk destiny.

Change-Id: Ie68d7da0c0e075826fdba77ba59e05bddb932d7b
2017-05-25 16:32:40 -07:00
Joshua Hesketh 94f33cb666 Merge branch 'master' into feature/zuulv3
The nodepool_id feature may need to be removed. I've kept it to simplify
merging both now and if we do it again later.

A couple of the tests are disabled and need reworking in a subsquent
commit.

Change-Id: I948f9f69ad911778fabb1c498aebd23acce8c89c
2017-03-30 21:46:15 +11:00
Paul Belanger fbe932e14f Rename nodepoold to nodepool-launcher
The day has come to rename nodepoold to nodepool-launcher.

Change-Id: Ic04e3cf2dbdaf914bf8f92d073acb972380708f1
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-03-29 09:28:33 -04:00
Paul Belanger cca0636bd6 Add debian-jessie DIB for dsvm testing
Add more test coverage for debian, due to recent issues with
system-config debian-jessie jobs failing. It also give projects like
glean and diskimage-builder more coverage.

Change-Id: If5e7fa98ee379f7339148de3ea6574bbcda2b032
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-03-27 11:00:35 -04:00
Paul Belanger a3d822dcde Fix fedora 25 pause bug with devstack
We mistakenly skipped this setting, as a results fedora-25 images are
built by default, causing un needed churn for our nodepool project
jobs.

Change-Id: Id91991a490709f9bbac5a4f6e9847e047b83ca51
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-03-10 11:34:38 -05:00
Monty Taylor e5f5840c27
Use devstack's zookeeper support
devstack grew the ability to install and configure zookeeper in support
of DLM and tooz. Go ahead and use it.

Change-Id: I0436abf286acc1e77d96b4df1624b8d3435ec4be
2017-03-01 10:17:20 -06:00
Paul Belanger fd2b3c921c Fix fedora 25 pause bug with devstack
We mistakenly skipped this setting, as a results fedora-25 images are
built by default, causing un needed churn for our nodepool project
jobs.

Change-Id: Id91991a490709f9bbac5a4f6e9847e047b83ca51
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-01-29 10:51:23 -05:00
Ian Wienand c13951e0d8 Add glean libs-from-git install
Change I1479c5ff5e548da559be6dc8eb51d9635a0e2c7e has added glean as
lib-from-git install, but we're not installing it in the plugin.  Add
it.

Change-Id: I144cbef93a0831cbe21b77d499130cedc2d6cc7f
2016-12-21 21:58:35 +11:00
Paul Belanger 9258a24051 Expose the ability to build all infra diskimages
Add the ability for different jobs to control which images we build in
our dsvm job.  This is needed so we can allow diskimage-builder more
control of which images to build.

Remove hardcoded apt-get for installing openssh-server, we can now use
the openssh-server element from diskimage-builder (which supports more
operating systems).

Change-Id: Ib6f48648e9ada8fd626a1811cdce262df0768c08
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-12-19 12:48:44 -05:00
James E. Blair 7ab5ea700e Remove snapshot support
We don't have plans to support building images from snapshots in the
future.  If we add it back, it will require a new builder implementation
(with zookeeper interface, etc) anyway.

In addition to removing essentially dead code, this also begins the
process of simplifying the configuration file.  It removes 'base-image'
and 'setup' from the provider image attributes since they are only used
for snapshot images.

Change-Id: I68e0d2c7017cfebe35341189b5aedb0556bcd78b
2016-11-15 12:09:20 -08:00
Ian Wienand 5d2e09fac8 Add diskimage-builder from git to dsvm job
Add the option to install diskimage-builder from git, rather than pip,
so we can run this test against dib changes to see if we get something
useful.

Change-Id: I480dcb201aa93bc3d208e2bf5e96bcee6dd7df09
2016-07-22 15:24:09 +10:00
Ian Wienand 9325e4fc78 Enable a fake statsd server for devstack testing
Enable a fake statsd listener and export the variables to make
nodepool report stats.  This ensures we're covering the path of having
this enabled during testing.

Change-Id: I43d6b5d6fa26df489a025f580c7edaeac2bbad4a
2016-02-15 13:40:45 +11:00
Gregory Haynes 9253ae99e9 Builders can be run on their own
Add entrypoint so builders can be run on their own using the
nodepool-builder command. Also update config processing so builders do
not require things like a zmq-publisher.

Change-Id: Ied1142990ca630f22044a472db77920daa4c2e5a
2016-01-12 15:33:01 -08:00
Yolanda Robla db7c48c301 Update nodepool to use secure.conf file
Depends on a new secure.conf file to grab mysql
connection and jenkins credentials. By this way,
nodepool.yaml is just a flat file without credentials,
that can be passed externally.

Co-Authored-By: Ramy Asselin <ramy.asselin@hpe.com>
Depends-On: Ie9381740e3644feaee1f1b201499e3a253677f39
Change-Id: Ifa4d500c52974b9fd3a0b7fd9c28cf8f52899ca9
2015-10-06 01:04:27 +00:00
Clark Boylan b7cc4b894b Move image location out of config location
In the devstack plugin don't write the images to the config dir for
nodepool. This prevents us from copying the built qcow2 to the log
server (saves disk space and speeds up the jobs). This also provides
logical separation from the inputs (config) to nodepool and the outputs
(images) of nodepool.

Change-Id: I066ccda8a564bf9ea144a3dda9f6d506bb130a61
2015-10-05 14:45:54 -07:00
Clark Boylan 40304d081b Install shade from source if instructed to
Use the devstack LIBS_FROM_GIT mechanism to install shade from source if
we have been asked to. This will allow us to do integration testing of
shade and nodepool using the dsvm job.

Change-Id: Ieee1225d15ba98959de5f809df240254433d5510
Depends-On: If323a7ab577c7942f4f98a42bbbb291c86d5b6f7
2015-10-02 14:37:14 -07:00
James E. Blair f76a862356 devstack: supply a logging config file
So that nodepoold runs with a logging configuration more like what
would be expected in production (eg, not one that logs debug messages
from all libraries).

Change-Id: I5113898bf57d1f365ad345b772606feec7c9e818
2015-09-21 17:36:04 -07:00
Gregory Haynes 0c6cca1f11 Run gearman server for devstack plugin
We need to run a gearman server and specify it in our config if we want
to support features which require it.

Change-Id: Ibb4d59aca2301438a30d2409e38c01b1c9a3564a
2015-08-08 00:07:18 +00:00
Sean Dague 91ec6466d2 nodepool devstack plugin
This creates a nodepool devstack plugin which can be easily enabled
through the plugin interface of:

enable_plugin nodepool git://git.openstack.org/openstack-infra/nodepool

It makes it easy to bring up a testing environment for nodepool locally.

Change-Id: Ia69412a873286c30459aa020cfb1b625590bb4ff
2015-07-31 16:14:26 -04:00