Commit Graph

59 Commits

Author SHA1 Message Date
Adam Williamson
5759ecd1b6 openqa/worker: try and avoid failures in the NFS mount
I thought just having it WantedBy remote-fs.target should be
enough, but in fact this mount often fails on boot, and I forget
to check all the worker boxes until a bunch of tests fail and
everyone is sad. Let's try After=network-online.target and see
if that helps.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-06-15 09:11:40 -07:00
Paul W. Frields
7ef3be1d94 openqa: all roles change dnf -> package 2019-06-11 14:39:52 +00:00
Kevin Fenzi
4b31ac5152 ansible: Change all our group names from foo-bar to foo_bar or foo-bar-baz to foo_bar_baz
In ansible 2.8 the - character isn't supposed to be valid in group names.
While we could override this, might has well just bite the bullet and change it.
So, just switch all group names to use _ instead of -

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-20 17:38:09 +00:00
Peter Robinson
a3b174ccf7 aarch64: add edk2-arm UEFI firmware for oz/imagefactory/openqa for armhfp on aarch64 processes 2019-02-28 20:59:49 +00:00
Adam Williamson
5a902d0cca Make ifcfg change for openqa-ppc64le as well, and drop hack
Hopefully this bit in tap-setup.yml can now go away, as this
approach of using ansible_ifcfg_whitelist and _disabled does the
same thing in a cleaner way.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-12-15 10:06:54 -08:00
Adam Williamson
fb01e9ad79 openqa/worker: install network-scripts on F29+ tap workers
network.service isn't in initscripts any more.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-12-14 16:19:23 -08:00
Adam Williamson
c69c2fd485 openqa/relvalconsumer: fix all other dnf loop cases to use lists
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-10-09 13:50:39 -07:00
Adam Williamson
9a7dc2b145 openqa: Add libsemanage-python to worker createhdds packages
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-06-11 15:01:41 -07:00
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
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
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
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
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
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
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
Kevin Fenzi
b1a2d105c9 In ansible 2.2 always_run is depreciated. Switch to check_mode. 2016-11-01 16:29:49 +00:00
Adam Williamson
04914d545f openqa/worker: use distro edk2 package 2016-10-26 14:15:50 -07:00
Adam Williamson
84e52adf10 openqa: need openqa/os-autoinst from updates-testing ATM 2016-07-05 12:09:01 -07:00
Adam Williamson
de64bbf198 openqa/worker: tap workers have default classes too
we don't want these workers to *only* run tap tests, so put the
default classes into their WORKER_CLASS too.
2016-05-05 14:47:56 -07:00
Adam Williamson
6c3f5bbfc6 openqa/worker: move tap-specific packages to tap-setup 2016-05-05 14:15:13 -07:00
Adam Williamson
b0b7dc9b47 openqa/worker: give up on GRE, single tap host instead
OK, this GRE crap ain't working. Let's give up! Instead let's
have one tap-capable host per openQA deployment, so all the
tap jobs will go to it. This...should achieve that. Let's see
what blows up.
2016-05-05 14:10:46 -07:00
Adam Williamson
5503e325e1 move qa06 to stg workers
we have a big mismatch between prod and stg atm (stg has 4
workers, prod has 18). let's make it 14 vs. 8 and also give
stg two worker hosts so we can test multi-worker-host scenarios
2016-05-05 13:32:43 -07:00
Adam Williamson
fa7d2529fa openqa/worker: enable STP on bridge
I think we'll need this to avoid routing loops with the tunnels.
2016-05-05 13:17:47 -07:00
Adam Williamson
5ddbf54811 openqa/worker: oh ok, probably this
duh quotes are hard
2016-05-05 11:22:42 -07:00
Adam Williamson
4ec8d3f50a openqa/worker - okay maybe this? WHO KNOWS LET'S SEE
watch the pretty pretty fireworks
2016-05-05 11:18:21 -07:00
Adam Williamson
d3ec93d503 openqa/worker: try and fix the group loop... 2016-05-05 10:38:31 -07:00
Adam Williamson
7a37862fbc openqa/worker: try setting up GRE tunnels between worker hosts
everyone stand back, this one's gonna go boom.
2016-05-05 10:32:57 -07:00
Adam Williamson
5e2f2cc32f openqa/worker: change a couple of task names a bit 2016-04-27 21:19:21 -07:00
Adam Williamson
1ed4fa2e31 openqa/worker: drop (I think) unnecessary bridge status check
I think the notify restart of network.service should deal with
this on first deployment, so get rid of it.
2016-04-27 21:17:16 -07:00
Adam Williamson
5e296b4b4a openqa/worker: deal with eth1 as well 2016-04-27 19:34:24 -07:00
Adam Williamson
b39bd6b355 openqa/worker: sigh, fix up the stat stuff 2016-04-27 19:23:21 -07:00
Adam Williamson
823e5fe387 openqa/worker: OK, try *this* to deal with ifcfg-usb0
srsly, fml
2016-04-27 19:20:52 -07:00
Adam Williamson
c1c1827048 openqa/worker: enable network.service and ipv4 forwarding
NetworkManager entirely ignores the openvswitch devices, the
integration only works with network.service. So turn it on.
Apparently we can have both services enabled and things don't
explode...so far...
2016-04-27 19:07:53 -07:00
Adam Williamson
b4088ec892 openqa/worker put ifup-pre-local in the right place, duh 2016-04-27 15:48:31 -07:00
Adam Williamson
9ce401e74d use an ifup-pre-local for tap device creation
holy crap, this is some ancient magic.
2016-04-27 15:46:13 -07:00
Adam Williamson
247e9411dc openqa/worker: we need tunctl 2016-04-27 14:12:06 -07:00