summaryrefslogtreecommitdiffstats
path: root/roles/openqa/worker
Commit message (Collapse)AuthorAgeFilesLines
* openqa/worker: add boot script to fix KVM perms and disable SMTAdam Williamson2017-09-153-0/+36
| | | | | | | | | | 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>
* openqa/worker: correct WORKER_CLASS for ppc64 tap workersAdam Williamson2017-08-211-0/+4
|
* openqa/worker: more packages for createhdds, set SMT settingAdam Williamson2017-08-181-0/+20
| | | | | | 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!
* openqa/worker: couple of createhdds fixupsAdam Williamson2017-08-171-0/+4
|
* Add the createhdds cronjob file to worker roleAdam Williamson2017-08-171-0/+4
|
* openqa/worker: do createhdds on ppc workerAdam Williamson2017-08-172-0/+44
| | | | | This is needed to create the ppc virt-install images (has to be done on a machine of compatible arch).
* openqa/worker: ed2k-ovmf doesn't exist on ppcAdam Williamson2017-07-251-1/+6
|
* Install git on openQA workers (RHBZ #1467086)Adam Williamson2017-07-251-0/+1
| | | | This will avoid some unnecessary error messages in logs.
* In ansible 2.2 always_run is depreciated. Switch to check_mode.Kevin Fenzi2016-11-011-2/+2
|
* openqa/worker: use distro edk2 packageAdam Williamson2016-10-261-1/+1
|
* openqa: need openqa/os-autoinst from updates-testing ATMAdam Williamson2016-07-051-1/+7
|
* openqa/worker: tap workers have default classes tooAdam Williamson2016-05-051-1/+1
| | | | | we don't want these workers to *only* run tap tests, so put the default classes into their WORKER_CLASS too.
* openqa/worker: move tap-specific packages to tap-setupAdam Williamson2016-05-052-2/+8
|
* openqa/worker: give up on GRE, single tap host insteadAdam Williamson2016-05-054-82/+67
| | | | | | | 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.
* move qa06 to stg workersAdam Williamson2016-05-051-1/+10
| | | | | | 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
* openqa/worker: enable STP on bridgeAdam Williamson2016-05-051-1/+1
| | | | I think we'll need this to avoid routing loops with the tunnels.
* openqa/worker: oh ok, probably thisAdam Williamson2016-05-051-1/+1
| | | | duh quotes are hard
* openqa/worker - okay maybe this? WHO KNOWS LET'S SEEAdam Williamson2016-05-051-1/+1
| | | | watch the pretty pretty fireworks
* openqa/worker: try and fix the group loop...Adam Williamson2016-05-051-1/+1
|
* openqa/worker: try setting up GRE tunnels between worker hostsAdam Williamson2016-05-052-0/+16
| | | | everyone stand back, this one's gonna go boom.
* openqa/worker: change a couple of task names a bitAdam Williamson2016-04-271-2/+2
|
* openqa/worker: drop (I think) unnecessary bridge status checkAdam Williamson2016-04-271-11/+0
| | | | | I think the notify restart of network.service should deal with this on first deployment, so get rid of it.
* openqa/worker: deal with eth1 as wellAdam Williamson2016-04-271-1/+16
|
* openqa/worker: sigh, fix up the stat stuffAdam Williamson2016-04-271-1/+4
|
* openqa/worker: OK, try *this* to deal with ifcfg-usb0Adam Williamson2016-04-271-0/+8
| | | | srsly, fml
* openqa/worker: enable network.service and ipv4 forwardingAdam Williamson2016-04-271-2/+8
| | | | | | | 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...
* openqa/worker put ifup-pre-local in the right place, duhAdam Williamson2016-04-271-1/+1
|
* use an ifup-pre-local for tap device creationAdam Williamson2016-04-273-4/+12
| | | | holy crap, this is some ancient magic.
* openqa/worker: we need tunctlAdam Williamson2016-04-271-0/+1
|
* openqa/worker: handle bringing up bridge and creating tapsAdam Williamson2016-04-271-1/+16
|
* openqa/worker: initial attempt at openvswitch configAdam Williamson2016-04-273-0/+40
| | | | | | 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.
* openqa: drop some stray enablerepos for the old COPRAdam Williamson2016-04-131-1/+1
| | | | | the COPR stuff is long gone so these weren't doing anything, they just got left around by accident.
* drop use of COPR for openQAAdam Williamson2016-02-151-20/+0
| | | | | all required packages except openqa itself are now in main repo, openqa is in infra repo.
* openqa: enable openQA-stg COPR on staging hostsAdam Williamson2016-01-151-0/+8
|
* openqa workers: install UEFI firmware packageAdam Williamson2015-11-261-0/+1
| | | | | | | | | | | 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
* openqa: we want openqa_hostname as a role *default* variableAdam Williamson2015-11-182-3/+0
| | | | | | | it seems variables in vars/main.yml are 'role variables' with a high precedence, while variables in defaults/main.yml are 'role default variables' with a low precedence. This could be made a hell of a lot clearer in the docs.
* openqa - debug openqa_hostname for workerAdam Williamson2015-11-181-0/+3
| | | | this isn't working right, why not?
* set up for openQA deploymentAdam Williamson2015-11-136-0/+86
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.