summaryrefslogtreecommitdiffstats
path: root/roles/openqa/server
Commit message (Collapse)AuthorAgeFilesLines
* Whoops, == not =Adam Williamson2017-09-071-1/+1
| | | | Signed-off-by: Adam Williamson <awilliam@redhat.com>
* openqa/dispatcher: don't check out tests when locally modifiedAdam Williamson2017-09-071-1/+1
| | | | | | | 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>
* openqa/server: no root squash for rw access to factory shareAdam Williamson2017-08-171-1/+1
| | | | | Might be better to do this with some other account, but uh, for now...
* openqa/server: allow rw access to nfs share for ppc workersAdam Williamson2017-08-172-1/+2
| | | | | We need to create the ppc hard disk images from the ppc workers, so they need rw access to the share.
* openqa/server: *REALLY* fix the Apache status thingAdam Williamson2017-03-141-0/+6
| | | | OK, this version actually seems to work.
* Revert "openqa/server: try fixing the Apache status thing again"Adam Williamson2017-03-142-10/+3
| | | | | This reverts commit d6e32c9901c9f335a2fd2581dbaee1add9d1d9d0. It didn't work.
* openqa/server: try fixing the Apache status thing againAdam Williamson2017-03-142-3/+10
| | | | Seems like the config needs to be in the VirtualHost definition.
* openqa/server: Mostly revert previous commitAdam Williamson2017-03-141-11/+3
| | | | | | 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.
* Enable mod_status on openQA server boxesAdam Williamson2017-03-141-3/+11
| | | | This should stop collectd generating tons of 404 requests.
* openqa/server: check stdout not stderr for database creationAdam Williamson2017-03-071-1/+1
|
* openqa/server: allow createhdds to failAdam Williamson2017-03-071-0/+1
| | | | | | | | 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.
* openqa/server: remove a no-longer-needed workaroundAdam Williamson2017-03-071-5/+1
|
* openqa/server: enable update test restart plugin on prodAdam Williamson2017-03-041-3/+1
| | | | Seems to be working fine in staging, so let's do it.
* openqa/server: fix one of the git checkout conditionsAdam Williamson2017-03-041-1/+1
|
* openqa: install the 'update restarter' plugin, enable on stgAdam Williamson2017-03-012-2/+7
| | | | For now, just enable this on staging to check it works okay.
* openqa/server: load the update test templatesAdam Williamson2017-02-281-1/+6
| | | | Forgot these were in a separate file...
* openqa: update roles for openqa_fedora_tools repo splitAdam Williamson2017-02-142-6/+8
| | | | | We split fedora_openqa and createhdds out into their own repos, this should adapt to the change (I hope).
* openQA: install from stable for nowAdam Williamson2017-01-311-3/+6
| | | | | flippy flippy...u-t packages are untested, don't want them getting to stable.
* openQA: update name of default git branch for testsAdam Williamson2017-01-121-1/+1
| | | | Now it's master, not develop.
* Update some QA git repo locationsAdam Williamson2017-01-121-1/+1
| | | | We're moving stuff. Look out!
* openqa: handle 4.4-32 and 4.4-33 behaving differentlyAdam Williamson2016-12-201-2/+6
|
* In ansible 2.2 always_run is depreciated. Switch to check_mode.Kevin Fenzi2016-11-011-2/+2
|
* openqa: drop prod/stg variance for fixed asset locationAdam Williamson2016-10-243-9/+3
|
* openqa: adjust to new 'fixed' asset stuff on stagingAdam Williamson2016-10-193-3/+10
| | | | | | | | | The capability to handle a variance between prod and staging here is just temporary while I'm testing the new fixed asset handling stuff by deploying it on staging. Once it's tested and merged we'll just have prod and staging do the same thing. But for now we need to cleanly handle them having the static disk images in different places.
* openqa/server: only do createhdds when images are missingAdam Williamson2016-10-171-7/+6
| | | | | | | | | | | | | | | | | I've enhanced `createhdds check` to exit 1 if all images are present but some are old, and 2 if any images are missing. We use this to only create images if any are missing here in the play; we rely on the daily cron job to rebuild old images. This is kind of a band-aid for a weird issue on openqa01 where virt-install runs just don't seem to work properly after the box has been running for a while, so createhdds doesn't actually work and any playbook run gets hung up on it for a long time. This doesn't fix that, but does at least mean we can run the playbook without being bothered by it. To get createhdds to run properly and actually regenerate the outdated images, we have to reboot the system and run it right away, it seems to work fine right after the system boots up.
* openqa/server: don't check out tests when on non-standard branchAdam Williamson2016-09-061-3/+19
|
* openqa/server: drop templates patchingAdam Williamson2016-09-011-11/+1
| | | | | no longer needed since recent tweak to repository config in tests.
* drop no-longer-needed git workaround from openqa playsAdam Williamson2016-08-101-2/+0
|
* openqa: need openqa/os-autoinst from updates-testing ATMAdam Williamson2016-07-051-10/+8
|
* Add workaround for git module all around.Kevin Fenzi2016-07-051-0/+3
|
* openqa/server: adapt to virt-install createhddsAdam Williamson2016-07-041-1/+7
| | | | | | 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.
* openqa/server: ignore_errors in createhddsAdam Williamson2016-06-071-0/+5
| | | | | | 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
* openqa/server: set up a cron job to do createhdds dailyAdam Williamson2016-05-242-5/+9
| | | | | | | | | | | | | 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.
* openqa/server: hide asset download linksAdam Williamson2016-05-241-0/+1
| | | | | | | 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.
* openqa/server: create 'other' asset dirAdam Williamson2016-05-241-0/+1
| | | | without this, ARM tests do not run (phab T801)
* 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.
* openqa/server - restore a quote that went mysteriously missingAdam Williamson2016-04-081-1/+1
| | | | srsly, what the hell.
* openqa/server: fix template load for non-infraAdam Williamson2016-04-081-2/+7
| | | | | | 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...
* openqa/server: try enabling disk image generation, reduxAdam Williamson2016-03-311-7/+7
| | | | | rwmj has refreshed the i686 base image now, so let's try this again.
* openqa: u-t not needed, more generic compatibilityAdam Williamson2016-03-301-12/+19
| | | | | | | | | | | | 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.
* Revert "openqa/server: try turning disk image generation back on"Adam Williamson2016-03-301-7/+7
| | | | | | This reverts commit 9872fe3fc8e7b03b345a278b58a58982b0ccb266. Looks like the i686 base image hasn't been refreshed yet, so i686 image generation still fails. Curses!
* openqa/server: try turning disk image generation back onAdam Williamson2016-03-301-7/+7
| | | | | | | 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.
* openqa/server: disable hard disk image generation temporarilyAdam Williamson2016-03-231-7/+7
| | | | | https://bugzilla.redhat.com/show_bug.cgi?id=1320754 is messing it up. Disable for now so I can get other changes through.
* openqa/server: make geekotest static UID/GID optionalAdam Williamson2016-03-191-8/+9
| | | | | | | | 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.
* openqa_server: tweak the asset size changed_when a bitAdam Williamson2016-03-191-1/+1
| | | | | just in case we wind up with multiple job groups, this should be more correct.
* whoops, add a missing quoteAdam Williamson2016-03-191-1/+1
|
* openqa: allow specifying asset size limitAdam Williamson2016-03-191-0/+12
| | | | | | | 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...
* openqa/server: run createhdds with python3Adam Williamson2016-03-181-4/+5
| | | | | | | | | there seems to be a bug in python2-guestfs which causes the disk image with an updates.img file to be broken (the updates image is only 4096 bytes long and incomplete). When built with Python 3 the image seems to be fine. So, run the script with python3 (as its hashbang says) and ensure necessary packages are installed.
* openqa/server: whoops, gotta clean this tooAdam Williamson2016-03-101-2/+0
|
* clean up openqa/server a bit moreAdam Williamson2016-03-101-10/+1
| | | | | I'd like to revise this a bit to be usable outside infra again, but tomorrow...or later...