Commit Graph

32 Commits

Author SHA1 Message Date
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
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
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
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
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
Adam Williamson
b659074991 openqa/worker: handle bringing up bridge and creating taps 2016-04-27 14:10:44 -07:00
Adam Williamson
48291f1640 openqa/worker: initial attempt at openvswitch config
this is highly experimental and for deployment only to stg at
present...I have this stuff working on happyassassin, now trying
to translate it to stg.
2016-04-27 13:32:56 -07:00
Adam Williamson
ca0e747c8d openqa: drop some stray enablerepos for the old COPR
the COPR stuff is long gone so these weren't doing anything,
they just got left around by accident.
2016-04-13 08:35:00 -07:00
Adam Williamson
7eacf03ebc drop use of COPR for openQA
all required packages except openqa itself are now in main repo,
openqa is in infra repo.
2016-02-15 16:16:19 -08:00
Adam Williamson
78755e7a36 openqa: enable openQA-stg COPR on staging hosts 2016-01-15 17:33:30 -08:00
Adam Williamson
99837afe73 openqa workers: install UEFI firmware package
This comes from the kraxel.org repo and was added to the infra
repo by nirik. Note that it is technically non-freely licensed.
It contains a FAT implementation; Microsoft has granted an
exemption from the FAT patent purely for the purpose of
implementing a UEFI firmware, so there is a use restriction on
this code. License can be found (as I write this) at:

https://github.com/tianocore/edk2/blob/master/FatBinPkg/License.txt
2015-11-26 14:34:21 -08:00
Adam Williamson
2b098b34bd set up for openQA deployment
This adds openQA server, worker and dispatcher roles, and
applies them to the appropriate hosts. A few secret vars are
required. See trac #4958 for discussion.
2015-11-13 09:49:00 -08:00