Commit Graph

192 Commits

Author SHA1 Message Date
Adam Williamson
543ffa4c20 openqa/worker: add withlock to packages needed for createhdds
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-05-28 17:09:49 -07:00
Adam Williamson
8b561f12a6 Correct a stray extra line in previous commit
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-05-09 15:12:07 -07:00
Adam Williamson
38a6abeae5 openqa_worker: install and enable rngd on some worker hosts
Some of the worker hosts have hardware RNGs (but not the x86_64
ones). Install rng-tools and enable rngd.service on these to
hopefully help with the Rawhide RNG issue.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-05-09 15:03:15 -07:00
Kevin Fenzi
a8714caab3 first cut at changing all the old |changed to is changed per ansible deprecations 2018-05-07 23:51:48 +00:00
Adam Williamson
a8ee935cbe Fix 'when' condition for previous commits
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-03-22 16:14:10 -07:00
Adam Williamson
e6fbc29d42 Try and fix previous commit (I hate sql)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-03-22 16:11:12 -07:00
Adam Williamson
e069489ecc Tweak openQA asset size settings again
The UI makes this easier to investigate now, and it looks like
we could give x86_64 a bit more space, but other arches less.
So let's tweak things to do that. This should also reduce
overall usage on staging a bit, as it's up against its limits.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-03-22 16:06:42 -07:00
Adam Williamson
4017e9ebdc openqa: update ppc64 images.json for Atomic variant renames
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-03-06 16:09:02 -08:00
Adam Williamson
f7c87b0f75 openqa/worker: make some file existence checks safer
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-03-06 15:24:37 -08:00
Paul Whalen
970640e4f4 Add aarch64 server boot, dvd to images. 2018-03-06 09:47:32 +00:00
Paul Whalen
d05660192c Add aarch64 to workers template. 2018-03-06 09:47:01 +00:00
Paul Whalen
888c66f52e Add edk2-aarch64 to aarch64 workers. 2018-03-06 09:46:30 +00:00
Adam Williamson
fdecceb571 openqa: Fix a check in createhdds worker
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-02-23 17:21:55 -08:00
Adam Williamson
672bf06b04 openqa: do createhdds on x86_64 workers for now
1539330 is turning out to be pretty intransigent and the images
are getting very old, plus we need f28 branched base images. So
let's do image builds on the x86_64 workers for now. Also re-
enable image builds on workers - I never should've turned that
off in the first place, as they shouldn't be susceptible to the
bug.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-02-23 17:14:28 -08:00
Adam Williamson
69ed1bb554 openqa: disable createhdds cron jobs (#1539330)
Yeah, daily crashes are bad.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-01-28 01:08:44 +01:00
Adam Williamson
3f284aed9e openqa/worker: run the ppc64 script hourly
The /dev/kvm permissions just seem to keep getting reset somehow
and I'm sick of it. Let's see if this helps.
2017-12-21 16:55:35 -08:00
Adam Williamson
25d1c79a4b Tweak openQA asset size settings again
Staging is running out of space...let's kick it back down to
300, and also create a separate setting for update group asset
size. We test lots of updates, and for each update we only need
to upload one disk image, so we really don't need 300GB of
asset space for update job groups, that just means we'll keep
like 300 update disk images lying around. If PPC starts getting
incompletions again I'll have to, uh, do something? Yeahhh.
Something.
2017-11-30 11:48:22 -08:00
Adam Williamson
aa6a0c7071 wikitcms: ensure openidc-client is available for token auth
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2017-11-16 13:36:17 -08:00
Adam Williamson
d3356663d8 wikitcms token: create directory, install for fedmsg and root
Previous commit didn't work as the directory doesn't exist.
Also, I think we need the file in two places, one for root
(for if an admin runs something wikitcms-ish manually while
logged in as root) and one for fedmsg (for the usual case
when the wiki is updated by fedmsg consumers). So do that.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2017-11-16 13:24:05 -08:00
Adam Williamson
c5450c9cfe openqa, relvalconsumer: write wikitcms token file for new auth
Unattended wiki interaction with the new openidc auth method
requires a special token file which @puiterwijk created and
put in the private store for us. Have the appropriate roles
install it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2017-11-16 12:59:30 -08:00
Adam Williamson
4a6d33d863 openqa, relvalconsumer: need fedfind/wikitcms from u-t for now 2017-11-10 18:34:10 -08:00
Kevin Fenzi
afef097a3d switch all the include tasks to import tasks 2017-10-17 17:37:03 +00:00
Kevin Fenzi
a4ca0db30c more include cleanups 2017-10-15 20:22:53 +00:00
Adam Williamson
7088130aaf openqa/dispatcher: update Workstation ostree variant name
In the variant wanted images config file we use on stg.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2017-10-10 10:31:26 -07:00
Adam Williamson
1e3d6deed8 openqa/worker: add boot script to fix KVM perms and disable SMT
For some reason /dev/kvm has 0600 perms after boot on the ppc64
worker host. Also, qemu won't run unless SMT is turned off, on
ppc64. I've just been doing this manually every time the box got
restarted, but that's dumb, so let's make it happen on boot with
a script and a service to run it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2017-09-15 17:52:15 -07:00
Adam Williamson
b95bbd14b9 Sigh. More JSON fixup.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2017-09-07 11:19:05 -07:00
Adam Williamson
f0aae3c405 openqa/dispatcher: fix up images.json.ppc64 to be valid JSON
Sigh, JSON, why must you be so generally awful.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2017-09-07 10:56:18 -07:00
Adam Williamson
8969b508a8 Whoops, == not =
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2017-09-07 10:39:57 -07:00
Adam Williamson
ba788afe08 openqa/dispatcher: don't check out tests when locally modified
Also don't check out the tests if we're on master branch, but
have local modifications.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2017-09-07 09:56:23 -07:00
Adam Williamson
873c55d3fc openqa/dispatcher: Install a variant images.json for stg
To get ppc64 tasks run on stg but not prod.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2017-09-07 09:42:37 -07:00
Adam Williamson
7404c551e3 openqa/worker: correct WORKER_CLASS for ppc64 tap workers 2017-08-21 20:48:29 -07:00
Adam Williamson
cc0ae629c5 openqa/worker: more packages for createhdds, set SMT setting
One of the IBM guys helpfully pointed out we need to set this
SMT thing to 'off' for VMs to run properly. I've no idea why,
but this is how we do it!
2017-08-18 08:28:12 -07:00
Adam Williamson
84ffc60a6e openqa/worker: couple of createhdds fixups 2017-08-17 15:15:56 -07:00
Adam Williamson
dbf0ac249c Add the createhdds cronjob file to worker role 2017-08-17 14:37:37 -07:00
Adam Williamson
e0dba51352 openqa/worker: do createhdds on ppc worker
This is needed to create the ppc virt-install images (has to be
done on a machine of compatible arch).
2017-08-17 14:31:57 -07:00
Adam Williamson
e6ee55eb78 openqa/server: no root squash for rw access to factory share
Might be better to do this with some other account, but uh, for
now...
2017-08-17 14:22:42 -07:00
Adam Williamson
b5f825741a openqa/server: allow rw access to nfs share for ppc workers
We need to create the ppc hard disk images from the ppc workers,
so they need rw access to the share.
2017-08-17 14:17:18 -07:00
Adam Williamson
eeef3f1aa8 openqa/worker: ed2k-ovmf doesn't exist on ppc 2017-07-25 17:00:10 -07:00
Adam Williamson
e87463cca3 Install git on openQA workers (RHBZ #1467086)
This will avoid some unnecessary error messages in logs.
2017-07-25 16:43:55 -07:00
Adam Williamson
029da6279a openqa/dispatcher: don't do git checkout when not on master
Like with openqa/server, sometimes we have the fedora_openqa
checkout in some kind of testing state on staging. We want to
skip the git checkout step when this is the case. This is just
copied across from the server role.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2017-04-26 20:03:59 -07:00
Adam Williamson
e9ba26289a openqa/server: *REALLY* fix the Apache status thing
OK, this version actually seems to work.
2017-03-14 13:10:27 -07:00
Adam Williamson
db1150c824 Revert "openqa/server: try fixing the Apache status thing again"
This reverts commit d6e32c9901.
It didn't work.
2017-03-14 12:55:51 -07:00
Adam Williamson
d6e32c9901 openqa/server: try fixing the Apache status thing again
Seems like the config needs to be in the VirtualHost definition.
2017-03-14 12:53:38 -07:00
Adam Williamson
acf096e829 openqa/server: Mostly revert previous commit
Actually openQA playbook already includes the apache role, which
sets up the config file. The 404s are for some other reason. But
keep the comment change.
2017-03-14 12:16:12 -07:00
Adam Williamson
3fcfa93fc4 Enable mod_status on openQA server boxes
This should stop collectd generating tons of 404 requests.
2017-03-14 12:06:07 -07:00
Adam Williamson
4d4cca26a6 require resultsdb_conventions-fedora
These roles need the -fedora subpackage, not just the main lib.
2017-03-08 22:42:19 -08:00
Adam Williamson
f2a8760d1a openqa/server: check stdout not stderr for database creation 2017-03-07 23:23:08 -08:00
Adam Williamson
0e20a588bf openqa/server: allow createhdds to fail
It does, sometimes, and that probably shouldn't stop the play.
We likely already have some older images, and even if this is
the *first* creation, we can go ahead with the rest of the
deployment safely enough, and debug the image creation problem
later.
2017-03-07 11:32:32 -08:00
Adam Williamson
a52111ec54 openqa/server: remove a no-longer-needed workaround 2017-03-07 11:31:40 -08:00
Adam Williamson
db39853b51 Use packaged resultsdb_conventions, not git installed
I'll wipe the from-source installs manually, seems easiest.
2017-03-07 11:29:41 -08:00