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
Adam Williamson
851e93ef6d
Drop 'remove old manual install' steps that served their purpose
2017-03-06 16:42:36 -08:00
Adam Williamson
c32e278190
Switch from git checkout to packaged install of openqa_client
...
In check-compose and openqa/dispatcher roles, now it's packaged.
2017-03-06 16:35:18 -08:00
Adam Williamson
518ff32b8d
openqa/server: enable update test restart plugin on prod
...
Seems to be working fine in staging, so let's do it.
2017-03-04 15:36:13 -08:00
Adam Williamson
167376f451
openqa/server: fix one of the git checkout conditions
2017-03-04 15:35:02 -08:00
Adam Williamson
a412d4f47c
openqa: install the 'update restarter' plugin, enable on stg
...
For now, just enable this on staging to check it works okay.
2017-03-01 13:36:06 -08:00
Adam Williamson
5f15217f0a
openqa/server: load the update test templates
...
Forgot these were in a separate file...
2017-02-28 09:41:32 -08:00
Adam Williamson
f78d015cf4
openqa/dispatcher: update respin cronjob for new scheduler name
...
The scheduler binary name changed from 'fedora-openqa-schedule'
to 'fedora-openqa', but I forgot to update the call in this
cronjob. Oops.
2017-02-22 11:56:53 -08:00
Adam Williamson
a3d10b591d
openQA roles: use python2-fedfind not fedfind
...
I split the package, we don't need the CLI, only the lib.
2017-02-18 16:59:52 -08:00
Adam Williamson
2b041d9cfd
openqa/dispatcher: more config fixing
...
goddamnit, adam, why'd you make so many options.
2017-02-15 08:20:28 -08:00
Adam Williamson
7dd87e5a12
openqa/dispatcher: fix schedule.conf again
...
gah, section names.
2017-02-14 23:30:09 -08:00
Adam Williamson
369c00eb80
openqa/dispatcher: use 'localhost' as oqa hostname in infra
2017-02-14 23:05:55 -08:00
Adam Williamson
fff2dddf8f
openqa/dispatcher: tweak template logic a bit
2017-02-14 17:08:09 -08:00
Adam Williamson
cc95c6482b
openqa: update roles for openqa_fedora_tools repo split
...
We split fedora_openqa and createhdds out into their own repos,
this should adapt to the change (I hope).
2017-02-14 16:57:23 -08:00
Adam Williamson
8f32e86245
openqa/dispatcher: correct config for resultsdb reports
...
This is a bit sloppy and infra-specific ATM, but does the job.
I have a PR in for openqa_fedora_tools which changes the report
behaviour a bit, once that lands I'll clean this up somewhat
using variables.
2017-02-10 23:48:00 -08:00
Adam Williamson
9d7f1465ef
openqa/dispatcher: correct openQA URL for resultsdb links
2017-02-06 15:45:56 -08:00
Adam Williamson
704d214b43
openqa/dispatcher: enable ResultsDB reporter
2017-02-02 17:18:53 +01:00