Commit Graph

112 Commits

Author SHA1 Message Date
Adam Williamson
8ef24ecd61 openqa/server: don't check out tests when on non-standard branch 2016-09-06 12:30:53 -07:00
Adam Williamson
900e8bba48 openqa/server: drop templates patching
no longer needed since recent tweak to repository config in
tests.
2016-09-01 10:49:55 -07:00
Adam Williamson
af9785c05f openqa/dispatcher: scheduler config write should restart fedmsg 2016-08-12 08:50:28 -07:00
Adam Williamson
887d4efe7b openqa/dispatcher: scheduler config file in the right damn place
...d'oh, one day i'll get this right
2016-08-11 23:43:33 -07:00
Adam Williamson
a3f6faa9f5 drop no-longer-needed git workaround from openqa plays 2016-08-10 12:06:41 -07:00
Adam Williamson
70df2395d2 openqa/dispatcher: update schedule.conf for scheduler changes
since resultsdb submission was added to the scheduler, we must
disable it here for now (as we don't want to use it yet), and
also update the name of the config directive that controls wiki
result submission.
2016-08-09 08:11:42 -07:00
Adam Williamson
60714971fd openqa/dispatcher: now needs python-resultsdb_api 2016-08-08 11:32:25 -07:00
Adam Williamson
84e52adf10 openqa: need openqa/os-autoinst from updates-testing ATM 2016-07-05 12:09:01 -07:00
Kevin Fenzi
2b4fac3ee1 Add workaround for git module all around. 2016-07-05 17:07:52 +00:00
Adam Williamson
0a9e60db32 openqa/server: adapt to virt-install createhdds
we need to install some additional packages for the revised
createhdds (but we no longer need pexpect), and ensure libvirtd
is running before running createhdds.
2016-07-04 09:37:05 -07:00
Kevin Fenzi
bb28b9213d Work around dnf bug 2016-06-27 15:04:15 +00:00
Adam Williamson
efc9eb4ccf openqa/server: ignore_errors in createhdds
it's not really fatal when it fails (except on first deployment)
and nothing else later depends on it, so we can go ahead and
continue the run even if it fails
2016-06-07 12:59:08 -07:00
Adam Williamson
ac35a48d8c openqa/server: set up a cron job to do createhdds daily
instead of just relying on it getting run when we do an
ansible run, since that's intermittent and it's annoying
when you want to do an ansible run and it sits there for
hours creating disk images. This way we'll know they'll
get updated regularly and ansible runs should never get
blocked on image creation, though we still do it in the
ansible plays just in case (and for initial deployment).
This should now be safe, with the recent changes to make it
time out gracefully and run atomically. We also use withlock
to make sure we don't stack jobs.
2016-05-24 11:38:46 -07:00
Adam Williamson
a0a335ed4d openqa/server: hide asset download links
this will only work with the new openqa package builds I just
did, but won't break anything with older ones. With a new enough
openQA package, it'll prevent the web UI from showing download
links for ISOs and HDD files.
2016-05-24 11:08:35 -07:00
Adam Williamson
a4dc1e0068 openqa/server: create 'other' asset dir
without this, ARM tests do not run (phab T801)
2016-05-24 10:14:02 -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
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
55d6ada0f9 openqa/server - restore a quote that went mysteriously missing
srsly, what the hell.
2016-04-08 16:38:54 -07:00
Adam Williamson
1e71112e09 openqa/server: fix template load for non-infra
I tweaked the playbook to not patch the templates for non-infra
deployments, but then forgot to make test loading work using
non-patched templates for non-infra...
2016-04-08 08:02:02 -07:00
Adam Williamson
f010264974 openqa/server: try enabling disk image generation, redux
rwmj has refreshed the i686 base image now, so let's try this
again.
2016-03-31 05:56:15 -07:00
Adam Williamson
bafd415395 openqa/dispatcher: stupid typo template fix 2016-03-30 17:20:01 -07:00
Adam Williamson
1ef512244d openqa: u-t not needed, more generic compatibility
necessary updates for openqa roles have gone stable for now, so
disable updates-testing usage (keep the plays around commented,
though, since we'll likely need them again in future). Also, a
bit more attempted support for non-infra use: make the monkey
patching of the repo URLs in the test templates only happen if
deployment_type is defined, actually respect the openqa_consumer
var (don't enable the job scheduling consumer unless it's truey)
and only enable any wiki reporting consumer if deployment_type
is defined.
2016-03-30 17:13:57 -07:00
Adam Williamson
8384d1a7a2 Revert "openqa/server: try turning disk image generation back on"
This reverts commit 9872fe3fc8.
Looks like the i686 base image hasn't been refreshed yet, so
i686 image generation still fails. Curses!
2016-03-30 17:02:55 -07:00
Adam Williamson
9872fe3fc8 openqa/server: try turning disk image generation back on
rwmjones says the guestfs / rpm bug has been fixed (a new base
fedora-23 image has been uploaded which should avoid it, anyway)
so let's try turning disk image generation back on and see how
it flies.
2016-03-30 15:55:43 -07:00
Adam Williamson
e265e90c0d openqa/server: disable hard disk image generation temporarily
https://bugzilla.redhat.com/show_bug.cgi?id=1320754 is messing
it up. Disable for now so I can get other changes through.
2016-03-23 17:13:36 -07:00
Adam Williamson
1182e950b2 hmm, jinja indents with nested ifs seem weird. try this? 2016-03-21 09:32:09 -07:00
Adam Williamson
605fc80786 openqa_dispatcher: enable fedmsg-based result wiki reporting
...by extending the fedmsg consumer config file. Requires the
latest openqa_fedora_tools to work.
2016-03-21 09:10:47 -07:00
Adam Williamson
f4133798f6 openqa/server: make geekotest static UID/GID optional
I'm still kinda trying to make the openqa roles usable outside
of infra, so now I have a minute, let's do this: it makes the
static UID/GID for geekotest optional and configurable, instead
of hard coding it. For infra we set the value to 601, as we
are already using, in the openqa and openqa-stg group config.
2016-03-19 16:28:09 -07:00
Adam Williamson
461aac031c openqa_server: tweak the asset size changed_when a bit
just in case we wind up with multiple job groups, this should
be more correct.
2016-03-19 16:14:03 -07:00
Adam Williamson
2bbac61464 whoops, add a missing quote 2016-03-19 16:10:14 -07:00
Adam Williamson
cb7bfcb614 openqa: allow specifying asset size limit
this is a database value and there's no openQA API function to
set it, so we have to do it directly in the database...this
*should* work. I think. I should add equivalent functionality
for sqlite use as well, really...
2016-03-19 16:09:20 -07:00